
:root {
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 70px;
    --transition-speed: 0.3s;
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --gray-color: #95a5a6;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fb;
    color: #333;
    /*    overflow-x: hidden;*/
}

/* ========== SIDEBAR REDESIGN ========== */
.site-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 100%);
    color: white;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
    box-shadow: 3px 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar .logo {
    padding: 20px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar .logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity var(--transition-speed) ease;
}

.sidebar.collapsed .logo h1 {
    opacity: 0;
    width: 0;
}

.collapse-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.collapse-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.nav-menu {
    list-style: none;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}

.nav-menu::-webkit-scrollbar {
    width: 5px;
}

.nav-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: var(--success-color);
}

.nav-menu li a.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-left-color: white;
    font-weight: 600;
}

.nav-menu li a i {
    margin-right: 2px;
    font-size: 13px;
    width: 24px;
    text-align: center;
}

.sidebar.collapsed .nav-menu li a span {
    display: none;
}

.sidebar.collapsed .nav-menu li a i {
    margin-right: 0;
    font-size: 1.3rem;
}

.has-submenu > a::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: auto;
    font-size: 13px;
    transition: transform var(--transition-speed) ease;
}

.has-submenu.open > a::after {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease;
    background: rgba(0, 0, 0, 0.1);
}

.has-submenu.open .submenu {
    max-height: 500px;
}

.sidebar.collapsed .submenu {
    display: none !important;
}

.bottom-link {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
}

.bottom-link form button {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    text-align: left;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.bottom-link form button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bottom-link form button i {
    margin-right: 10px;
}

.sidebar.collapsed .bottom-link form button span {
    display: none;
}

/* ========== MAIN CONTENT REDESIGN ========== */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: margin-left var(--transition-speed) ease;
}
.main-content-sub {
    padding: 0px 16px;
}

.sidebar.collapsed ~ .main-content {
    margin-left: var(--sidebar-collapsed-width);
}

.breadcrumb {
    background: white;
    border-radius: 0px;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ========== DASHBOARD KPI CARDS ========== */
.dashboard-box-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
}

.dashboard-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dashboard-box:nth-child(2) {
    border-top-color: #4cc9f0;
}
.dashboard-box:nth-child(3) {
    border-top-color: #f72585;
}
.dashboard-box:nth-child(4) {
    border-top-color: #7209b7;
}
.dashboard-box:nth-child(5) {
    border-top-color: #4895ef;
}
.dashboard-box:nth-child(6) {
    border-top-color: #560bad;
}
.dashboard-box:nth-child(7) {
    border-top-color: #b5179e;
}
.dashboard-box:nth-child(8) {
    border-top-color: #3f37c9;
}

.dashboard-box p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
    font-weight: 500;
}

.dashboard-box h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.dashboard-box .trend {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(76, 201, 240, 0.1);
    color: #4cc9f0;
}

/* ========== TABLES REDESIGN ========== */
.grid-view {
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 15px;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-box i {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
}

.search-box input {
    width: 100%;
    padding: 7px 7px 7px 30px;
    border: 1px solid #e0e0e0;
    border-radius: 1px;
    font-size: 13px;
    transition: all 0.2s ease;
    outline: none;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.sort-controls {
    display: flex;
    gap: 10px;
}

.sort-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sort-dropdown {
    position: relative;
}

.sort-btn {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--dark-color);
    transition: all 0.3s;
}

.sort-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.sort-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 100;
    display: none;
    margin-top: 5px;
}

.sort-dropdown:hover .sort-dropdown-content {
    display: block;
}

.sort-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-bottom: 1px solid #eee;
}

.sort-option:last-child {
    border-bottom: none;
}

.sort-option:hover {
    background-color: #f5f7fa;
}

.sort-option.active {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    font-weight: 600;
}

.sort-option i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Table sorting indicators */
.sortable-header {
    cursor: pointer;
    position: relative;
    user-select: none;
}

.sortable-header:hover {
    background-color: #e9ecef;
}

.sortable-header i {
    margin-left: 5px;
    font-size: 13px;
    opacity: 0.5;
}

.sortable-header.sort-asc i.fa-sort-up,
.sortable-header.sort-desc i.fa-sort-down {
    opacity: 1;
    color: var(--secondary-color);
}
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

table thead th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    position: relative;
    cursor: pointer;
}

table thead th:hover {
    background: #f1f3f5;
}

table tbody tr {
    transition: all 0.2s ease;
}

table tbody tr:hover {
    background: #f8f9fa;
}

table tbody td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}
table thead th,table tbody td {
    font-size: 12px;
}

table tbody tr:last-child td {
    border-bottom: none;
}

.text-center {
    text-align: center;
}

.clickable-row {
    cursor: pointer;
}

.clickable-row:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.no-results {
    text-align: center;
    padding: 50px 20px;
    color: #6c757d;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #dee2e6;
}

