@import url('https://fonts.googleapis.com/css2?family=Hind+Vadodara:wght@400;500;600;700;900&family=Noto+Serif+Gujarati:wght@700;900&display=swap');

:root {
    --primary: #1a365d;
    --primary-light: #2b6cb0;
    --accent: #ff9933;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #c53030;
    --info: #008080;
    --bg-light: #f4f7fe;
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

* {
    font-family: 'Hind Vadodara', 'Shruti', Arial, sans-serif !important;
}

body {
    background-color: var(--bg-light);
    color: #2d3748;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-wrapper {
    flex: 1;
}

/* Modern Header & Navbar */
.navbar-custom {
    background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
    border-bottom: 3px solid #ff9933;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1045;
}

.navbar-custom .dropdown-menu {
    z-index: 1055 !important;
}

.navbar-brand-text {
    font-family: 'Noto Serif Gujarati', serif !important;
    font-size: 24px;
    font-weight: 900;
    color: #ffd700 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.nav-link-custom {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    margin: 0 5px;
    border-radius: 6px;
    padding: 8px 12px !important;
    transition: all 0.2s ease;
}

.nav-link-custom:hover, .nav-link-custom.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffd700 !important;
}



/* Child-Friendly Action Cards */
.action-card {
    background: #ffffff;
    border-radius: 14px;
    border: none;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.action-card .card-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.badge-gujarati {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 12px;
}

/* Custom Buttons */
.btn-gujarat {
    background: linear-gradient(135deg, #1a365d, #2b6cb0);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.btn-gujarat:hover {
    background: linear-gradient(135deg, #0f2442, #1a365d);
    color: #ffd700;
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, #ff9933, #d35400);
    color: white;
    font-weight: 700;
    border: none;
}

.btn-accent:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #d35400, #b03a2e);
}

/* Form Styles */
.form-label-custom {
    font-weight: 700;
    color: #1a365d;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-control-custom, .form-select-custom {
    border: 1.5px solid #cbd5e0;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 15px;
    transition: border 0.2s ease;
}

.form-control-custom:focus, .form-select-custom:focus {
    border-color: #2b6cb0;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.2);
}

/* Section Box Headers */
.section-header-box {
    background: linear-gradient(135deg, #eef2f7, #e2e8f0);
    border-left: 6px solid var(--primary);
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary);
    font-size: 17px;
}

/* Table Design */
.table-custom {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.table-custom th {
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    border: none;
    padding: 12px 8px;
}

.table-custom td {
    vertical-align: middle;
    text-align: center;
    padding: 10px 8px;
    border-bottom: 1px solid #e2e8f0;
}

/* Modals */
.modal-header-custom {
    background: var(--primary);
    color: white;
}

.modal-header-custom .btn-close {
    filter: invert(1);
}

/* Purple Button */
.btn-purple {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.btn-purple:hover {
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Teal Info button */
.btn-teal {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.btn-teal:hover {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive utilities */
@media (max-width: 768px) {
    .navbar-brand-text {
        font-size: 18px;
    }
    .action-card .card-icon {
        font-size: 32px;
    }
}

/* Print */
@media print {
    .hide-on-print {
        display: none !important;
    }
    .page-container {
        box-shadow: none !important;
        border: 6px double #000 !important;
    }
}

/* Fix Bootstrap Dropdown clipping inside responsive tables */
.table-responsive {
    overflow-x: auto !important;
    overflow-y: visible !important;
}
.table-responsive .dropdown-menu {
    z-index: 1050 !important;
}

