/* assets/css/style.css - PICMKR Premium Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary-bg: #F5F7FB;
    --sidebar-bg: #131131;
    --sidebar-active: #5E59F2;
    --text-main: #333333;
    --text-muted: #8F95B2;
    --card-bg: #FFFFFF;
    --accent: #5E59F2;
    --accent-light: #EEEDFF;
    --border-color: #E8EBF2;
    
    /* Status Colors */
    --status-new-bg: #E3F2FD;
    --status-new-text: #1976D2;
    --status-contacted-bg: #E8F5E9;
    --status-contacted-text: #2E7D32;
    --status-scheduled-bg: #FFF3E0;
    --status-scheduled-text: #E65100;
    --status-demo-bg: #F3E5F5;
    --status-demo-text: #8E24AA;
    --status-interested-bg: #E0F7FA;
    --status-interested-text: #00838F;
    --status-pending-bg: #FFFDE7;
    --status-pending-text: #F57F17;
    --status-confirmed-bg: #E8F5E9;
    --status-confirmed-text: #2E7D32;
    --status-notinterested-bg: #FFEBEE;
    --status-notinterested-text: #C62828;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-logo {
    font-family: 'Outfit', sans-serif;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #C1C1C1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A8A8A8;
}

/* Grid & Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-column { flex-direction: column; }
.flex-1 { flex: 1; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}
.btn-primary {
    background-color: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(94, 89, 242, 0.2);
}
.btn-primary:hover {
    background-color: #4B46CE;
    transform: translateY(-1px);
}
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}
.btn-outline:hover {
    background-color: var(--accent-light);
}
.btn-secondary {
    background-color: #E2E8F0;
    color: #475569;
}
.btn-secondary:hover {
    background-color: #CBD5E1;
}
.btn-danger {
    background-color: #EF4444;
    color: white;
}
.btn-danger:hover {
    background-color: #DC2626;
}

/* ==========================================================================
   LANDING PAGE STYLES
   ========================================================================== */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}
.navbar .brand {
    font-size: 24px;
    font-weight: 800;
    color: var(--sidebar-bg);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.navbar .brand span {
    color: var(--accent);
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}
.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: radial-gradient(circle at 80% 20%, #EEEDFF 0%, #F5F7FB 100%);
    min-height: calc(100vh - 75px);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}
.hero-text h1 {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 20px;
}
.hero-text p {
    font-size: 18px;
    color: #475569;
    margin-bottom: 30px;
}
.perks-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}
.perk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
}
.perk-item svg {
    color: #10B981;
    flex-shrink: 0;
}

/* Enquiry Form Styling */
.enquiry-card {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border: 1px solid var(--border-color);
}
.enquiry-card h3 {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 22px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    font-family: inherit;
    font-size: 14px;
    color: #334155;
    transition: all 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(94, 89, 242, 0.15);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Popular Courses */
.courses-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 10px;
}
.section-subtitle {
    text-align: center;
    color: #64748B;
    margin-bottom: 50px;
    font-size: 16px;
}
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.course-card {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.04);
    border-color: var(--accent);
}
.course-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}
.course-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0F172A;
}
.course-card p {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 20px;
}
.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-bottom: 20px;
}

/* AI Career Recommendation Widget */
.ai-section {
    padding: 80px 0;
    background: radial-gradient(circle at 10% 80%, #EEEDFF 0%, #FFFFFF 100%);
}
.ai-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent);
}
.ai-quiz-step {
    display: none;
}
.ai-quiz-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}
.option-btn {
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    transition: all 0.2s;
    color: #475569;
}
.option-btn:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}
.option-btn.selected {
    border-color: var(--accent);
    background: var(--accent);
    color: #FFFFFF;
}
.quiz-progress-bar {
    height: 4px;
    background: #E2E8F0;
    border-radius: 2px;
    margin-bottom: 30px;
}
.quiz-progress-fill {
    height: 100%;
    background: var(--accent);
    width: 25%;
    transition: width 0.3s;
}

