/* Government of Maharashtra - Nanded Exam Inspection System */

:root {
    --saffron: #FF9933;
    --india-green: #138808;
    --navy: #0a2540;
    --gov-blue: #1a3a6b;
    --light-bg: #f4f6f9;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.gov-topbar {
    background: linear-gradient(90deg, #FF9933 0%, #FFFFFF 40%, #FFFFFF 60%, #138808 100%);
    background: var(--navy);
    border-bottom: 3px solid var(--saffron);
}

.gov-navbar {
    background-color: var(--gov-blue) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.gov-footer {
    background-color: var(--navy);
    margin-top: auto;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border-radius: 8px;
}

.card-header {
    background: linear-gradient(135deg, var(--gov-blue), #2a4a7b);
    color: white;
    font-weight: 600;
    border-radius: 8px 8px 0 0 !important;
}

/* Form styling */
.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gov-blue);
    box-shadow: 0 0 0 0.2rem rgba(26, 58, 107, 0.25);
}

/* Required asterisk */
.required::after {
    content: " *";
    color: #dc3545;
}

/* Stats cards */
.stat-card {
    border-left: 4px solid var(--gov-blue);
    transition: transform 0.15s;
}
.stat-card:hover {
    transform: translateY(-2px);
}

/* Table */
.table thead th {
    background-color: var(--gov-blue);
    color: white;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
}

.table-sm td, .table-sm th {
    vertical-align: middle;
}

/* Badges */
.badge-status-draft { background-color: #6c757d; }
.badge-status-submitted { background-color: #0d6efd; }
.badge-status-verified { background-color: #198754; }
.badge-status-rejected { background-color: #dc3545; }

/* Buttons */
.btn-gov {
    background-color: var(--gov-blue);
    border-color: var(--gov-blue);
    color: white;
}
.btn-gov:hover {
    background-color: #0f2a50;
    border-color: #0f2a50;
    color: white;
}

/* Room capacity table */
#roomsTable input {
    max-width: 100px;
}

/* Staff section */
.staff-section {
    border: 1px dashed #ced4da;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fafbfc;
}

/* Print friendly */
@media print {
    .gov-topbar, .gov-navbar, .gov-footer, .no-print {
        display: none !important;
    }
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
