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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f1e9;
    background-image: linear-gradient(
        90deg,
        transparent 0px,
        transparent 40px,
        rgba(105, 148, 95, 0.15) 40px,
        rgba(105, 148, 95, 0.15) 80px
    );
    background-size: 80px 100%;
    min-height: 100vh;
    color: #333;
}

/* Main Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: white;
    border-bottom: 2px solid #e8f5e3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin-left: 20px; /* Account for menu button space */
}

.header-title {
    color: #2d4a1f;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* Menu Toggle Button */
.menu-toggle {
    position: static;
    background-color: #4a7c59;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background-color: #2d4a1f;
    transform: scale(1.05);
}

/* Profile Section */
.profile-section {
    margin-left: auto;
    position: relative;
}

.profile-btn {
    background-color: #4a7c59;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-btn:hover {
    background-color: #2d4a1f;
    transform: scale(1.05);
}

/* Notification Dot */
.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background-color: #e74c3c;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.profile-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 280px;
    z-index: 1002;
    border: 1px solid #e8f5e3;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Student Portal Dropdown Section */
.student-portal-section {
    padding: 16px;
}

.portal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2d4a1f;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.portal-title i {
    color: #4a7c59;
}

.student-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.student-option-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fdf7;
    border: 2px solid #e8f5e3;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.student-option-box:hover {
    border-color: #4a7c59;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.15);
}

.student-option-box .option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 6px;
    color: #4a7c59;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.student-option-box:hover .option-icon {
    background: #4a7c59;
    color: white;
    transform: scale(1.1);
}

.option-content h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #2d4a1f;
    line-height: 1.2;
}

.option-content p {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: #666;
    line-height: 1.2;
}

.dropdown-divider {
    height: 1px;
    background: #e8f5e3;
    margin: 8px 0;
}

/* Standard Dropdown Links */
.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #2d4a1f;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f5ef;
}

.dropdown-link:last-child {
    border-bottom: none;
}

.dropdown-link:hover {
    background-color: #f8fdf7;
    color: #4a7c59;
}

.dropdown-link i {
    font-size: 1rem;
    color: #4a7c59;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #b5c7a7;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
}

.side-menu.active {
    left: 0;
}

.menu-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header h3 {
    color: #2d4a1f;
    font-size: 20px;
    font-weight: 600;
}

.close-menu {
    background: none;
    border: none;
    color: #2d4a1f;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-list {
    list-style: none;
    padding: 20px 0;
}

.menu-item {
    margin-bottom: 5px;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #2d4a1f;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.menu-link:hover {
    background: rgba(45, 74, 31, 0.1);
    color: #1a2e14;
}

.menu-link i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.menu-link.active .arrow {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(45, 74, 31, 0.1);
}

.submenu.active {
    max-height: 300px;
}

.submenu-link {
    display: block;
    padding: 12px 20px 12px 52px;
    color: #2d4a1f;
    text-decoration: none;
    transition: all 0.3s ease;
}

