/**
 * HUSNA UAE Registration Portal - Admin Stylesheet
 */

:root {
    --admin-primary: #0F766E;
    --admin-primary-dark: #115E59;
    --admin-bg: #F1F5F9;
    --admin-card: #FFFFFF;
    --admin-border: #E2E8F0;
    --admin-text: #1E293B;
    --admin-muted: #64748B;
}

body.admin-body {
    background-color: var(--admin-bg);
    font-family: 'Inter', sans-serif;
    color: var(--admin-text);
    min-height: 100vh;
}

.admin-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--admin-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--admin-primary);
    text-decoration: none;
}

.stat-card {
    background: #FFFFFF;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.stat-icon.teal { background: #CCFBF1; color: #0F766E; }
.stat-icon.blue { background: #DBEAFE; color: #2563EB; }
.stat-icon.amber { background: #FEF3C7; color: #D97706; }
.stat-icon.emerald { background: #D1FAE5; color: #059669; }
.stat-icon.purple { background: #F3E8FF; color: #7E22CE; }

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--admin-text);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--admin-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-card {
    background: #FFFFFF;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.admin-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--admin-border);
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-table {
    margin-bottom: 0;
}

.admin-table th {
    background: #F8FAFC;
    color: var(--admin-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 1px solid var(--admin-border);
}

.admin-table td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.92rem;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.confirmed { background: #D1FAE5; color: #065F46; }
.status-badge.attended { background: #DBEAFE; color: #1E40AF; }
.status-badge.cancelled { background: #FEE2E2; color: #991B1B; }
.status-badge.waitlisted { background: #FEF3C7; color: #92400E; }
