*, *::before, *::after { box-sizing: border-box; }

/*  Base  */
body {
    margin: 0;
    background: linear-gradient(135deg, #111118, #2a2a40);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f0f0f0;
}

/*  Navbar  */
.navbar {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar h1 { margin: 0; font-size: 20px; font-weight: 500; color: #00ffcc; }

.back-btn {
    color: #f0f0f0;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 6px;
    transition: 0.2s;
    font-size: 14px;
}
.back-btn:hover { background: rgba(255,255,255,0.08); }

.logout-btn {
    color: #ff4d4d;
    text-decoration: none;
    border: 1px solid #ff4d4d;
    padding: 8px 16px;
    border-radius: 6px;
    transition: 0.2s;
}
.logout-btn:hover { background: rgba(255,77,77,0.1); }

/*  Layout  */
.container { padding: 40px; margin: 0 auto; }

/*  Glass panels  */
.glass-panel, .glass {
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/*  Headings  */
h2 { color: #00ffcc; font-weight: 500; margin-top: 0; }
h3 { color: #00ffcc; font-weight: 500; margin-top: 0; }

/*  Forms ─ */
label { display: block; margin-bottom: 7px; color: #aaa; font-size: 14px; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s;
}
input:focus, select:focus, textarea:focus {
    border-color: #00ffcc;
    background: rgba(255,255,255,0.08);
}
select option { background: #2a2a40; color: #fff; }
textarea { resize: vertical; line-height: 1.6; }

.form-group { margin-bottom: 20px; }

/* Keep the password reset email and code fields consistent with verification forms. */
.reset-card input[type="email"],
.reset-card input[inputmode="numeric"] {
    display: block;
    width: 100%;
    min-height: 46px;
    margin: 0 0 16px;
    padding: 11px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    color: #fff;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.reset-card input[type="email"]:focus,
.reset-card input[inputmode="numeric"]:focus {
    border-color: #00ffcc;
    background: rgba(255,255,255,0.08);
}
.reset-card input[type="email"]:read-only {
    color: #ddd;
    background: rgba(255,255,255,0.035);
}
.reset-card input::placeholder { color: #888; }

/*  Buttons */
.btn-submit, .btn-save {
    width: 100%;
    padding: 14px;
    background: #00ffcc;
    border: none;
    border-radius: 8px;
    color: #111118;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}
.btn-submit:hover, .btn-save:hover {
    background: #00e6b8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,255,204,0.3);
}

/*  Alerts  */
.alert-success, .alert-s {
    background: rgba(0,255,204,0.08);
    border: 1px solid rgba(0,255,204,0.3);
    color: #00ffcc;
    padding: 13px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-error, .alert-e {
    background: rgba(255,77,77,0.08);
    border: 1px solid rgba(255,77,77,0.3);
    color: #ff6b6b;
    padding: 13px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

/*  Badges  */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}
.badge-scheduled  { background: rgba(0,255,204,0.1);    color: #00ffcc; border: 1px solid rgba(0,255,204,0.3); }
.badge-completed  { background: rgba(255,255,255,0.08); color: #888;    border: 1px solid rgba(255,255,255,0.15); }
.badge-cancelled  { background: rgba(255,77,77,0.1);    color: #ff6b6b; border: 1px solid rgba(255,77,77,0.3); }
.badge-rescheduled{ background: rgba(167,139,250,0.1);  color: #a78bfa; border: 1px solid rgba(167,139,250,0.3); }
.badge-pending    { background: rgba(255,153,0,0.1);    color: #ff9900; border: 1px solid rgba(255,153,0,0.3); }
.badge-approved   { background: rgba(0,255,204,0.1);    color: #00ffcc; border: 1px solid rgba(0,255,204,0.3); }
.badge-rejected   { background: rgba(255,77,77,0.1);    color: #ff6b6b; border: 1px solid rgba(255,77,77,0.3); }
.badge-reschedule { background: rgba(167,139,250,0.1);  color: #a78bfa; border: 1px solid rgba(167,139,250,0.3); }
.badge-cancel     { background: rgba(255,77,77,0.1);    color: #ff6b6b; border: 1px solid rgba(255,77,77,0.3); }
.badge-yes        { background: rgba(0,255,204,0.12);   color: #00ffcc; border: 1px solid rgba(0,255,204,0.3); }
.badge-no         { background: rgba(255,77,77,0.12);   color: #ff6b6b; border: 1px solid rgba(255,77,77,0.3); }

/*  Tables  */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 14px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 14px; }
th { color: #00ffcc; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }

/*  Empty states  */
.empty, .empty-state { text-align: center; color: #444; padding: 30px; font-size: 14px; }