/* Booking Widget */
.booking-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}
.calendar-container {
    max-width: 900px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}
.calendar-header {
    background: var(--sidebar-bg);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid var(--border-color);
}
.calendar-day-label {
    text-align: center;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
    background: #F8FAFC;
    border-right: 1px solid var(--border-color);
}
.calendar-day {
    min-height: 90px;
    padding: 8px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    cursor: pointer;
    transition: background 0.15s;
}
.calendar-day:hover:not(.empty) {
    background: var(--accent-light);
}
.calendar-day.selected {
    background: #EEEDFF;
    border: 2px solid var(--accent);
}
.calendar-day.empty {
    background: #F8FAFC;
    cursor: default;
}
.day-num {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}
.day-slots-indicator {
    font-size: 10px;
    font-weight: 700;
    background: #10B981;
    color: white;
    border-radius: 4px;
    padding: 2px 4px;
    display: inline-block;
    margin-top: 5px;
}
.time-slots-container {
    padding: 25px;
    background: #F8FAFC;
}
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 15px;
}
.slot-pill {
    background: white;
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    color: #475569;
}
.slot-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.slot-pill.selected {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Success Stories */
.testimonials-section {
    padding: 80px 0;
    background: #F8FAFC;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.student-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.student-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.student-name h5 {
    font-size: 16px;
    color: #0F172A;
}
.student-name span {
    font-size: 13px;
    color: #64748B;
}

/* Footer */
footer {
    background: var(--sidebar-bg);
    color: #94A3B8;
    padding: 40px 0;
    border-top: 4px solid var(--accent);
}

/* ==========================================================================
   DASHBOARD STYLES (STAFF/ADMIN)
   ========================================================================== */
.dashboard-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    background-color: var(--sidebar-bg);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    position: sticky;
    top: 0;
    padding: 25px 0;
    z-index: 10;
}
.sidebar-logo {
    padding: 0 25px;
    margin-bottom: 30px;
}
.sidebar-logo h2 {
    font-size: 20px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}
.sidebar-logo span {
    color: #FF5A5F;
    font-size: 9px;
    display: block;
    letter-spacing: 1.5px;
    margin-top: 2px;
}
.sidebar-menu {
    list-style: none;
    flex: 1;
}
.sidebar-menu li {
    margin-bottom: 4px;
    padding: 0 15px;
}
.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #8F8EB3;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s;
}
.sidebar-menu a svg {
    width: 18px;
    height: 18px;
    stroke-width: 2px;
    transition: transform 0.2s;
}
.sidebar-menu li.active a,
.sidebar-menu a:hover {
    color: #FFFFFF;
    background-color: var(--sidebar-active);
}
.sidebar-menu a:hover svg {
    transform: translateX(2px);
}

.sidebar-upgrade {
    background: linear-gradient(135deg, #2A2460 0%, #1A1540 100%);
    margin: 20px 20px 0 20px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}
.sidebar-upgrade h4 {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 700;
    color: white;
}
.sidebar-upgrade p {
    font-size: 11px;
    color: #8F8EB3;
    margin-bottom: 12px;
}

/* Main Content Area */
.main-content {
    overflow-y: auto;
    height: 100vh;
}

/* Navbar Top */
.dashboard-navbar {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 9;
}
.search-wrapper {
    position: relative;
}
.search-wrapper input {
    background-color: #F1F5F9;
    border: none;
    border-radius: 20px;
    padding: 8px 16px 8px 40px;
    font-size: 13px;
    width: 250px;
    transition: width 0.3s;
}
.search-wrapper input:focus {
    width: 320px;
    outline: none;
}
.search-wrapper svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.icon-badge {
    position: relative;
    cursor: pointer;
}
.icon-badge .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #EF4444;
    color: white;
    font-size: 9px;
    font-weight: 700;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-profile-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.user-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
}
.user-info-text {
    line-height: 1.2;
}
.user-info-text h4 {
    font-size: 13px;
    font-weight: 600;
}
.user-info-text span {
    font-size: 11px;
    color: var(--text-muted);
}

