/* AKTU Counseling Mentorship Platform - Premium CSS Stylesheet */
@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 {
    /* Color Palette */
    --bg-base: #060913;
    --bg-surface: rgba(13, 20, 38, 0.55);
    --bg-surface-solid: #0d1426;
    --bg-surface-hover: rgba(22, 33, 62, 0.7);
    --border-light: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 255, 210, 0.25);
    
    --primary: #ffd700; /* Gold */
    --primary-rgb: 255, 215, 0;
    --secondary: #00ffd2; /* Cyan/Teal */
    --secondary-rgb: 0, 255, 210;
    --accent: #8b5cf6; /* Indigo/Violet */
    --accent-rgb: 139, 92, 246;
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #0f172a;
    
    --success: #00ffd2;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Effects */
    --glow-gold: 0 0 20px rgba(255, 215, 0, 0.2);
    --glow-cyan: 0 0 20px rgba(0, 255, 210, 0.25);
    --glass-blur: blur(16px);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 210, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 60%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Premium Layout & Containers */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Surface Utility */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

/* Nav Bar */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 9, 19, 0.7);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
}

.logo span {
    font-weight: 400;
    color: var(--text-main);
    background: none;
    -webkit-text-fill-color: initial;
    -webkit-background-clip: initial;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary);
    text-shadow: var(--glow-cyan);
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Custom Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ffa800);
    color: var(--text-dark);
    box-shadow: var(--glow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: var(--glow-cyan);
}

.btn-accent {
    background: linear-gradient(135deg, var(--secondary), #00d2ff);
    color: var(--text-dark);
    box-shadow: var(--glow-cyan);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 210, 0.45);
}

/* Landing Page Main View */
.view-section {
    display: none;
    padding: 60px 0;
    animation: fadeIn 0.4s ease-out forwards;
}

.view-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0 80px 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary) 70%, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-badge {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* College List showcase */
.colleges-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 16px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px auto;
    font-size: 1rem;
    line-height: 1.6;
}

.colleges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.college-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.college-badge {
    align-self: flex-start;
    padding: 4px 8px;
    background: rgba(0, 255, 210, 0.1);
    color: var(--secondary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.college-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.college-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
}

/* Mentors List Showcase */
.mentors-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-light);
}

.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.mentor-card {
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.mentor-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.mentor-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.mentor-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.mentor-info h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.mentor-college {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
}

.mentor-branch {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.mentor-badge-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.8rem;
}

.mentor-tag {
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid var(--border-light);
}

.mentor-achievements {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mentor-achievements li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mentor-achievements li::before {
    content: '✦';
    color: var(--primary);
    font-size: 0.8rem;
}

/* Pricing Section */
.pricing-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 48px;
    text-align: center;
    position: relative;
    border-color: rgba(255, 215, 0, 0.15);
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.08);
}

.pricing-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-dark);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: white;
    margin: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-strike {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.5rem;
    margin-right: 8px;
}

.price-features {
    list-style: none;
    text-align: left;
    margin: 32px 0;
    font-size: 0.95rem;
}

.price-features li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-features li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Student Registration View */
.form-panel {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-muted);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.form-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 14px;
    font-family: inherit;
    font-size: 0.95rem;
    color: white;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 255, 210, 0.15);
}

.form-control option {
    background-color: var(--bg-surface-solid);
    color: white;
}

/* Custom File Upload Widget */
.file-upload-box {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    padding: 24px;
    text-align: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.02);
}

.file-upload-box:hover, .file-upload-box.dragover {
    border-color: var(--secondary);
    background: rgba(0, 255, 210, 0.03);
}

.file-upload-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.file-upload-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.file-upload-filename {
    margin-top: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: none;
}