.submenu-link:hover {
    background: rgba(45, 74, 31, 0.2);
    color: #1a2e14;
    padding-left: 60px;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    padding: 120px 20px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    padding-top: 20px;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* Title Section */
.title-section {
    text-align: center;
    margin-bottom: 60px;
}

.main-title {
    font-family: 'Limelight', cursive;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: #4a5d3a; /* Dark sage green */
    margin: 0;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Mission Section */
.mission-section {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.mission-box {
    background: #9aac88; /* Light sage green */
    border-radius: 20px;
    border: 1px solid #7a8c6a; /* Thin dark sage border */
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.mission-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mission-inner-box {
    background: #f6f9f3; /* Very light green-tinted off white */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.mission-text {
    color: #2d4a1f; /* Dark green */
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

/* Features Section */
.features-section {
    display: flex;
    justify-content: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    width: 100%;
}

.feature-card {
    background: #f6f9f3; /* Very light green-tinted off white */
    border: 2px solid #2d4a1f; /* Dark green outline, slightly thick */
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: #4a5d3a;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #4a5d3a;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 100px 15px 40px;
    }

    .main-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
        margin-bottom: 40px;
    }

    .mission-box {
        padding: 25px 20px;
    }

    .mission-inner-box {
        padding: 25px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .menu-toggle {
        top: 15px;
        left: 15px;
        padding: 10px;
        font-size: 16px;
    }

    .side-menu {
        width: 280px;
        left: -280px;
    }

    .main-header {
        height: 55px;
        padding: 0 15px;
    }
    
    .header-content {
        margin-left: 15px;
    }
    
    .header-title {
        font-size: 1.3rem;
    }
    
    .menu-toggle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .main-content {
        margin-top: 55px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 90px 10px 30px;
    }

    .mission-section {
        margin-bottom: 40px;
    }

    .mission-box {
        padding: 20px 15px;
    }

    .mission-inner-box {
        padding: 20px 15px;
    }

    .mission-text {
        font-size: 16px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .header-title {
        font-size: 1.1rem;
    }
    
    .main-header {
        height: 50px;
        padding: 0 10px;
    }
    
    .header-content {
        margin-left: 10px;
    }
    
    .menu-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .main-content {
        margin-top: 50px;
    }
}

/* Profile Menu Updates for Session Management */
.profile-header {
    padding: 15px 16px;
    border-bottom: 2px solid #e8f5e3;
    background: linear-gradient(135deg, #f8fdf7 0%, #f0f5ef 100%);
}

.profile-info strong {
    display: block;
    color: #2d4a1f;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.profile-info small {
    color: #4a7c59;
    font-size: 0.75rem;
    font-weight: 500;
}

.profile-menu {
    padding: 8px 0;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #2d4a1f;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-menu-item:hover {
    background-color: #f8fdf7;
    color: #4a7c59;
}

.profile-menu-item.logout {
    color: #e74c3c;
    border-top: 1px solid #f0f5ef;
    margin-top: 8px;
    padding-top: 12px;
}

.profile-menu-item.logout:hover {
    background-color: #fdf2f2;
    color: #c0392b;
}

.profile-separator {
    height: 1px;
    background-color: #f0f5ef;
    margin: 8px 0;
}

/* Profile Section Layout */
.profile-section {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Student Name Display */
.student-name-display {
    display: flex;
    align-items: center;
    background: rgba(74, 124, 89, 0.1);
    border: 1px solid #e8f5e3;
    border-radius: 6px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    order: 1;
}

.student-name-display:hover {
    background: rgba(74, 124, 89, 0.15);
    border-color: #4a7c59;
}

.student-name {
    color: #2d4a1f;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-btn {
    background-color: #4a7c59;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

@media (max-width: 768px) {
    .profile-section {
        gap: 8px;
    }
    
    .student-name {
        max-width: 100px;
        font-size: 13px;
    }
    
    .student-name-display {
        padding: 6px 8px;
    }
}

/* Session Management Styles */
.admin-session .admin-only {
    display: block !important;
}

.admin-session .student-only {
    display: none !important;
}

.student-session .admin-only {
    display: none !important;
}

.student-session .student-only {
    display: block !important;
}

/* Session Notification */
.session-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 25000;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 4px solid #3498db;
}

.session-notification.active {
    transform: translateX(0);
}

.session-notification.success {
    border-left-color: #27ae60;
    color: #27ae60;
}

.session-notification.info {
    border-left-color: #3498db;
    color: #3498db;
}

/* Activity Modal */
.activity-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 30000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-modal.active {
    opacity: 1;
}

.activity-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.activity-modal.active .activity-modal-content {
    transform: scale(1);
}

.activity-modal-header {
    padding: 20px 25px;
    border-bottom: 2px solid #f0f5ef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fdf7 0%, #f0f5ef 100%);
    border-radius: 12px 12px 0 0;
}

.activity-modal-header h2 {
    margin: 0;
    color: #2d4a1f;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-activity-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7f8c8d;
    padding: 5px;
    transition: color 0.3s ease;
}

.close-activity-modal:hover {
    color: #2d4a1f;
}

.activity-modal-body {
    padding: 25px;
}

.activity-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8fdf7 0%, #f0f5ef 100%);
    border-radius: 10px;
    border: 1px solid #e8f5e3;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d4a1f;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #4a7c59;
    font-weight: 500;
}

.activity-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e8f5e3;
    border-radius: 8px;
    background: #fafffe;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f5ef;
    transition: background-color 0.3s ease;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item:hover {
    background-color: #f8fdf7;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a7c59 0%, #2d4a1f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.activity-details {
    flex: 1;
}

.activity-action {
    font-weight: 600;
    color: #2d4a1f;
    margin-bottom: 3px;
}

.activity-meta {
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* Responsive Design for Session Management */
@media (max-width: 768px) {
    .activity-modal-content {
        width: 95%;
        margin: 10px;
        max-height: 90vh;
    }
    
    .activity-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .activity-item {
        padding: 12px 15px;
        gap: 12px;
    }
    
    .activity-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .session-notification {
        right: 10px;
        left: 10px;
        right: 10px;
        transform: translateY(-100%);
    }
    
    .session-notification.active {
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .menu-toggle,
    .side-menu,
    .menu-overlay,
    .activity-modal,
    .session-notification {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Google Drive Integration Styles */
.admin-upload-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.admin-upload-area,
.admin-drive-area {
    flex: 1;
    min-width: 200px;
}

.admin-drive-btn {
    width: 100%;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-drive-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #3367d6 0%, #2d8f47 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.3);
}

.admin-drive-btn:disabled {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.admin-drive-btn i.fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Google Drive Picker Modal */
.google-drive-picker-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.google-drive-picker-modal.active {
    opacity: 1;
    visibility: visible;
}

.google-drive-picker-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.google-drive-picker-modal.active .google-drive-picker-content {
    transform: scale(1);
}

.google-drive-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e5e5;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.google-drive-picker-header h3 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.google-drive-picker-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.google-drive-picker-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.google-drive-picker-body {
    padding: 25px;
    flex: 1;
    overflow-y: auto;
}

.drive-auth-notice {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.drive-auth-notice i {
    color: #1976d2;
    margin-top: 2px;
}

.drive-auth-notice p {
    margin: 0 0 8px 0;
    color: #0d47a1;
    line-height: 1.4;
}

.drive-auth-notice p:last-child {
    margin-bottom: 0;
}

.mock-drive-files {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.mock-file-item:hover {
    border-color: #4285f4;
    background: #f8fbff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.15);
}

.mock-file-item.selected {
    border-color: #34a853;
    background: #e8f5e9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 168, 83, 0.2);
}

.mock-file-item i {
    font-size: 1.2rem;
    color: #4285f4;
    width: 20px;
    text-align: center;
}

.mock-file-item.selected i {
    color: #34a853;
}

.mock-file-item span {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.mock-file-item small {
    color: #666;
    font-size: 0.9rem;
}

.google-drive-picker-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 25px;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

/* Admin File Item Source Indicator */
.admin-file-source {
    font-size: 0.8rem;
    color: #666;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
}

.admin-file-item .admin-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

/* Responsive Google Drive Picker */
@media (max-width: 768px) {
    .google-drive-picker-content {
        width: 95%;
        max-height: 90vh;
        margin: 20px;
    }
    
    .google-drive-picker-header {
        padding: 15px 20px;
    }
    
    .google-drive-picker-header h3 {
        font-size: 1.1rem;
    }
    
    .google-drive-picker-body {
        padding: 20px;
    }
    
    .google-drive-picker-footer {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .google-drive-picker-footer .admin-btn {
        width: 100%;
        justify-content: center;
    }
    
    .admin-upload-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .admin-upload-area,
    .admin-drive-area {
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .mock-file-item {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .mock-file-item span {
        font-size: 0.9rem;
    }
    
    .mock-file-item small {
        font-size: 0.8rem;
    }
    
    .drive-auth-notice {
        padding: 12px;
        gap: 8px;
    }
}

/* Logged-in Student Section */
.logged-in-student-section {
    padding: 16px;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.student-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a7c59 0%, #2d4a1f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.student-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.student-dropdown-name {
    font-weight: 600;
    color: #2d4a1f;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.student-email {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Logout button styling */
.dropdown-link[id="logoutBtn"] {
    color: #dc3545;
    border-bottom: none;
}

.dropdown-link[id="logoutBtn"]:hover {
    background-color: #fff5f5;
    color: #c82333;
}

.dropdown-link[id="logoutBtn"] i {
    color: #dc3545;
}
