/* ==========================================================================
   Pushkarnabandhu - Divine Theme & Design System (Matching Home Page)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;800;900&family=Hind:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-hindi: 'Hind', sans-serif;

    /* Divine Color Tokens */
    --divine-gold: #f59e0b;
    --divine-gold-dark: #d97706;
    --divine-gold-light: #fef3c7;
    --saffron-red: #dc2626;
    --saffron-orange: #ea580c;
    --royal-indigo: #1e1b4b;
    --royal-purple: #312e81;

    --primary-indigo: #f59e0b; /* Map legacy primary to Divine Gold */
    --primary-hover: #d97706;
    --primary-light: #fef3c7;
    --accent-blue: #2563eb;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #dc2626;
    
    --bg-main: #fffcf8;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --border-light: rgba(245, 158, 11, 0.2);
    --border-glass: rgba(245, 158, 11, 0.3);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 12px rgba(245, 158, 11, 0.08);
    --shadow-lg: 0 10px 25px -5px rgba(245, 158, 11, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 35px -10px rgba(245, 158, 11, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

.hindi-text {
    font-family: var(--font-hindi);
}

h1, h2, h3, h4, h5, h6, .card-title {
    font-family: var(--font-heading) !important;
    letter-spacing: -0.01em;
}

/* Glassmorphic Divine Navbar */
.navbar-premium {
    background: rgba(15, 23, 42, 0.94) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(245, 158, 11, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 12px 0;
}

.navbar-premium .navbar-brand {
    font-family: var(--font-hindi);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon-sacred {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Cards & Containers */
.card-premium {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card-premium:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(245, 158, 11, 0.4);
}

.card-header-premium {
    background: linear-gradient(135deg, #fffcf8 0%, #fef3c7 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header-premium .title {
    font-family: var(--font-heading) !important;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Forms & Inputs */
.form-control-premium, .form-select-premium {
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.form-control-premium:focus, .form-select-premium:focus {
    border-color: var(--divine-gold);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
    outline: none;
}

.form-label-premium {
    font-weight: 600;
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 6px;
}

/* Buttons */
.btn-dark-divine {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
    color: #f59e0b !important;
    border: 1.5px solid rgba(245, 158, 11, 0.6) !important;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.4);
    transition: all 0.2s ease;
}

.btn-dark-divine:hover {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%) !important;
    color: #ffffff !important;
    border-color: #f59e0b !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-indigo, .btn-divine-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--radius-md);
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
    transition: all 0.2s ease;
}

.btn-indigo:hover, .btn-divine-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, #d97706 0%, #b91c1c 100%) !important;
}

.btn-gradient-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #ffffff !important;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    transition: all 0.2s ease;
}

.btn-pill {
    border-radius: var(--radius-full) !important;
}

/* Status Badges */
.badge-pill-indigo {
    background-color: #fef3c7;
    color: #92400e;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

.badge-pill-emerald {
    background-color: #d1fae5;
    color: #065f46;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

.badge-pill-amber {
    background-color: #fef3c7;
    color: #b45309;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Metric / Quick Stats Card */
.stat-card-premium {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 22px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
}

.stat-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--divine-gold);
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.stat-icon-wrapper.icon-indigo { background: linear-gradient(135deg, #f59e0b, #dc2626); }
.stat-icon-wrapper.icon-emerald { background: linear-gradient(135deg, #10b981, #059669); }
.stat-icon-wrapper.icon-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stat-icon-wrapper.icon-rose { background: linear-gradient(135deg, #dc2626, #b91c1c); }

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Table Design */
.table-premium {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table-premium thead th {
    background: #fef3c7;
    color: #78350f;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
}

.table-premium tbody td {
    padding: 16px 18px;
    vertical-align: middle;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.2s ease;
}

.table-premium tbody tr:hover td {
    background: #fffcf8;
}

/* Glass Card for Login */
.login-glass-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 24px;
    padding: 45px 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.brand-badge-divine {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.4);
}