/* ========== MODAL REDESIGN ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(3px);
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 16px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header:before,.modal-header:after{ display:none!important;}


.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.stat-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.2s ease;
}

.stat-item:hover {
    background: #f1f3f5;
    transform: translateY(-3px);
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-value.total {
    color: var(--secondary-color);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
    .dashboard-box-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .table-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: var(--sidebar-collapsed-width);
    }

    .sidebar:not(.collapsed) {
        width: var(--sidebar-width);
        z-index: 2000;
    }

    .main-content {
        margin-left: var(--sidebar-collapsed-width);
    }

    .sidebar:not(.collapsed) ~ .main-content {
        margin-left: var(--sidebar-width);
    }

    .dashboard-box-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .modal {
        width: 95%;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .dashboard-box-wrapper {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-body {
        padding: 20px;
    }
}

/* ========== ADDITIONAL INTERACTIVE ELEMENTS ========== */
.progress-ring {
    position: relative;
    width: 60px;
    height: 60px;
}

.progress-ring circle {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.progress-ring-bg {
    fill: none;
    stroke: #e9ecef;
    stroke-width: 4;
}

.progress-ring-fill {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
}

.chart-container {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.chart-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-tab {
    padding: 8px 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    background: #f8f9fa;
}

.filter-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Animation for loading */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Notification badge */
.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--warning-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Status indicators */
.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-complete {
    background: #4cc9f0;
}
.status-pending {
    background: #f72585;
}
.status-rejected {
    background: #7209b7;
}
.status-assigned {
    background: #4895ef;
}

.form-control {
    padding: 4px;
    font-size: 13px;
    border-radius: 0px;
}
.form-control:focus {
    box-shadow: none;
}
input,select,textarea{
    outline: none;
}
.btn{
    padding: 4px 6px;
    font-size: 13px;
    border-radius: 0px;
}

button{
    padding: 4px 10px!important;
    font-size: 13px!important;
    border-radius: 0px!important;
}
.date-filter {
    display: flex;
    gap: 10px;
    align-items: center;
}

.date-filter input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* KPI Cards */
.kpi-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.kpi-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
}

.kpi-icon.exam {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
}

.kpi-icon.packet {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
}

.kpi-icon.enrollment {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--warning-color);
}

.kpi-icon.completion {
    background-color: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.kpi-info h3 {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 5px;
}

.kpi-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.kpi-change {
    font-size: 13px;
}

.kpi-change.positive {
    color: var(--success-color);
}

.kpi-change.negative {
    color: var(--danger-color);
}

/* Charts Section */
.charts-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .charts-section {
        grid-template-columns: 1fr;
    }
}
/*
.chart-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}*/

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-actions {
    display: flex;
    gap: 10px;
}

.chart-btn {
    padding: 5px 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.chart-btn.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Process Flow */
.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 3px;
    background-color: #eee;
    z-index: 1;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 20%;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gray-color);
    margin-bottom: 10px;
    border: 3px solid #eee;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.process-step.active .step-icon {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.process-step.completed .step-icon {
    background-color: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.step-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.step-metric {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Dashboard Sections */
.dashboard-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .dashboard-section {
        grid-template-columns: 1fr;
    }
}

.card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Exam Status Table */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background-color: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid #eee;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

tr:hover {
    background-color: #f0f7ff;
}

.clickable-row {
    cursor: pointer;
    transition: background-color 0.2s;
}

.clickable-row:hover {
    background-color: #e3f2fd;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.status-complete {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
}

.status-inprogress {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--warning-color);
}

.status-pending {
    background-color: rgba(149, 165, 166, 0.1);
    color: var(--gray-color);
}

.status-error {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}
 
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*
.modal-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 25px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}*/

.exam-block-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.exam-block-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid var(--secondary-color);
}

.exam-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.exam-block-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.exam-block-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.exam-block-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-color);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
}

.stat-value.completed {
    color: var(--success-color);
}

.stat-value.pending {
    color: var(--warning-color);
}

.stat-value.total {
    color: var(--primary-color);
}

.packet-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.packet-details-table th {
    background-color: #e9ecef;
    padding: 12px;
    font-weight: 600;
    text-align: left;
}

.packet-details-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.packet-details-table tr:hover {
    background-color: #f5f5f5;
}

/* Progress Bar */
.progress-container {
    margin-top: 10px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 13px;
}

.progress-bar {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 5px;
    transition: width 0.3s;
}

.progress-fill.complete {
    background-color: var(--success-color);
}

.progress-fill.in-progress {
    background-color: var(--warning-color);
}

/* Alert Panel */
.alert-panel {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.alert-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.alert-item:last-child {
    border-bottom: none;
}

.alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.alert-icon.high {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

.alert-icon.medium {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--warning-color);
}

.alert-icon.low {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
}

.alert-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.alert-content p {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: var(--gray-color);
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        width: 70px;
        overflow: hidden;
    }

    .sidebar .logo h1 span,
    .sidebar .nav-menu a span {
        display: none;
    }

    .sidebar .logo h1 {
        justify-content: center;
    }

    .main-content {
        margin-left: 70px;
    }

    .charts-section {
        grid-template-columns: 1fr;
    }

    .exam-block-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .kpi-cards {
        grid-template-columns: 1fr;
    }

    .process-flow {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .process-flow::before {
        display: none;
    }

    .process-step {
        width: 100%;
        flex-direction: row;
        gap: 20px;
    }

    .step-icon {
        margin-bottom: 0;
    }

    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .charts-section {
        grid-template-columns: 1fr;
    }

    .modal {
        width: 95%;
        max-height: 95vh;
    }
}
.bg-blue{
    background: blue;
}