:root {
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    background: #f1f5f9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 2rem;
    background: #f1f5f9;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.1);
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}

form {
    display: grid;
    gap: 1rem;
}

label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

input,
select {
    padding: 0.75rem;
    border: 1px solid #cbd5f5;
    border-radius: 8px;
    font-size: 1rem;
}

input[readonly] {
    background: #f8fafc;
    cursor: not-allowed;
}

button,
.logout {
    background: #0ea5e9;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

button:hover,
.logout:hover {
    background: #0284c7;
}

.error {
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fecaca;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.error li {
    margin-left: 1rem;
}

.success {
    color: #0f766e;
    background: #ccfbf1;
    border: 1px solid #99f6e4;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
}

table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #475569;
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    .top-bar {
        flex-direction: column;
        gap: 1rem;
    }
}