/* Dashboard Panels & Views */
.dashboard-panel {
    padding: 30px;
}
.panel-header {
    margin-bottom: 25px;
}
.panel-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
}

/* Metric KPI Cards Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.metric-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.metric-details h5 {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}
.metric-val {
    font-size: 28px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}
.metric-trend {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.trend-up { color: #10B981; }
.trend-down { color: #EF4444; }

.metric-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.icon-box-purple { background-color: #EEEDFF; color: var(--accent); }
.icon-box-blue { background-color: #E3F2FD; color: #1E88E5; }
.icon-box-green { background-color: #E8F5E9; color: #43A047; }
.icon-box-orange { background-color: #FFF3E0; color: #FB8C00; }

/* Analytics Charts Layout */
.charts-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 30px;
}
.chart-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 24px;
}
.chart-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.chart-card-header h3 {
    font-size: 16px;
    font-weight: 700;
}
.chart-wrapper {
    position: relative;
    height: 250px;
    width: 100%;
}

/* Dashboard Bottom Grid: Schedules & Checklists */
.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.bottom-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
}
.bottom-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}
.bottom-card-header h3 {
    font-size: 16px;
    font-weight: 700;
}

/* Schedules list */
.schedule-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #F1F5F9;
}
.schedule-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    width: 80px;
}
.schedule-details {
    flex: 1;
}
.schedule-details h4 {
    font-size: 13px;
    font-weight: 600;
}
.schedule-details span {
    font-size: 11px;
    color: var(--text-muted);
}

/* Tasks list */
.task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #F1F5F9;
}
.task-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.task-checkbox-label input {
    accent-color: var(--accent);
}
.task-checkbox-label.completed span {
    text-decoration: line-through;
    color: var(--text-muted);
}
.task-priority-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}
.priority-High { background-color: #FEE2E2; color: #EF4444; }
.priority-Medium { background-color: #FEF3C7; color: #D97706; }
.priority-Low { background-color: #E0F2FE; color: #0284C7; }

/* Datatable Recent Enquiries */
.table-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 24px;
    margin-bottom: 30px;
}
.datatable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.datatable th {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-color);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}
.datatable td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}
.datatable tr:hover td {
    background-color: #F8FAFC;
}

/* Status Badges */
.badge-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
.status-New-Enquiry { background-color: var(--status-new-bg); color: var(--status-new-text); }
.status-Contacted { background-color: var(--status-contacted-bg); color: var(--status-contacted-text); }
.status-Counseling-Scheduled { background-color: var(--status-scheduled-bg); color: var(--status-scheduled-text); }
.status-Demo-Attended { background-color: var(--status-demo-bg); color: var(--status-demo-text); }
.status-Interested { background-color: var(--status-interested-bg); color: var(--status-interested-text); }
.status-Documents-Pending { background-color: var(--status-pending-bg); color: var(--status-pending-text); }
.status-Admission-Confirmed { background-color: var(--status-confirmed-bg); color: var(--status-confirmed-text); }
.status-Not-Interested { background-color: var(--status-notinterested-bg); color: var(--status-notinterested-text); }

/* ==========================================================================
   KANBAN BOARD STYLE
   ========================================================================== */