/* Payment Simulated Overlay Modal */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.payment-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.payment-card {
    max-width: 480px;
    width: 90%;
    padding: 32px;
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleUp {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.payment-header {
    text-align: center;
    margin-bottom: 24px;
}

.payment-header h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.payment-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.payment-amount {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.pay-method {
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.pay-method:hover {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
}

.pay-method.active {
    border-color: var(--secondary);
    background: rgba(0, 255, 210, 0.05);
    color: var(--secondary);
    font-weight: 600;
}

.pay-method-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.payment-body {
    margin-bottom: 24px;
}

.upi-scan-section {
    display: none;
    text-align: center;
}

.upi-scan-section.active {
    display: block;
}

.qr-code {
    width: 180px;
    height: 180px;
    background: white;
    margin: 0 auto 16px auto;
    padding: 10px;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 20px rgba(0, 255, 210, 0.15);
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-details-section {
    display: none;
}

.card-details-section.active {
    display: block;
}

/* Success Overlay page */
.success-screen {
    text-align: center;
    max-width: 500px;
    margin: 40px auto;
    padding: 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 255, 210, 0.15);
    color: var(--secondary);
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    border: 2px solid var(--secondary);
    box-shadow: var(--glow-cyan);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 210, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 255, 210, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 210, 0); }
}

.success-screen h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.success-screen p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.mentor-assigned-card {
    padding: 24px;
    border: 1px dashed var(--secondary);
    background: rgba(0, 255, 210, 0.03);
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.mentor-assigned-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.mentor-assigned-college {
    color: var(--text-main);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* Portals: General Grid styling */
.portal-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    min-height: calc(100vh - 180px);
}

.portal-sidebar {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: fit-content;
}

.portal-sidebar-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 10px 16px;
    font-weight: 700;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-btn:hover, .sidebar-btn.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
}

.sidebar-btn.active {
    border-left: 3px solid var(--secondary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.portal-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Login View Styling */
.login-panel {
    max-width: 420px;
    margin: 40px auto;
    padding: 40px;
}

.login-panel h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 8px;
}

.login-panel p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}

/* Dashboard Stat Cards Grid */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.stat-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.stat-card-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    font-family: 'Outfit', sans-serif;
}

.stat-card-trend {
    font-size: 0.8rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-card-trend.up {
    color: var(--secondary);
}

.stat-card-icon {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 2.5rem;
    opacity: 0.08;
    color: var(--secondary);
}

/* Tables and Panels */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.panel-title {
    font-size: 1.3rem;
}

/* Beautiful Custom Table styles */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

table.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

table.premium-table th {
    background: rgba(255, 255, 255, 0.02);
    padding: 16px 20px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
}

table.premium-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-main);
    background: rgba(13, 20, 38, 0.2);
}

table.premium-table tr:last-child td {
    border-bottom: none;
}

table.premium-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Table Badge styles */
.badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-paid {
    background: rgba(0, 255, 210, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(0, 255, 210, 0.25);
}

.badge-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

/* Admin Chart section container */
.charts-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.chart-box {
    padding: 24px;
}

/* Beautiful Custom Dynamic HTML Bar Chart styles */
.bar-chart-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.bar-chart-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
}

.bar-label {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-muted);
}

.bar-track {
    flex-grow: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent), var(--secondary));
    border-radius: 4px;
    width: 0;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-value {
    width: 45px;
    text-align: right;
    font-weight: 600;
    color: white;
}

/* Mentor Student List View */
.student-detail-card {
    padding: 24px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.student-main-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.student-tagline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.student-ranks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin: 8px 0;
}

.rank-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.rank-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.student-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.whatsapp-link {
    background: #25d366;
    color: white !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.whatsapp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Document Viewer Popup Simulation */
.document-viewer {
    background: #111827;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    min-height: 180px;
}

.document-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.document-preview-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    overflow: hidden;
}

.document-preview-box img {
    max-width: 100%;
    max-height: 140px;
    border-radius: 4px;
    object-fit: contain;
}

.scorecard-inspect-btn {
    align-self: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
}

.scorecard-inspect-btn:hover {
    text-shadow: var(--glow-cyan);
    text-decoration: underline;
}

/* Scorecard Lightbox simulation */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    background: var(--bg-surface-solid);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    position: relative;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Modal Form for Admin Add Mentor */
.admin-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.admin-modal-backdrop.active {
    display: flex;
}

.admin-modal {
    max-width: 500px;
    width: 90%;
    padding: 32px;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.admin-modal-close:hover {
    color: white;
}

/* Custom styles for footer */
footer {
    border-top: 1px solid var(--border-light);
    padding: 40px 0;
    background: rgba(6, 9, 19, 0.9);
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
    line-height: 1.6;
    max-width: 400px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Responsiveness styling */
@media(max-width: 1024px) {
    .portal-container {
        grid-template-columns: 1fr;
    }
    .portal-sidebar {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 12px;
    }
    .sidebar-btn {
        white-space: nowrap;
    }
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-stats {
        justify-content: center;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .student-detail-card {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
