/**
 * Institute Management Portal - Dashboard Styles
 */

:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --light: #f8f9fa;
    --dark: #1a1a2e;
    --sidebar-width: 260px;
    --header-height: 70px;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body.imp-dashboard { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: #f0f2f5; color: var(--dark); }

/* Dashboard Layout */
.imp-dashboard-wrapper { display: flex; min-height: 100vh; }
.imp-sidebar { width: var(--sidebar-width); background: linear-gradient(180deg, var(--dark) 0%, #16213e 100%); color: #fff; position: fixed; height: 100vh; overflow-y: auto; z-index: 100; transition: var(--transition); }
.imp-main-content { flex: 1; margin-left: var(--sidebar-width); min-height: 100vh; }

/* Sidebar */
.sidebar-header { padding: 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-header .logo { width: 50px; height: 50px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 24px; }
.sidebar-header h2 { font-size: 14px; font-weight: 600; opacity: 0.9; }
.user-info { padding: 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.user-info img { width: 45px; height: 45px; border-radius: 50%; }
.user-info h4 { font-size: 14px; margin-bottom: 4px; }
.user-info .student-id { font-size: 12px; opacity: 0.7; }
.sidebar-nav { padding: 15px 0; }
.sidebar-nav ul { list-style: none; }
.sidebar-nav li a { display: flex; align-items: center; padding: 12px 20px; color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); gap: 12px; }
.sidebar-nav li a i { width: 20px; text-align: center; }
.sidebar-nav li a:hover, .sidebar-nav li.active a { background: rgba(255,255,255,0.1); color: #fff; }
.sidebar-nav li.active a { border-left: 3px solid var(--primary); }
.sidebar-nav .badge { background: var(--danger); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 10px; margin-left: auto; }
.sidebar-footer { padding: 20px; margin-top: auto; border-top: 1px solid rgba(255,255,255,0.1); }
.logout-btn { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.7); text-decoration: none; padding: 10px; border-radius: 8px; transition: var(--transition); }
.logout-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Header */
.imp-header { height: var(--header-height); background: #fff; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 50; }
.header-left { display: flex; align-items: center; gap: 20px; }
.header-left h1 { font-size: 22px; font-weight: 600; color: var(--dark); }
.header-right { display: flex; align-items: center; gap: 20px; }
.notification-btn, .user-btn { background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 8px; color: var(--secondary); }
.notification-btn { position: relative; font-size: 18px; }
.notification-count { position: absolute; top: -5px; right: -5px; background: var(--danger); color: #fff; font-size: 10px; padding: 2px 5px; border-radius: 10px; }
.validity-badge { background: var(--light); padding: 8px 15px; border-radius: 20px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 20px; cursor: pointer; }

/* Content */
.imp-content { padding: 30px; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background: #fff; border-radius: var(--border-radius); padding: 20px; display: flex; align-items: center; gap: 15px; box-shadow: var(--shadow); }
.stat-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.stat-primary .stat-icon { background: rgba(102,126,234,0.15); color: var(--primary); }
.stat-success .stat-icon { background: rgba(40,167,69,0.15); color: var(--success); }
.stat-warning .stat-icon { background: rgba(255,193,7,0.15); color: #d39e00; }
.stat-info .stat-icon { background: rgba(23,162,184,0.15); color: var(--info); }
.stat-danger .stat-icon { background: rgba(220,53,69,0.15); color: var(--danger); }
.stat-content h3 { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.stat-content p { font-size: 13px; color: var(--secondary); }

/* Dashboard Cards */
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 20px; }
.dashboard-card { background: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; }
.card-header { padding: 15px 20px; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.card-header h3 i { color: var(--primary); }
.view-all { color: var(--primary); text-decoration: none; font-size: 13px; }
.card-body { padding: 20px; }

/* Tables */
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #eee; }
.data-table th { background: #f8f9fa; font-weight: 600; font-size: 13px; color: var(--secondary); }
.data-table td { font-size: 14px; }

/* Status Badges */
.status-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.status-active, .status-approved { background: rgba(40,167,69,0.15); color: var(--success); }
.status-inactive, .status-rejected, .status-absent { background: rgba(220,53,69,0.15); color: var(--danger); }
.status-pending, .status-new { background: rgba(255,193,7,0.15); color: #d39e00; }
.status-open { background: rgba(23,162,184,0.15); color: var(--info); }
.test-type-badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.type-ielts { background: #e74c3c; color: #fff; }
.type-pte { background: #3498db; color: #fff; }
.type-oet { background: #9b59b6; color: #fff; }
.type-celpip { background: #1abc9c; color: #fff; }
.type-naati { background: #f39c12; color: #fff; }

/* Forms */
.imp-form .form-group { margin-bottom: 20px; }
.imp-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--dark); }
.imp-form .required { color: var(--danger); }
.form-control { width: 100%; padding: 12px 15px; font-size: 14px; border: 1px solid #ddd; border-radius: 8px; transition: var(--transition); }
.form-control:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(102,126,234,0.1); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.form-actions { margin-top: 30px; display: flex; gap: 15px; }
.section-title { font-size: 16px; font-weight: 600; margin: 25px 0 15px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; font-size: 14px; font-weight: 500; border: none; border-radius: 8px; cursor: pointer; transition: var(--transition); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: #e9ecef; color: var(--dark); }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-info { background: var(--info); color: #fff; }
.btn-warning { background: var(--warning); color: var(--dark); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-block { width: 100%; justify-content: center; }
.actions { display: flex; gap: 8px; }

/* Quick Actions */
.quick-actions { background: #fff; border-radius: var(--border-radius); padding: 20px; margin-bottom: 30px; box-shadow: var(--shadow); }
.quick-actions h3 { font-size: 16px; margin-bottom: 15px; }
.action-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.action-btn { padding: 12px 20px; border-radius: 8px; display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; font-weight: 500; color: #fff; transition: var(--transition); }
.action-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.quick-actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; }
.quick-action-item { display: flex; flex-direction: column; align-items: center; padding: 20px; background: #f8f9fa; border-radius: 12px; text-decoration: none; color: var(--dark); transition: var(--transition); }
.quick-action-item i { font-size: 28px; color: var(--primary); margin-bottom: 10px; }
.quick-action-item:hover { background: var(--primary); color: #fff; }
.quick-action-item:hover i { color: #fff; }

/* Empty State */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 60px; color: #ddd; margin-bottom: 20px; }
.empty-state h3 { font-size: 20px; margin-bottom: 10px; color: var(--dark); }
.empty-state p { color: var(--secondary); margin-bottom: 20px; }
.no-data { text-align: center; color: var(--secondary); padding: 30px; }

/* Tab Header */
.tab-header { margin-bottom: 20px; display: flex; gap: 15px; align-items: center; }

/* Filters */
.test-filters, .filters-row { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-btn { padding: 8px 16px; background: #fff; border: 1px solid #ddd; border-radius: 20px; cursor: pointer; font-size: 13px; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Tests Grid */
.tests-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.test-card { background: #fff; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); }
.test-card-header { padding: 15px; display: flex; justify-content: space-between; align-items: center; }
.test-card-body { padding: 20px; }
.test-card-body h4 { font-size: 16px; margin-bottom: 15px; }
.test-meta { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 15px; font-size: 13px; color: var(--secondary); }
.test-card-footer { padding: 15px; border-top: 1px solid #eee; }

/* Modal */
.modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1000; align-items: center; justify-content: center; }
.modal.show { display: flex; }
.modal-content { background: #fff; border-radius: var(--border-radius); max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto; }
.modal-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 18px; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; }
.modal-body { padding: 20px; }
.modal-footer { padding: 20px; border-top: 1px solid #eee; display: flex; justify-content: flex-end; gap: 10px; }

/* Welcome Banner */
.welcome-banner { background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%); border-radius: var(--border-radius); padding: 30px; margin-bottom: 30px; display: flex; justify-content: space-between; align-items: center; color: #fff; }
.welcome-content h2 { font-size: 24px; margin-bottom: 8px; }
.welcome-image { font-size: 80px; opacity: 0.3; }

/* Alerts */
.alert { padding: 15px 20px; border-radius: 8px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: rgba(40,167,69,0.15); color: var(--success); }
.alert-danger { background: rgba(220,53,69,0.15); color: var(--danger); }
.alert-warning { background: rgba(255,193,7,0.15); color: #856404; }

/* Attendance */
.attendance-summary { display: flex; gap: 30px; margin-bottom: 30px; flex-wrap: wrap; align-items: center; }
.summary-circle { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--success) calc(var(--percentage) * 1%), #eee 0); display: flex; align-items: center; justify-content: center; }
.summary-circle .percentage { background: #fff; width: 90px; height: 90px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; }
.summary-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.stat-box { text-align: center; padding: 15px 25px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); }
.stat-box .count { display: block; font-size: 28px; font-weight: 700; }
.stat-box .label { font-size: 13px; color: var(--secondary); }
.stat-box.present .count { color: var(--success); }
.stat-box.absent .count { color: var(--danger); }
.stat-box.late .count { color: var(--warning); }

/* Settings Nav */
.settings-nav { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.settings-nav-item { padding: 12px 20px; background: #fff; border-radius: 8px; text-decoration: none; color: var(--secondary); display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.settings-nav-item.active, .settings-nav-item:hover { background: var(--primary); color: #fff; }

/* Enhanced Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 35px 40px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}
.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.welcome-content h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.welcome-content p { font-size: 16px; opacity: 0.9; }
.welcome-image { position: relative; z-index: 1; }
.welcome-image i { font-size: 100px; opacity: 0.3; }

/* Enhanced Stat Cards */
.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}
.stat-primary::before { background: linear-gradient(90deg, #667eea, #764ba2); }
.stat-success::before { background: linear-gradient(90deg, #10b981, #059669); }
.stat-warning::before { background: linear-gradient(90deg, #f59e0b, #d97706); }
.stat-info::before { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.stat-danger::before { background: linear-gradient(90deg, #ef4444, #dc2626); }
.stat-secondary::before { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.stat-footer {
    margin-top: 10px;
    font-size: 12px;
    color: var(--secondary);
}
.stat-progress {
    margin-top: 15px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}
.stat-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* Enhanced Course Info */
.course-info { padding: 10px 0; }
.course-name h4 { font-size: 18px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.batch-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}
.course-progress-bar {
    margin: 25px 0;
}
.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}
.progress-track {
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 5px;
    transition: width 0.5s ease;
}
.course-dates {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}
.date-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.date-item i {
    font-size: 20px;
    color: #667eea;
}
.date-item .label {
    display: block;
    font-size: 12px;
    color: var(--secondary);
}
.date-item .value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
}

/* Enhanced Message List */
.message-list, .notification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.message-item, .notification-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}
.message-item:hover, .notification-item:hover {
    background: #f0f0f0;
}
.message-item.unread, .notification-item.unread {
    background: rgba(102, 126, 234, 0.08);
    border-left: 3px solid #667eea;
}
.message-avatar, .notif-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    flex-shrink: 0;
}
.notif-icon.notif-test_evaluated { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.notif-icon.notif-message { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.notif-icon.notif-batch_message { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.message-content h5, .notif-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px 0;
}
.message-content p, .notif-content p {
    font-size: 13px;
    color: var(--secondary);
    margin: 0 0 4px 0;
}
.message-time, .notif-time {
    font-size: 11px;
    color: #9ca3af;
}

/* Trainer & Reception Dashboard Styles */
.imp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.imp-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.imp-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.imp-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.imp-stat-icon.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.imp-stat-icon.green { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.imp-stat-icon.orange { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.imp-stat-icon.purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.imp-stat-info h3 { font-size: 28px; font-weight: 700; color: #1a1a2e; margin: 0; }
.imp-stat-info p { font-size: 13px; color: var(--secondary); margin: 5px 0 0 0; }

/* Enhanced Card Styles */
.imp-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 20px;
}
.imp-card-header {
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.imp-card-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}
.imp-card-body { padding: 20px 25px; }

/* Enhanced Table Styles */
.imp-table {
    width: 100%;
    border-collapse: collapse;
}
.imp-table th {
    background: #f8f9fa;
    padding: 14px 15px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
}
.imp-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.imp-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.03);
}

/* Quick Action Buttons */
.imp-quick-actions { margin-bottom: 30px; }
.imp-quick-actions h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 15px;
}
.imp-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}
.imp-quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 14px;
    text-decoration: none;
    color: #1a1a2e;
    transition: all 0.3s ease;
}
.imp-quick-action-btn:hover {
    background: linear-gradient(145deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}
.imp-quick-action-btn i {
    font-size: 32px;
    margin-bottom: 12px;
    color: #667eea;
    transition: color 0.3s ease;
}
.imp-quick-action-btn:hover i { color: #fff; }
.imp-quick-action-btn span { font-size: 13px; font-weight: 600; text-align: center; }

/* Button Styles Enhanced */
.imp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.imp-btn-sm { padding: 8px 16px; font-size: 13px; }
.imp-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
.imp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}
.imp-btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}
.imp-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
}

/* Enquiry List for Reception */
.imp-enquiry-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.imp-enquiry-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.imp-enquiry-item:hover {
    background: #f0f0f0;
}
.imp-enquiry-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 5px 0;
}
.imp-enquiry-info p {
    font-size: 13px;
    color: var(--secondary);
    margin: 3px 0;
}
.imp-enquiry-info p i { margin-right: 8px; width: 16px; }
.imp-enquiry-actions {
    display: flex;
    gap: 8px;
}

/* Sidebar Navigation Enhanced */
.sidebar-nav li a {
    display: flex;
    align-items: center;
    padding: 14px 22px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 14px;
    border-left: 3px solid transparent;
    font-size: 14px;
}
.sidebar-nav li a i {
    width: 22px;
    text-align: center;
    font-size: 16px;
}
.sidebar-nav li a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-left-color: rgba(255,255,255,0.3);
}
.sidebar-nav li.active a {
    background: rgba(102, 126, 234, 0.2);
    color: #fff;
    border-left-color: #667eea;
}
.sidebar-nav .badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: auto;
    font-weight: 600;
}

/* No Data State */
.no-data, .imp-no-data {
    text-align: center;
    padding: 40px 20px;
    color: var(--secondary);
}
.no-data i, .imp-no-data i {
    font-size: 48px;
    color: #dee2e6;
    margin-bottom: 15px;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .imp-sidebar { transform: translateX(-100%); }
    .imp-sidebar.open { transform: translateX(0); }
    .imp-main-content { margin-left: 0; }
    .mobile-menu-toggle { display: block; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .welcome-banner { flex-direction: column; text-align: center; }
    .welcome-image { display: none; }
}

@media (max-width: 576px) {
    .imp-content { padding: 15px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .course-dates { flex-direction: column; gap: 15px; }
}