.kanban-board-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 20px;
    min-height: calc(100vh - 220px);
    align-items: flex-start;
}
.kanban-column {
    background-color: #EAEDF3;
    border-radius: 12px;
    min-width: 290px;
    max-width: 290px;
    max-height: calc(100vh - 240px);
    display: flex;
    flex-direction: column;
}
.kanban-column-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    color: #475569;
}
.kanban-count-pill {
    background: #CBD5E1;
    color: #475569;
    font-size: 11px;
    border-radius: 10px;
    padding: 2px 8px;
}
.kanban-cards-wrapper {
    padding: 10px;
    overflow-y: auto;
    flex: 1;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.kanban-cards-wrapper.dragover {
    background-color: rgba(94, 89, 242, 0.1);
    border: 2px dashed var(--accent);
    border-radius: 8px;
}

.kanban-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid var(--border-color);
    cursor: grab;
    transition: transform 0.15s, box-shadow 0.15s;
    user-select: none;
}
.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.kanban-card.dragging {
    opacity: 0.5;
}
.kanban-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 5px;
}
.kanban-card-info {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.kanban-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    border-top: 1px solid #F1F5F9;
    padding-top: 8px;
    font-size: 11px;
    font-weight: 500;
    color: #64748B;
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.modal-container {
    background: #FFFFFF;
    border-radius: 16px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-container {
    transform: scale(1);
}
.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
}
.modal-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748B;
}
.modal-body {
    padding: 25px;
}
.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}
.modal-tab {
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
}
.modal-tab.active {
    border-color: var(--accent);
    color: var(--accent);
}
.modal-tab-content {
    display: none;
}
.modal-tab-content.active {
    display: block;
}

/* History logs inside lead details modal */
.history-timeline {
    position: relative;
    padding-left: 20px;
    margin-top: 15px;
}
.history-timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 4px;
    width: 2px;
    height: calc(100% - 15px);
    background: var(--border-color);
}
.history-item {
    position: relative;
    padding-bottom: 20px;
}
.history-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #FFFFFF;
}
.history-time {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}
.history-text {
    font-size: 13px;
    color: #475569;
    margin-top: 3px;
}

/* ==========================================================================
   STUDENT TRACKING PAGE
   ========================================================================== */
.tracking-wrapper {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    padding: 40px;
    margin-top: 40px;
}
.tracking-search-box {
    max-width: 500px;
    margin: 0 auto 40px auto;
}
.stepper-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 50px;
}
.stepper-line {
    position: absolute;
    top: 15px;
    left: 0;
    height: 4px;
    background: #E2E8F0;
    width: 100%;
    z-index: 1;
}
.stepper-line-fill {
    height: 100%;
    background: #10B981;
    width: 0%;
    transition: width 0.4s;
}
.step-node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}
.step-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #94A3B8;
    transition: all 0.3s;
}
.step-node.active .step-circle {
    border-color: var(--accent);
    color: var(--accent);
}
.step-node.completed .step-circle {
    border-color: #10B981;
    background: #10B981;
    color: white;
}
.step-label {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    text-align: center;
    white-space: nowrap;
}
.step-node.active .step-label {
    color: var(--accent);
}
.step-node.completed .step-label {
    color: #10B981;
}

.document-dropzone {
    border: 2px dashed #CBD5E1;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    background: #F8FAFC;
    transition: all 0.2s;
}
.document-dropzone:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}
.uploaded-docs-list {
    margin-top: 15px;
}
.doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F1F5F9;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

/* ==========================================================================
   LOGIN PAGE
   ========================================================================== */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #131131 0%, #1A1938 100%);
}
.login-card {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    padding: 40px;
    width: 100%;
    max-width: 400px;
}
.login-logo {
    text-align: center;
    margin-bottom: 30px;
}
.login-logo h2 {
    color: var(--sidebar-bg);
    font-weight: 800;
}
.login-logo span {
    color: var(--accent);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive design */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .dashboard-wrapper {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none;
    }
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .charts-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-bottom-grid {
        grid-template-columns: 1fr;
    }
    .stepper-container {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding-left: 20px;
    }
    .stepper-line {
        left: 35px;
        top: 0;
        width: 4px;
        height: 100%;
    }
    .step-node {
        flex-direction: row;
        width: 100%;
        gap: 15px;
    }
    .step-label {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .options-grid {
        grid-template-columns: 1fr;
    }
}
