body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #f3f8ff 0%, #eef6ff 100%);
    color: #16324f;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.auth-card {
    width: min(100%, 460px);
    background: #ffffff;
    border: 1px solid #dce9ff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(13, 71, 161, 0.12);
    padding: 32px;
}

.page-shell {
    padding: 24px 20px 40px;
    box-sizing: border-box;
}

h1, h2 {
    color: #0b5ed7;
    margin-top: 0;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    background: #0b5ed7;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

nav a:hover {
    text-decoration: underline;
}

section,
.panel,
.card {
    background: #ffffff;
    border: 1px solid #dce9ff;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.07);
}

form {
    display: grid;
    gap: 12px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #23425d;
}

input,
select,
textarea,
button {
    font: inherit;
    border-radius: 8px;
    border: 1px solid #c9dfff;
    padding: 10px 12px;
    box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0b5ed7;
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.15);
}

button {
    background: #0b5ed7;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

button:hover {
    background: #084aad;
}

button.secondary {
    background: #e8f2ff;
    color: #0b5ed7;
    border: 1px solid #b8d3ff;
}

button.secondary:hover {
    background: #dcecff;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

th {
    background: #0b5ed7;
    color: #ffffff;
    text-align: left;
    padding: 10px 12px;
}

td {
    padding: 10px 12px;
    border-bottom: 1px solid #e7f0ff;
}

tr:hover {
    background: #f6faff;
}

.message-error {
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #f3c8bf;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 16px;
}

.message-success {
    color: #027a48;
    background: #ecfdf3;
    border: 1px solid #a8e0c0;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 16px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-admin {
    background: #e8f2ff;
    color: #0b5ed7;
}

.badge-user {
    background: #eef2f7;
    color: #4b5563;
}
