body {
    background: #f4f7fb;
    color: #1f2937;
    font-family: "Segoe UI", Arial, sans-serif;
}

.admin-shell {
    padding: 24px 0 40px;
}

.admin-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
    padding: 24px;
}

.admin-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
}

.admin-subtitle {
    color: #64748b;
    margin: 0 0 24px;
}

.admin-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.admin-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-links a,
.btn-primary {
    background: #154985;
    border: 0;
    border-radius: 10px;
    color: #fff;
    display: inline-block;
    padding: 10px 16px;
    text-decoration: none;
}

.admin-links a i,
.admin-title i,
.stat-box i {
    margin-right: 6px;
}

.admin-links a.secondary,
.btn-secondary {
    background: #e2e8f0;
    color: #0f172a;
}

.stat-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-box {
    background: linear-gradient(135deg, #154985, #0c2f59);
    border-radius: 14px;
    color: #fff;
    position: relative;
    padding: 18px;
}

.stat-box__icon {
    font-size: 22px;
    opacity: 0.8;
    position: absolute;
    right: 18px;
    top: 16px;
}

.stat-box h3 {
    font-size: 13px;
    letter-spacing: 0.04em;
    margin: 0 0 8px;
    opacity: 0.85;
    text-transform: uppercase;
}

.stat-box p {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

.admin-card h2 i {
    color: #154985;
    margin-right: 8px;
}

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

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

table.admin-table th,
table.admin-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
}

table.admin-table th {
    color: #475569;
    font-size: 12px;
    text-transform: uppercase;
}

.status-pill {
    background: #dbeafe;
    border-radius: 999px;
    color: #154985;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
}

.form-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-control {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

textarea.form-control {
    min-height: 110px;
}

.flash {
    border-radius: 10px;
    margin-bottom: 16px;
    padding: 12px 14px;
}

.flash-success {
    background: #dcfce7;
    color: #166534;
}

.flash-danger {
    background: #fee2e2;
    color: #991b1b;
}

.flash-warning {
    background: #fef3c7;
    color: #92400e;
}

.login-shell {
    align-items: center;
    display: flex;
    min-height: 100vh;
}

.timeline {
    border-left: 3px solid #cbd5e1;
    margin-top: 16px;
    padding-left: 18px;
}

.timeline-item {
    margin-bottom: 18px;
    position: relative;
}

.timeline-item::before {
    background: #154985;
    border-radius: 50%;
    content: "";
    height: 12px;
    left: -25px;
    position: absolute;
    top: 6px;
    width: 12px;
}

.muted {
    color: #64748b;
}

.quick-notes {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 18px;
}

.quick-note {
    background: #fff;
    border-left: 4px solid #154985;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    padding: 14px 16px;
}

.quick-note i,
.live-label i {
    color: #16a34a;
    margin-right: 6px;
}

.danger-card {
    border: 1px solid #fecaca;
}

.live-label {
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    text-transform: uppercase;
}
