body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #eef1f5;
    margin: 0;
    padding: 20px;
    color: #333;
}

.header {
    text-align: center;
    margin-bottom: 25px;
}

.logo {
    width: 80px;
    margin-bottom: 10px;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
}

.menu button {
    padding: 12px 18px;
    background: #b49fff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.menu button:hover {
    background: #9c76ff;
    transform: translateY(-2px);
}

.menu .exit {
    background: #d9534f;
}

.menu .exit:hover {
    background: #b52b27;
}

.form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 450px;
    margin: 0 auto 25px auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.form label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.form input {
    width: 100%;
    padding: 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.form button {
    width: 100%;
    padding: 12px;
    background: #28a745;
    color: white;
    border: none;
    margin-top: 5px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.form button:hover {
    background: #1f7e34;
    transform: translateY(-2px);
}

.hidden {
    display: none;
}

#output {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

th {
    background: #007bff;
    color: white;
    text-align: left;
}

tr:nth-child(even) {
    background: #f2f2f2;
}
