* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #222;
    background: radial-gradient(circle at 12% 88%, rgba(163,230,161,0.55), transparent 55%),
                linear-gradient(135deg, #0b6e63 0%, #129c8c 48%, #34b378 100%);
    background-attachment: fixed;
}
.navbar {
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.navbar a { color: #fff; opacity: 0.9; }
.navbar a:hover { opacity: 1; }
.brand { font-weight: bold; font-size: 1.15em; letter-spacing: 0.02em; }

.container { max-width: 1000px; margin: 24px auto; padding: 0 16px; }
.container-narrow { max-width: 480px; }

.page-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

.auth-box {
    max-width: 400px;
    margin: 80px auto;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 34px;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.auth-box h2 { margin-top: 0; }
.auth-box label { color: rgba(255,255,255,0.9) !important; }
.subtitle { color: rgba(255,255,255,0.8); margin-top: -8px; }

.card {
    background: #fff;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    margin-bottom: 20px;
}

form label { display: block; margin-top: 12px; font-weight: 600; font-size: 0.92em; }
form input, form select, form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-top: 4px;
    border: 1px solid #dbe2e8;
    border-radius: 12px;
    font-size: 1em;
    font-family: inherit;
    background: #fff;
}
form button {
    margin-top: 18px;
    background: #1c2733;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 9999px;
    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
form button:hover { background: #2a3947; }

.btn, .button {
    display: inline-block;
    background: #1c2733;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.btn:hover, .button:hover { background: #2a3947; }

.btn-sm {
    display: inline-block;
    background: #1c2733;
    color: #fff !important;
    padding: 5px 12px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.82em;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 2px 4px 2px 0;
}
.btn-sm:hover { background: #2a3947; }
.btn-sm.btn-danger { background: #a33; }
.btn-sm.btn-danger:hover { background: #7a2626; }

.table { width: 100%; border-collapse: collapse; background: #fff; margin-bottom: 28px; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,0.1); }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eef0f2; font-size: 0.94em; vertical-align: top; }
.table th { background: #e6f4ef; }
.table .row-warn { background: #fff8e6; }
.table .row-danger { background: #fdecec; }

.badge { padding: 3px 9px; border-radius: 20px; font-size: 0.82em; color: #fff; white-space: nowrap; }
.badge-ok { background: #0f9d68; }
.badge-warn { background: #d98a1f; }
.badge-done { background: #2f6fae; }

.alert { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; }
.alert-error { background: #fdecec; color: #a33; }
.alert-success { background: #e9f8ef; color: #227a4b; }
.alert-info { background: #eaf2fb; color: #2a5f9e; }

h2 { color: #fff; }
.card h2, .card h3 { color: #1c2733; }

