@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2&display=swap');
@import url('sidebar.css');

body {
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    background-color: #f0f1f3 !important;
}

* {


    text-decoration: none !important;
}

.card-title {
    background-color: #344352 !important;
}

.card-title-red {
    background-color: #ad0b1b !important;
}

.sidebar {
    background-color: #183153;
    height: 100vh;
    width: 270px;
}

.top-navbar {
    background-color: #183153 !important;
}

.top-navbar a {
    color: #fff !important;
}

.sidebar li {
    border-radius: 0 !important;
    transition: all 1s;
}





.content {
    width: 100%;
}

.table-header,
.table-footer,
.section-header {
    background-color: #183153 !important;
}



.title {
    /* background-color: #183153 !important; */
    color: #fff;
}

@media (max-width: 767px) {
    .sidebar {
        margin-right: -250px;
        position: absolute;
        min-height: 100vh;
        z-index: 1;
    }

    .sidebar.active {
        margin-right: 0px;
    }

    .close-btn,
    .show-sidebar {
        visibility: visible;
    }
}

.exams-section .nav-link.active {
    background: #183153 !important;
    color: #fff !important;
}

.exams-section .nav-link {
    color: #000 !important;
}


/* .btn {
    font-size: 10px !important;
} */

/* .page-item span  {
    color: #fff;
    background-color: #183153 !important;
    border: 1px solid #183153 !important;
    border-radius: 0px  !important;
    margin-left: 2px !important;
}

.page-item button{
    color: #183153 !important;
    border-radius: 0px  !important;
} */
@media print {

    /* Print styles go here */
    body {
        font-size: 11px;
        color: black;
        background-color: white !important;

        .print-landscape {
            @page {
                size: landscape
            }
        }
    }

    .badge-print {
        background-color: #000 !important;
        color: #fff !important;

    }

    .table tr td {
        background: white !important;
        border: 1px solid #000;
    }
}


/* vertical-tabs  */
/* Main container */
.vertical-tabs {
    display: flex;
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: none !important;
    background-color: #f3f4f6;
    height: 600px;
    margin: 50px auto;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

/* Dark mode styles */
.dark-mode .vertical-tabs {
    background-color: #1f2937;
    color: #fff;
    border-color: #374151;
}

/* Vertical tabs (left side) */
.nav-pills {
    flex: 0 0 250px;
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
    border-left: 1px solid #e5e7eb;
}

.dark-mode .nav-pills {
    background-color: #111827;
    border-color: #374151;
}

/* Tab links */
.nav-pills .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0 !important;
    padding: 12px 15px;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    border-right: 3px solid transparent;
}

.dark-mode .nav-pills .nav-link {
    background: transparent;
    color: #d1d5db;
}

/* Active tab */
.nav-pills .nav-link.active {
    background: #f3f4f6;
    color: #4f46e5;
    box-shadow: none !important;
    border-right-color: #4f46e5;
}

.dark-mode .nav-pills .nav-link.active {
    background: #374151;
    color: #60a5fa;
}

/* Hover effect for tabs */
.nav-pills .nav-link:hover:not(.active) {
    background: #f9fafb;
    color: #111827;
}

/* Content area (right side) */
.tab-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #fff;
    transition: all 0.3s ease;
}

.dark-mode .tab-content {
    background: #2c3e50;
    color: #fff;
}

/* Custom scrollbar */
.tab-content::-webkit-scrollbar {
    width: 8px;
}

.tab-content::-webkit-scrollbar-thumb {
    background: #764ba2;
    border-radius: 10px;
}

.tab-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.dark-mode .tab-content::-webkit-scrollbar-thumb {
    background: #1e3c72;
}

.dark-mode .tab-content::-webkit-scrollbar-track {
    background: #34495e;
}

/* Hide inactive tab content */
.tab-content .tab-pane {
    display: none;
}

/* Show active tab content */
.tab-content .tab-pane.active {
    display: block;
}

/* Content styling */
.tab-content h3 {
    color: #764ba2;
    margin-bottom: 20px;
}

.dark-mode .tab-content h3 {
    color: #fff;
}

.tab-content p {
    color: #555;
    line-height: 1.6;
}

.dark-mode .tab-content p {
    color: #ddd;
}


/* Dark mode toggle */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #764ba2;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    background: #667eea;
}

/* Collapsible tabs for mobile */
@media (max-width: 768px) {
    .nav-pills {
        position: fixed;
        top: 0;
        left: -250px;
        height: 100%;
        z-index: 1000;
        transition: left 0.3s ease;
    }

    .nav-pills.active {
        left: 0;
    }

    .toggle-tabs {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        background: #764ba2;
        color: #fff;
        border: none;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
        z-index: 1001;
    }

    .tab-content {
        margin-left: 0;
    }
}


/* Custom Modal Styles */
.modal-content {
    border: 1px solid #e5e7eb;
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: none !important;
}

.modal-header {
    background-color: #4f46e5;
    color: #fff;
    border-bottom: none;
    padding: 20px;
    border-radius: 0 !important;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: none;
    background: #f8f9fa;
    padding: 15px 20px;
}

/* Custom Button Styles */
.btn-primary {
    background: #4f46e5;
    border: none;
    padding: 10px 20px;
    border-radius: 0 !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #4338ca;
}

.btn-secondary {
    background: #6b7280;
    border: none;
    padding: 10px 20px;
    border-radius: 0 !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #4b5563;
}

/* Custom Close Button */
.btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
}


.div-responsive {
    overflow: auto;
    max-height: 250px;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid #e5e7eb;
}