* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*,
*::before,
*::after {
    box-sizing: inherit;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d1b69 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    font-display: swap;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}
.site-container,
.card,
.nav-link,
.btn,
.modal-overlay {
    transform: translateZ(0);
    backface-visibility: hidden;
}
.dashboard-group-item {
    display: flex;
    align-items: center;
    padding: 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.dashboard-group-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}
.group-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 12px;
    flex-shrink: 0;
}
.group-info {
    flex: 1;
}
.group-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 2px;
}
.group-details {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #3b82f6;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    font-weight: 500;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    max-width: 300px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
}
.notification.show {
    opacity: 1;
    transform: translateX(0);
}
.notification.hide {
    opacity: 0;
    transform: translateX(100%);
}
.notification-success {
    background: #10b981;
}
.notification-error {
    background: #ef4444;
}
.notification-warning {
    background: #f59e0b;
}
.notification-info {
    background: #3b82f6;
}
.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.notification-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}
.loading {
    position: relative;
    overflow: hidden;
}
.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
.bounce {
    animation: bounce 0.6s;
}
.progress-circle {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #667eea 0deg,
        #667eea calc(var(--progress, 0) * 3.6deg),
        rgba(255, 255, 255, 0.1) calc(var(--progress, 0) * 3.6deg),
        rgba(255, 255, 255, 0.1) 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.progress-circle::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
}
.progress-circle span {
    position: relative;
    z-index: 2;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
}
.task-item {
    transition: all 0.3s ease;
}
.task-item.completed {
    opacity: 0.6;
    transform: scale(0.98);
}
.task-item.completed label {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.6);
}
.resource-item {
    transition: all 0.2s ease;
}
.resource-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.resource-item.selected {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.nav-link {
    transition: all 0.2s ease;
    position: relative;
}
.nav-link:hover {
    transform: translateY(-2px);
    color: #667eea !important;
}
.nav-link.loading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    animation: slide 1s infinite;
}
@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
}
.video-call-container {
    background: linear-gradient(135deg, #1a1a3e 0%, #2d1b69 100%);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal-overlay.active .video-call-container {
    transform: scale(1);
}
.video-call-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.video-call-header h3 {
    color: white;
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}
.video-call-content {
    padding: 30px;
    text-align: center;
}
.video-placeholder {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}
.video-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 20px;
}
.call-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f59e0b;
    animation: pulse 2s infinite;
}
.status-indicator.connecting {
    background: #f59e0b;
}
.status-indicator.connected {
    background: #10b981;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.call-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.call-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.call-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.call-btn.muted,
.call-btn.video-off,
.call-btn.speaker-off {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}
.call-btn.end-call-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}
.call-btn.end-call-btn:hover {
    background: rgba(239, 68, 68, 0.4);
}
.call-btn.active {
    background: rgba(102, 126, 234, 0.3);
    color: #667eea;
}
.audio-call-container {
    background: linear-gradient(135deg, #1a1a3e 0%, #2d1b69 100%);
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal-overlay.active .audio-call-container {
    transform: scale(1);
}
.audio-call-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.audio-call-header h3 {
    color: white;
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.audio-call-content {
    padding: 40px 30px;
    text-align: center;
}
.audio-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}
.audio-call-content h4 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}
.call-duration {
    font-size: 2rem;
    font-weight: 600;
    color: #667eea;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
}
.schedule-modal-container {
    background: linear-gradient(135deg, #1a1a3e 0%, #2d1b69 100%);
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal-overlay.active .schedule-modal-container {
    transform: scale(1);
}
.schedule-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.schedule-modal-header h3 {
    color: white;
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.schedule-modal-content {
    padding: 0;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}
.schedule-form {
    padding: 30px;
}
.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}
.form-section h4 {
    color: #667eea;
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-section h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.time-slots-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.time-slot {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.time-slot:last-child {
    margin-bottom: 0;
}
.time-slot:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
}
.remove-slot-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
}
.remove-slot-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}
.add-slot-btn {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    color: #667eea;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    width: 100%;
    font-size: 0.95rem;
}
.add-slot-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}
.schedule-modal-actions {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 30px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 45px;
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .video-call-container,
    .audio-call-container,
    .schedule-modal-container {
        width: 95%;
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    .schedule-modal-content {
        max-height: calc(100vh - 120px);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .call-controls {
        gap: 10px;
    }
    .call-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    .schedule-modal-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}
.btn-create-schedule,
.btn-add-task,
.btn-feature {
    position: relative;
    transform: translateZ(0);
}
.card {
    position: relative;
    z-index: 1;
    margin-bottom: 20px !important;
}
.sidebar-left,
.sidebar-right {
    position: sticky;
    top: 20px;
    height: fit-content;
}
.main-content {
    position: relative;
    z-index: 2;
}
.dashboard-content {
    gap: 20px !important;
}
.task-card,
.resources-card,
.tracker-card,
.bonus-item {
    margin-bottom: 20px;
    min-height: fit-content;
}
.dashboard-group-item {
    margin-bottom: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    will-change: transform, background-color;
}
.dashboard-group-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.dashboard-group-item .group-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    margin-right: 12px;
    flex-shrink: 0;
}
.dashboard-group-item .group-info {
    flex: 1;
    min-width: 0; 
}
.dashboard-group-item .group-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dashboard-group-item .group-details {
    font-size: 0.8em;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.site-container {
    min-height: 100vh;
    position: relative;
    max-width: 1400px;
    padding: 0 1rem;
    box-sizing: border-box;
    width: 100%;
    flex: none;
}
.site-header {
    text-align: center;
    padding: 2rem 0 1rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.logo i {
    font-size: 2rem;
    color: #667eea;
}
.logo h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}
.slogan {
    font-size: 0.9rem;
    color: #b0b0b0;
    font-weight: 300;
    margin-bottom: 1.5rem;
}
.main-nav {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 2rem;
}
.nav-item {
    position: relative;
}
.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: #b0b0b0;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.nav-link:hover {
    color: #667eea;
    background: rgba(78, 205, 196, 0.1);
    transform: translateY(-2px);
}
.nav-link.active {
    color: #ffffff;
    background: #667eea;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}
.nav-link.loading {
    opacity: 0.7;
    transform: scale(0.95);
}
.nav-link i {
    font-size: 1.2rem;
}
.nav-link span {
    font-size: 0.8rem;
    font-weight: 500;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #667eea;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
}
.nav-toggle:hover {
    background: rgba(78, 205, 196, 0.1);
}
.nav-toggle.active {
    transform: translateY(-50%) rotate(90deg);
}
.dashboard-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.02);
}
.header-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.header-icons i {
    font-size: 1.2rem;
    color: #b0b0b0;
    cursor: pointer;
    transition: color 0.3s ease;
}
.header-icons i:hover {
    color: #667eea;
}
.dashboard-content {
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.dashboard-content.groups-layout {
    grid-template-columns: 1fr 400px;
    align-items: start;
    justify-content: center;
    max-width: 1600px;
    margin: 0 auto;
    gap: 2rem;
}
.groups-layout .main-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.groups-layout .main-content h1 {
    width: 100%;
    text-align: center;
    margin: 0 auto 1.5rem auto;
    max-width: 1200px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.groups-layout .main-content h1 i {
    color: #667eea;
    font-size: 2rem;
    background: rgba(78, 205, 196, 0.2);
    padding: 0.5rem;
    border-radius: 50%;
    border: 2px solid rgba(78, 205, 196, 0.3);
}
.groups-layout .main-content > * {
    margin-left: auto;
    margin-right: auto;
}
.sidebar-left {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
}
.sidebar-left h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 500;
}
.group-list {
    list-style: none;
}
.group-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}
.group-item:hover {
    background: rgba(78, 205, 196, 0.1);
}
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #667eea;
}
.group-item span {
    font-size: 0.9rem;
    color: #e0e0e0;
    font-weight: 400;
}
.main-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.main-content h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 500;
}
.card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}
.card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 500;
}
.task-card {
    position: relative;
    z-index: 5;
    background: linear-gradient(135deg, rgba(26, 26, 62, 0.9) 0%, rgba(45, 27, 105, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: visible; 
}
.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}
.task-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.task-header h3::before {
    content: '📝';
    font-size: 1.1rem;
}
.btn-add-task {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 15;
}
.btn-add-task:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}
.btn-add-task:active {
    transform: translateY(-1px) scale(1.02);
}
.btn-add-task i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}
.btn-add-task:hover i {
    transform: rotate(90deg);
}
.task-list {
    list-style: none;
}
.task-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    position: relative;
}
.task-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}
.task-item label {
    flex: 1;
    font-size: 0.9rem;
    color: #e0e0e0;
    cursor: pointer;
}
.close-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.task-item .close-btn {
    display: none !important;
}
.close-btn:hover {
    color: #ff6b6b;
}
.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.task-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.btn-add-task {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.2rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
}
.btn-add-task:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}
.btn-add-task:active {
    transform: translateY(0);
}
.btn-add-task.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}
.btn-add-task.active .task-icon {
    transform: rotate(45deg);
}
.task-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-add-task,
.btn-modal-task,
.task-actions button,
.task-header button {
    overflow: visible !important;
    position: relative !important;
}
.btn-add-task::before,
.btn-modal-task::before,
.btn-add-task::after,
.btn-modal-task::after,
.task-actions button::before,
.task-actions button::after,
.task-header button::before,
.task-header button::after {
    display: none !important;
    content: none !important;
    background: none !important;
    animation: none !important;
    transition: none !important;
}
.btn-modal-task {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.7rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-modal-task:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.quick-add-container {
    margin-bottom: 1rem;
    overflow: hidden;
}
.quick-add-form {
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.quick-add-form.show {
    max-height: 250px;
    opacity: 1;
    transform: translateY(0);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.quick-add-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
    z-index: 2;
}
#quickTaskInput {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
#quickTaskInput::placeholder {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}
#quickTaskInput:focus {
    outline: none;
    border-bottom-color: #667eea;
}
#quickTaskInput:focus::placeholder {
    color: rgba(255, 255, 255, 0.8);
}
.input-underline {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
#quickTaskInput:focus + .input-underline {
    width: 100%;
}
.quick-add-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    padding: 0.5rem 0;
    z-index: 3;
    position: relative;
}
.quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quick-save {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}
.quick-save:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}
.quick-cancel {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}
.quick-cancel:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}
.quick-btn:active {
    transform: translateY(-1px) scale(1.05);
}
.quick-add-hint {
    text-align: center;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.2s;
    z-index: 2;
    position: relative;
}
.quick-add-form.show + .quick-add-hint {
    opacity: 1;
    transform: translateY(0);
}
.quick-add-hint span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-style: italic;
}
.quick-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: width 0.3s, height 0.3s, top 0.3s, left 0.3s;
    transform: translate(-50%, -50%);
}
.quick-btn:active::before {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
}
.ripple {
    display: none !important;
}
@keyframes particle-burst {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0);
        opacity: 0;
    }
}
@keyframes taskSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.task-item.new-task {
    animation: taskSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 768px) {
    .task-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .task-actions {
        justify-content: center;
    }
    .btn-add-task {
        flex: 1;
        justify-content: center;
        padding: 1rem;
    }
    .btn-modal-task {
        padding: 1rem;
        min-width: 50px;
    }
    .quick-add-form.show {
        padding: 1.2rem;
        margin: 1rem 0;
        max-height: 300px;
    }
    #quickTaskInput {
        font-size: 1rem;
        padding: 1rem 0;
    }
    .quick-add-buttons {
        margin-top: 1.5rem;
        gap: 1.5rem;
    }
    .quick-btn {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }
    .task-list .task-item {
        padding: 0.8rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .task-content {
        width: 100%;
    }
    .task-close-btn {
        align-self: flex-end;
    }
}
@media (max-width: 480px) {
    .task-actions {
        flex-direction: column;
    }
    .btn-add-task, .btn-modal-task {
        width: 100%;
    }
    .quick-add-form.show {
        padding: 1rem;
        margin: 1rem 0;
    }
    .quick-add-buttons {
        gap: 2rem;
        margin-top: 2rem;
        justify-content: space-around;
    }
    .quick-btn {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.form-group input[type="text"] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}
.form-group input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(78, 205, 196, 0.1);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}
.form-group input[type="text"]::placeholder {
    color: #888;
}
.form-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}
.btn-save-task,
.btn-cancel-task {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.btn-save-task {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}
.btn-save-task:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.btn-cancel-task {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-cancel-task:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
    color: #ff6b6b;
}
.resource-list {
    list-style: none;
}
.resource-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}
.pdf-icon {
    color: #ff6b6b;
    font-size: 1.5rem;
}
.py-icon {
    color: #3776ab;
    font-size: 1.5rem;
}
.file-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.file-name {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}
.file-details {
    font-size: 0.8rem;
    color: #888;
}
.progress-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(
        #667eea 0deg,
        #667eea calc(var(--progress) * 3.6deg),
        rgba(255, 255, 255, 0.1) calc(var(--progress) * 3.6deg)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
}
.progress-circle::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #0f0f23;
}
.progress-circle span {
    position: relative;
    z-index: 1;
}
.tracker-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}
.tracker-item i {
    color: #667eea;
    font-size: 1.2rem;
    width: 20px;
}
.progress-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.progress-info span {
    font-size: 0.9rem;
    color: #e0e0e0;
}
progress {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
}
progress::-webkit-progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
progress::-webkit-progress-value {
    background: #667eea;
    border-radius: 4px;
}
progress::-moz-progress-bar {
    background: #667eea;
    border-radius: 4px;
}
.sidebar-right {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(78, 205, 196, 0.3);
    height: fit-content;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.stats-widget {
    background: rgba(78, 205, 196, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(78, 205, 196, 0.2);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}
.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.stat-item:hover {
    background: rgba(78, 205, 196, 0.2);
    transform: translateY(-3px);
}
.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.quick-actions-widget {
    background: rgba(255, 107, 107, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 107, 107, 0.2);
}
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}
.quick-action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}
.quick-action-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 107, 107, 0.4);
}
.quick-action-btn i {
    font-size: 1.2rem;
}
.activity-widget {
    background: rgba(155, 89, 182, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(155, 89, 182, 0.2);
}
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.activity-item:hover {
    background: rgba(155, 89, 182, 0.2);
    transform: translateX(5px);
}
.activity-icon {
    background: rgba(155, 89, 182, 0.3);
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.activity-content {
    flex: 1;
}
.activity-text {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 0.3rem;
}
.activity-time {
    font-size: 0.75rem;
    color: #aaa;
}
.sidebar-right h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 500;
}
.bonus-item {
    margin-bottom: 1.5rem;
}
.study-planner-card {
    padding: 1.5rem;
    text-align: center;
}
.feature-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.feature-header i {
    font-size: 1.5rem;
    color: #10b981;
}
.feature-header h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #ffffff;
}
.study-planner-card p {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}
.btn-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-feature:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.btn-feature i {
    font-size: 0.9rem;
}
.video-card {
    text-align: center;
    padding: 1.5rem;
}
.video-card i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}
.btn-video-call {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}
.btn-video-call:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.status-dot.offline {
    background: #888;
    box-shadow: none;
}
@keyframes thinking-pulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}
.typing-indicator .message-content {
    background: rgba(255, 255, 255, 0.1);
}
.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    margin: 0;
}
.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #888;
    animation: typing-bounce 1.4s ease-in-out infinite;
}
.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}
.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}
@media (max-width: 1200px) {
    .dashboard-content {
        grid-template-columns: 200px 1fr 250px;
        gap: 1.5rem;
    }
}
@media (max-width: 992px) {
    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .sidebar-left,
    .sidebar-right {
        order: 2;
    }
    .main-content {
        order: 1;
    }
    .nav-toggle {
        display: block;
    }
    .nav-list {
        position: absolute;
        top: 100%;
        left: 2rem;
        right: 2rem;
        flex-direction: column;
        gap: 0;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 15px;
        padding: 1rem;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    .main-nav.active .nav-list {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-link {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        padding: 1rem;
        margin-bottom: 0.5rem;
        border-radius: 10px;
    }
    .nav-link:last-child {
        margin-bottom: 0;
    }
    .nav-link span {
        font-size: 1rem;
    }
}
@media (max-width: 768px) {
    .dashboard-content {
        padding: 1rem;
    }
    .dashboard-header {
        padding: 1rem;
    }
    .card {
        padding: 1rem;
    }
    .site-header {
        padding: 1.5rem 0 1rem 0;
    }
    .nav-list {
        left: 1rem;
        right: 1rem;
    }
    .nav-toggle {
        right: 1rem;
    }
    .task-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .task-item .close-btn {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }
    .task-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    .btn-add-task {
        align-self: stretch;
        justify-content: center;
    }
    .form-buttons {
        flex-direction: column;
    }
    .btn-save-task,
    .btn-cancel-task {
        justify-content: center;
    }
    .resource-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    .progress-circle {
        align-self: center;
    }
}
@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    .slogan {
        font-size: 0.8rem;
    }
    .header-icons {
        gap: 1rem;
    }
    .notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    .notification.show {
        right: 10px;
    }
    .notification.hide {
        right: -100%;
    }
    .schedule-container,
    .profile-container {
        grid-template-columns: 1fr;
    }
    .resources-grid {
        grid-template-columns: 1fr;
    }
    .session-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .profile-stats {
        flex-direction: column;
        gap: 1rem;
    }
    .group-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    .group-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(78, 205, 196, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
.btn-video-call.clicked {
    transform: scale(0.95);
    background: #5a6fd8;
}
.bounce {
    animation: bounce 0.6s ease-in-out;
}
@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}
.task-item.completed {
    opacity: 0.7;
    background: rgba(78, 205, 196, 0.2);
}
.task-item.completed label {
    text-decoration: line-through;
}
.resource-item.selected {
    background: rgba(78, 205, 196, 0.2);
    transform: scale(1.02);
}
.group-item.active {
    background: rgba(78, 205, 196, 0.2);
    border-left: 4px solid #667eea;
}
.loading {
    position: relative;
    overflow: hidden;
}
.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.3), transparent);
    animation: loading-shimmer 1.5s infinite;
}
@keyframes loading-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}
.notification {
    position: fixed;
    top: 20px;
    right: -400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    z-index: 1000;
    transition: all 0.3s ease;
    max-width: 350px;
}
.notification.show {
    right: 20px;
}
.notification.hide {
    right: -400px;
    opacity: 0;
}
.notification-success {
    border-left: 4px solid #667eea;
}
.notification-error {
    border-left: 4px solid #ff6b6b;
}
.notification-warning {
    border-left: 4px solid #ffa500;
}
.notification-info {
    border-left: 4px solid #667eea;
}
.notification i {
    font-size: 1.2rem;
}
.notification span {
    flex: 1;
    font-size: 0.9rem;
}
.notification-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.notification-close:hover {
    opacity: 1;
}
body:not(.light-theme) {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d1b69 100%) !important;
    color: #ffffff !important;
}
body:not(.light-theme) .nav-link {
    color: #ffffff !important;
}
body:not(.light-theme) .nav-link:hover {
    color: #667eea !important;
    background: rgba(78, 205, 196, 0.2) !important;
}
body:not(.light-theme) .sidebar-left,
body:not(.light-theme) .main-content,
body:not(.light-theme) .sidebar-right {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}
body:not(.light-theme) .card {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}
body:not(.light-theme) h1,
body:not(.light-theme) h2,
body:not(.light-theme) h3,
body:not(.light-theme) h4,
body:not(.light-theme) h5,
body:not(.light-theme) h6 {
    color: #ffffff !important;
}
body:not(.light-theme) p,
body:not(.light-theme) span,
body:not(.light-theme) div {
    color: #ffffff !important;
}
body:not(.light-theme) .site-header {
    background: rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
body:not(.light-theme) .logo h1 {
    color: #ffffff !important;
}
body:not(.light-theme) .slogan {
    color: rgba(255, 255, 255, 0.8) !important;
}
body:not(.light-theme) input,
body:not(.light-theme) textarea,
body:not(.light-theme) select {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}
body:not(.light-theme) input::placeholder,
body:not(.light-theme) textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}
* {
    transition: all 0.3s ease;
}
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
.page-content h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.page-content h1 i {
    color: #667eea;
}
.groups-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto 2rem auto;
    width: 100%;
    max-width: 1200px;
    padding: 0;
    justify-content: center;
    place-items: stretch;
}
.group-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 2rem auto;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    padding: 0;
}
.search-container {
    position: relative;
    flex: 1;
    min-width: 250px;
}
.search-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 1;
}
.search-container input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid #e1e8ed;
    border-radius: 25px;
    background: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.search-container input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e1e8ed;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}
.tab-btn:hover {
    border-color: #667eea;
    background: rgba(78, 205, 196, 0.05);
}
.tab-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}
@media (max-width: 1200px) {
    .groups-container {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
        gap: 1.5rem;
    }
}
@media (max-width: 1024px) {
    .dashboard-content.groups-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .sidebar-right {
        order: -1;
        margin-bottom: 1rem;
    }
    .groups-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}
@media (max-width: 900px) {
    .groups-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
@media (max-width: 768px) {
    .group-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .search-container {
        min-width: auto;
    }
    .filter-tabs {
        justify-content: center;
    }
    .groups-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .dashboard-content.groups-layout {
        padding: 1rem;
    }
}
.group-card {
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    border: 2px solid transparent;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}
.group-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.1), transparent);
    transition: left 0.6s ease;
}
.group-card:hover::before {
    left: 100%;
}
.group-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #2d1b69, #667eea);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    animation: gradientShift 3s ease infinite;
    transition: opacity 0.3s ease;
}
.group-card:hover::after {
    opacity: 0.7;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 205, 196, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(78, 205, 196, 0);
    }
}
.group-card.pulse {
    animation: pulse 2s infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}
.stat-item:hover {
    animation: float 1s ease-in-out infinite;
}
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(78, 205, 196, 0.3); }
    50% { box-shadow: 0 0 20px rgba(78, 205, 196, 0.6); }
}
.quick-action-btn:hover {
    animation: glow 1.5s ease-in-out infinite;
}
.group-card[style*="display: none"] {
    display: none !important;
}
.group-card[style*="visibility: hidden"] {
    visibility: hidden !important;
    opacity: 0 !important;
}
.group-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(78, 205, 196, 0.4), 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(78, 205, 196, 0.5);
}
.group-card:active {
    transform: translateY(-3px) scale(1.01);
    transition: all 0.1s ease;
}
.group-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
    margin-bottom: 1rem;
}
.group-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #667eea;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    object-fit: cover;
    margin-right: 1rem;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
    position: relative;
}
.group-card:hover .group-avatar {
    transform: scale(1.15) rotate(5deg);
    border: 3px solid rgba(78, 205, 196, 0.8);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.5);
}
.group-avatar::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2, #2d1b69);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.group-card:hover .group-avatar::before {
    opacity: 1;
}
.group-info {
    flex: 1;
}
.group-info h3 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.group-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #b0b0b0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.admin-badge {
    color: #ffd700;
    font-size: 0.9rem;
    animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
    from { text-shadow: 0 0 5px #ffd700; }
    to { text-shadow: 0 0 15px #ffd700, 0 0 20px #ffd700; }
}
.privacy-badge {
    background: rgba(78, 205, 196, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(78, 205, 196, 0.3);
}
.group-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-group-action {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    color: #667eea;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-group-action:hover {
    background: rgba(78, 205, 196, 0.2);
    transform: scale(1.1);
}
.btn-join {
    background: #667eea;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-join:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}
.btn-join.active {
    background: rgba(78, 205, 196, 0.2);
    color: #667eea;
}
.btn-join.pending {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: #fff;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.btn-decline {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.btn-decline:hover {
    background: rgba(255, 107, 107, 0.2);
    transform: scale(1.05);
}
.group-actions-expanded {
    margin-top: 15px;
    padding: 15px;
    background: rgba(78, 205, 196, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(78, 205, 196, 0.2);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 100px;
    }
}
.btn-action {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    color: #667eea;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-action:hover {
    background: rgba(78, 205, 196, 0.2);
    transform: translateY(-2px);
}
.btn-action.danger {
    border-color: rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}
.btn-action.danger:hover {
    background: rgba(255, 107, 107, 0.2);
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none; 
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    display: flex; 
    opacity: 1;
}
#taskModal,
#scheduleModal {
    display: none !important;
}
#taskModal.active,
#scheduleModal.active {
    display: flex !important;
    opacity: 1;
}
.modal-content {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d1b69 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.modal-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    justify-content: between;
    align-items: center;
    color: white;
}
.modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
}
.modal-body {
    padding: 20px;
}
.management-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.management-option {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    color: #667eea;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}
.management-option:hover {
    background: rgba(78, 205, 196, 0.2);
    transform: translateX(5px);
}
.management-option.danger {
    border-color: rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}
.management-option.danger:hover {
    background: rgba(255, 107, 107, 0.2);
}
.invite-section, .invite-link-section {
    margin-bottom: 20px;
}
.invite-section label, .invite-link-section label {
    display: block;
    margin-bottom: 8px;
    color: #667eea;
    font-weight: 500;
}
.invite-section input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    margin-bottom: 10px;
}
.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}
.link-container {
    display: flex;
    gap: 10px;
}
.link-container input {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
}
.btn-copy {
    background: rgba(78, 205, 196, 0.2);
    border: 1px solid rgba(78, 205, 196, 0.3);
    color: #667eea;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-copy:hover {
    background: rgba(78, 205, 196, 0.3);
}
.members-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.member-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(78, 205, 196, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(78, 205, 196, 0.2);
}
.member-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #667eea;
}
.member-info {
    flex: 1;
}
.role-badge {
    background: rgba(78, 205, 196, 0.2);
    color: #667eea;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 10px;
}
.role-badge.admin {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}
.group-description {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}
.group-stats {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}
.group-stats span {
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid transparent;
}
.group-card:hover .group-stats span {
    background: rgba(78, 205, 196, 0.2);
    border: 1px solid rgba(78, 205, 196, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}
.group-stats i {
    color: #667eea;
    margin-right: 0.25rem;
    transition: all 0.3s ease;
}
.group-card:hover .group-stats i {
    color: #ffffff;
    transform: scale(1.2);
}
.create-group-section {
    text-align: center;
}
.btn-create-group {
    background: linear-gradient(135deg, #667eea, #5a6fd8);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-create-group:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.resource-category h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}
.btn-download,
.btn-play {
    background: #667eea;
    color: #ffffff;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-download:hover,
.btn-play:hover {
    background: #5a6fd8;
    transform: scale(1.1);
}
.upload-section {
    text-align: center;
}
.btn-upload {
    background: linear-gradient(135deg, #667eea, #5a6fd8);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-upload:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}
.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}
.schedule-title-section h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.schedule-title-section h1 i {
    color: #667eea;
    font-size: 2.2rem;
}
.schedule-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}
.schedule-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.btn-view-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.btn-view-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.btn-view-toggle.active {
    background: rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}
.btn-create-session {
    background: linear-gradient(135deg, #667eea, #5a6fd8);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}
.btn-create-session:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
.calendar-navigation {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}
.nav-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: scale(1.1);
}
.current-period {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.current-period h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}
.btn-today {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid #667eea;
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
}
.btn-today:hover {
    background: rgba(102, 126, 234, 0.3);
    color: #ffffff;
}
.view-filters {
    display: flex;
    justify-content: center;
}
.filter-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}
.filter-group input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}
.filter-group input[type="checkbox"]:checked {
    background: #667eea;
    border-color: #667eea;
}
.filter-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}
.filter-label {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.filter-label.study {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}
.filter-label.meeting {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}
.filter-label.exam {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}
.schedule-main-container {
    margin-bottom: 2rem;
}
.calendar-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 1rem;
}
.day-header {
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}
.calendar-day {
    background: rgba(255, 255, 255, 0.02);
    min-height: 120px;
    padding: 0.75rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.calendar-day:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
}
.calendar-day.today {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}
.calendar-day.other-month {
    opacity: 0.3;
}
.calendar-day.has-sessions {
    border-left: 3px solid #667eea;
}
.day-number {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.day-sessions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    overflow: hidden;
}
.session-indicator {
    background: rgba(102, 126, 234, 0.8);
    color: #ffffff;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.session-indicator:hover {
    background: #667eea;
    transform: scale(1.05);
}
.session-indicator.study {
    background: rgba(16, 185, 129, 0.8);
}
.session-indicator.meeting {
    background: rgba(59, 130, 246, 0.8);
}
.session-indicator.exam {
    background: rgba(239, 68, 68, 0.8);
}
.session-indicator.assignment {
    background: rgba(245, 158, 11, 0.8);
}
.more-sessions {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-size: 0.6rem;
    padding: 0.2rem;
    border-radius: 4px;
    cursor: pointer;
}
.schedule-list-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.upcoming-sessions-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.upcoming-sessions-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.session-count {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}
.session-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.session-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.session-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.session-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.session-item:hover::before {
    opacity: 1;
}
.session-item.study {
    border-left-color: #10b981;
}
.session-item.meeting {
    border-left-color: #3b82f6;
}
.session-item.exam {
    border-left-color: #ef4444;
}
.session-item.assignment {
    border-left-color: #f59e0b;
}
.session-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.session-time .time {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.25rem;
}
.session-time .date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}
.session-info {
    flex: 1;
}
.session-info h4 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}
.session-info p {
    margin: 0 0 0.75rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
.session-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.session-type {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-weight: 500;
}
.session-type.study {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}
.session-type.meeting {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}
.session-type.exam {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}
.session-type.assignment {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}
.session-priority {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.session-priority.low {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}
.session-priority.medium {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}
.session-priority.high {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}
.session-priority.urgent {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}
.session-actions {
    display: flex;
    gap: 0.5rem;
}
.btn-join-session {
    background: #667eea;
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}
.btn-join-session:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.btn-join-session.upcoming {
    background: rgba(16, 185, 129, 0.8);
}
.btn-join-session.upcoming:hover {
    background: #10b981;
}
.btn-join-session.past {
    background: rgba(156, 163, 175, 0.5);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
}
.mobile-schedule-container {
    display: none;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.mobile-stats-card,
.mobile-today-card,
.mobile-goals-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-stats-card h3,
.mobile-today-card h3,
.mobile-goals-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.25rem;
}
.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}
.today-sessions {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
}
.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.3);
}
.empty-state p {
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
}
.btn-quick-add {
    background: linear-gradient(135deg, #667eea, #5a6fd8);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}
.btn-quick-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.goals-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.goal-item {
    margin-bottom: 0;
}
.goal-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.goal-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}
.goal-progress {
    color: #667eea;
    font-size: 0.85rem;
    font-weight: 500;
}
.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #5a6fd8);
    border-radius: 4px;
    transition: width 0.8s ease;
    position: relative;
}
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progress-shine 2s ease-in-out infinite;
}
@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.schedule-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.session-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.session-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}
.session-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}
.session-time .time {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
}
.session-time .date {
    font-size: 0.8rem;
    color: #888;
}
.session-info {
    flex: 1;
}
.session-info h4 {
    margin: 0 0 0.25rem 0;
    color: #ffffff;
    font-size: 1rem;
}
.session-info p {
    margin: 0 0 0.5rem 0;
    color: #b0b0b0;
    font-size: 0.9rem;
}
.session-type {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    background: rgba(78, 205, 196, 0.2);
    color: #667eea;
}
.btn-join-session {
    background: #667eea;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-join-session:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}
.goal-item {
    margin-bottom: 1rem;
}
.goal-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.goal-title {
    color: #ffffff;
    font-weight: 500;
}
.goal-progress {
    color: #667eea;
    font-size: 0.9rem;
}
.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #5a6fd8);
    border-radius: 4px;
    transition: width 0.3s ease;
}
.btn-create-session {
    background: linear-gradient(135deg, #667eea, #5a6fd8);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-create-session:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}
.profile-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.profile-info {
    grid-column: 1 / -1;
}
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #667eea;
    box-shadow: 0 8px 32px rgba(78, 205, 196, 0.3);
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    cursor: pointer;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(78, 205, 196, 0.4);
    border-color: #45b7aa;
}
.profile-picture:active {
    transform: scale(0.98);
}
@keyframes profilePulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(78, 205, 196, 0.3);
    }
    50% {
        box-shadow: 0 12px 48px rgba(78, 205, 196, 0.5);
    }
}
.profile-picture.new-profile {
    animation: profilePulse 2s ease-in-out infinite;
}
.profile-picture,
.user-avatar,
.participant-avatar {
    background-color: #f8f9fa;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.default-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.default-avatar i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}
.participant-avatar.default-avatar {
    width: 80px;
    height: 80px;
    font-size: 28px;
}
.participant-avatar.default-avatar i {
    font-size: 28px;
}
.profile-picture {
    border: 4px solid transparent;
    background-clip: padding-box;
    position: relative;
}
.profile-picture::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #45b7aa, #2c3e50);
    z-index: -1;
}
img[src="profileImage.jpg"] {
    filter: contrast(1.05) brightness(1.02) saturate(1.1);
    image-rendering: -webkit-optimize-contrast;
}
.profile-details {
    flex: 1;
}
.profile-details h2 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1.8rem;
}
.profile-title {
    margin: 0 0 0.25rem 0;
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 500;
}
.profile-university {
    margin: 0;
    color: #b0b0b0;
    font-size: 1rem;
}
.btn-edit-profile {
    background: rgba(78, 205, 196, 0.2);
    color: #667eea;
    border: 2px solid #667eea;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-edit-profile:hover {
    background: #667eea;
    color: #ffffff;
}
.profile-stats {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}
.stat-label {
    font-size: 0.9rem;
    color: #b0b0b0;
}
.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    opacity: 0.5;
}
.achievement-item.earned {
    opacity: 1;
    background: rgba(78, 205, 196, 0.1);
}
.achievement-item i {
    font-size: 2rem;
    color: #667eea;
}
.achievement-info h4 {
    margin: 0 0 0.25rem 0;
    color: #ffffff;
}
.achievement-info p {
    margin: 0;
    color: #b0b0b0;
    font-size: 0.9rem;
}
.preference-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.preference-item span {
    color: #e0e0e0;
    font-weight: 500;
}
@media (max-width: 480px) {
    .message-content {
        padding: 0.4rem 0.6rem;
    }
    .message-content p {
        font-size: 0.8rem;
    }
    .message-name {
        font-size: 0.7rem;
    }
    .btn-send-message {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}
button:focus,
input:focus,
.group-item:focus,
.nav-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}
.typing-indicator .typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #667eea;
    animation: typingDots 1.4s ease-in-out infinite;
}
.typing-indicator .typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-indicator .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator .typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDots {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-10px); opacity: 1; }
}
.group-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.group-details-modal.active {
    opacity: 1;
    visibility: visible;
}
.group-details-container {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    height: 80%;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.group-details-modal.active .group-details-container {
    transform: scale(1);
}
.group-details-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}
.group-details-header .group-info h2 {
    margin: 0;
    font-size: 1.5rem;
}
.group-details-header .group-info p {
    margin: 5px 0 0 0;
    opacity: 0.9;
}
.close-group-details {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.close-group-details:hover {
    background: rgba(255, 255, 255, 0.2);
}
.group-details-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.group-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
}
.group-tab {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}
.group-tab:hover {
    background: rgba(78, 205, 196, 0.1);
    color: white;
}
.group-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: rgba(78, 205, 196, 0.1);
}
.group-tab i {
    margin-right: 8px;
}
.group-tab-content {
    flex: 1;
    padding: 20px;
    display: none;
    overflow-y: auto;
}
.group-tab-content.active {
    display: block;
}
.members-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}
.member-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(78, 205, 196, 0.2);
}
.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #667eea;
}
.member-info {
    flex: 1;
}
.member-name {
    display: block;
    font-weight: 600;
    color: white;
}
.member-role {
    font-size: 0.8rem;
    color: #667eea;
}
.member-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}
.member-status.online {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}
.member-status.offline {
    background: rgba(158, 158, 158, 0.2);
    color: #9E9E9E;
}
.files-list {
    margin-bottom: 20px;
}
.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(78, 205, 196, 0.2);
}
.file-item i {
    font-size: 1.2rem;
    color: #667eea;
}
.file-item span {
    flex: 1;
}
.btn-download {
    background: rgba(78, 205, 196, 0.2);
    border: 1px solid #667eea;
    color: #667eea;
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-download:hover {
    background: #667eea;
    color: white;
}
.upload-area {
    border: 2px dashed rgba(78, 205, 196, 0.5);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}
.upload-area:hover {
    border-color: #667eea;
    background: rgba(78, 205, 196, 0.05);
}
.planner-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.planner-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.section-header {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}
.section-header h2 {
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}
.plan-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.generator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-weight: 500;
    color: #fff;
    font-size: 14px;
}
.form-input {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}
.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.form-input option {
    background: #2a2a2a;
    color: #fff;
}
.subject-checkboxes,
.weekday-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease;
}
.checkbox-label:hover {
    color: #667eea;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}
.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.plan-overview {
    margin-bottom: 30px;
}
.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}
.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}
.plan-schedule {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.week-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.week-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.week-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.week-progress {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}
.day-schedule {
    display: grid;
    gap: 15px;
}
.day-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}
.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.day-name {
    font-weight: 600;
    color: #fff;
}
.day-hours {
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
}
.day-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.subject-tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}
.saved-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.plan-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}
.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.plan-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}
.plan-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 5px 0;
}
.plan-exam {
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
}
.plan-menu {
    position: relative;
}
.plan-menu-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.plan-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.plan-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}
.plan-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}
.plan-info-item i {
    color: #667eea;
    width: 16px;
}
.plan-progress {
    margin-top: 15px;
}
.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}
.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width 0.3s ease;
}
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.6);
}
.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.3);
}
.empty-state p {
    font-size: 16px;
    margin: 0;
}
.plan-modal {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}
.plan-modal .modal-body {
    padding: 0;
}
.plan-detail-section {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.plan-detail-section:last-child {
    border-bottom: none;
}
.plan-detail-section h4 {
    margin: 0 0 15px 0;
    color: #667eea;
    font-size: 16px;
    font-weight: 600;
}
.plan-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}
.plan-stat {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.plan-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}
.plan-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .plan-actions {
        width: 100%;
    }
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .saved-plans-grid {
        grid-template-columns: 1fr;
    }
    .plan-info {
        grid-template-columns: 1fr;
    }
    .plan-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .planner-section {
        padding: 20px;
    }
    .subject-checkboxes,
    .weekday-checkboxes {
        flex-direction: column;
        gap: 10px;
    }
    .overview-stats {
        grid-template-columns: 1fr;
    }
    .plan-stats {
        grid-template-columns: 1fr;
    }
}
.upload-area:hover {
    border-color: #667eea;
    background: rgba(78, 205, 196, 0.05);
}
.upload-area i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 10px;
}
.upload-area input {
    display: none;
}
.settings-section {
    max-width: 500px;
}
.setting-item {
    margin-bottom: 20px;
}
.setting-item label {
    display: block;
    margin-bottom: 8px;
    color: #667eea;
    font-weight: 500;
}
.setting-item input[type="text"],
.setting-item textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
}
.setting-item textarea {
    min-height: 80px;
    resize: vertical;
}
.btn-save-settings {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease;
}
.btn-save-settings:hover {
    transform: translateY(-2px);
}
.admin-actions {
    border-top: 1px solid rgba(78, 205, 196, 0.2);
    padding-top: 20px;
}
.btn-invite-members {
    background: rgba(78, 205, 196, 0.2);
    border: 1px solid #667eea;
    color: #667eea;
    padding: 12px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-invite-members:hover {
    background: #667eea;
    color: white;
}
@media (max-width: 768px) {
    .group-details-container {
        width: 95%;
        height: 90%;
    }
    .group-tabs {
        overflow-x: auto;
    }
    .group-tab {
        min-width: 120px;
        flex-shrink: 0;
    }
    .user-message,
    .other-message {
        max-width: 85%;
    }
}
.group-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}
.group-form-container {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.group-form-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.group-form-header h2 {
    margin: 0;
    color: white;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.form-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}
.group-creation-form {
    padding: 30px;
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
    background: rgba(255, 255, 255, 0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.form-group select option {
    background: #0f0f23;
    color: white;
}
.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}
.input-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    line-height: 1.4;
    padding: 8px 12px;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}
.input-hint i {
    color: #667eea;
    margin-right: 8px;
}
.subject-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(78, 205, 196, 0.1);
    font-size: 14px;
}
.suggestion-item:hover {
    background: rgba(78, 205, 196, 0.2);
    transform: translateX(5px);
}
.suggestion-item:last-child {
    border-bottom: none;
}
.form-group {
    position: relative;
}
.schedule-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}
.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal !important;
    color: white !important;
}
.checkbox-label:hover {
    background: rgba(78, 205, 196, 0.2);
    border-color: #667eea;
}
.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #667eea;
}
.checkbox-label input[type="checkbox"]:checked + span {
    color: #667eea;
    font-weight: 600;
}
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(78, 205, 196, 0.2);
}
.btn-cancel {
    flex: 1;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}
.btn-create-submit {
    flex: 2;
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-create-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}
.btn-create-submit:active {
    transform: translateY(0);
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@media (max-width: 768px) {
    .group-form-container {
        width: 95%;
        margin: 10px;
        max-height: 95vh;
    }
    .group-form-header {
        padding: 20px;
    }
    .group-form-header h2 {
        font-size: 1.2rem;
    }
    .group-creation-form {
        padding: 20px;
    }
    .form-actions {
        flex-direction: column;
    }
    .schedule-options {
        grid-template-columns: 1fr;
    }
    .checkbox-label {
        font-size: 14px;
    }
}
.new-group {
    border: 2px solid #667eea !important;
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.3) !important;
}
.group-level, .group-schedule {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #667eea;
    border: 1px solid rgba(78, 205, 196, 0.2);
}
.group-level i, .group-schedule i {
    margin-right: 8px;
}
@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(78, 205, 196, 0.3);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 8px 30px rgba(78, 205, 196, 0.5);
    }
}
.group-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    z-index: 20000;
}
.group-modal {
    width: 720px;
    max-width: 95%;
    background: linear-gradient(180deg, rgba(26,26,46,0.98), rgba(12,12,30,0.98));
    border-radius: 14px;
    border: 1px solid rgba(78,205,196,0.12);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.group-modal-header {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(78,205,196,0.06);
}
.group-modal-body {
    padding: 20px;
    display: grid;
    gap: 16px;
}
.group-modal .modal-desc {
    color: rgba(255,255,255,0.9);
}
.modal-stats { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.modal-members .member-list { list-style: none; padding-left: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.modal-members .member-list li { background: rgba(78,205,196,0.08); padding: 8px 10px; border-radius: 10px; font-size: 0.9rem; }
.modal-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.modal-actions .btn { padding: 10px 14px; border-radius: 8px; }
.modal-actions .danger { background: rgba(255,90,90,0.12); color: #ffb4b4; }
.visitor-badge { 
    font-size: 0.8rem; 
    color: #667eea; 
    font-weight: normal; 
}
.visitor-note { 
    background: rgba(78,205,196,0.1); 
    border: 1px solid rgba(78,205,196,0.2); 
    border-radius: 8px; 
    padding: 12px; 
    margin: 10px 0; 
    color: rgba(255,255,255,0.9); 
    font-size: 0.9rem; 
}
.member-list.preview { 
    opacity: 0.8; 
}
.member-list.preview li { 
    background: rgba(78,205,196,0.05); 
}
.member-actions-locked {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 16px;
    margin-top: 16px;
}
.member-actions-locked h4 {
    color: #ffb366;
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.locked-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.locked-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border-left: 3px solid rgba(255,179,102,0.3);
}
.locked-feature i {
    color: rgba(255,179,102,0.7);
    width: 20px;
    text-align: center;
}
.locked-feature span {
    flex: 1;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}
.locked-feature small {
    color: rgba(255,179,102,0.8);
    font-size: 0.8rem;
    font-style: italic;
}
.btn.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
}
.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(78,205,196,0.3);
}
.group-preview-popup { position: absolute; width: 320px; z-index: 15000; background: rgba(12,12,30,0.98); border: 1px solid rgba(78,205,196,0.12); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.group-preview-popup .preview-content { padding: 14px; }
.group-preview-popup h4 { margin: 0 0 6px 0; }
.group-preview-popup p { margin: 0 0 12px 0; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.group-preview-popup .preview-actions { display:flex; gap:8px; justify-content: flex-end; }
.group-preview-popup .btn.small { padding:6px 10px; border-radius:8px; }
@media (max-width: 600px) {
    .group-modal { width: calc(100% - 24px); }
    .group-preview-popup { width: calc(100% - 30px); left: 15px !important; top: auto !important; bottom: 120px !important; }
}
.new-resource {
    animation: slideInFromTop 0.5s ease-out;
    border: 2px solid #20b2aa !important;
    box-shadow: 0 5px 20px rgba(32, 178, 170, 0.3) !important;
}
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.resource-tags {
    margin-top: 8px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.resource-tags .tag {
    background: rgba(32, 178, 170, 0.2);
    border: 1px solid rgba(32, 178, 170, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    color: #20b2aa;
    font-weight: 500;
}
.resource-description {
    color: rgba(255, 255, 255, 0.7) !important;
    font-style: italic;
    margin-top: 5px !important;
    font-size: 13px !important;
}
.upload-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.upload-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.upload-modal {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(50px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}
.upload-modal-overlay.active .upload-modal {
    transform: translateY(0) scale(1);
}
.upload-modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.upload-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}
.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}
.upload-modal-body {
    padding: 30px;
}
.upload-step h3 {
    color: #667eea;
    font-size: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.category-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.category-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.category-option:hover {
    border-color: rgba(78, 205, 196, 0.5);
    background: rgba(78, 205, 196, 0.1);
    transform: translateY(-5px);
}
.category-option.selected {
    border-color: #667eea;
    background: rgba(78, 205, 196, 0.2);
}
.category-option i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 15px;
}
.category-option h4 {
    color: white;
    font-size: 18px;
    margin: 10px 0;
}
.category-option p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 15px;
}
.supported-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}
.format-tag {
    background: rgba(78, 205, 196, 0.2);
    border: 1px solid rgba(78, 205, 196, 0.3);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    color: #667eea;
    font-family: 'Courier New', monospace;
}
.selected-category-info {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #667eea;
    font-weight: 600;
}
.selected-category-info i {
    font-size: 20px;
}
.file-upload-area {
    border: 2px dashed rgba(78, 205, 196, 0.4);
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    background: rgba(78, 205, 196, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 25px;
}
.file-upload-area:hover {
    border-color: rgba(78, 205, 196, 0.7);
    background: rgba(78, 205, 196, 0.1);
}
.file-upload-area.drag-over {
    border-color: #667eea;
    background: rgba(78, 205, 196, 0.15);
    transform: scale(1.02);
}
.upload-placeholder i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 15px;
}
.upload-placeholder h4 {
    color: white;
    font-size: 18px;
    margin: 10px 0;
}
.upload-placeholder p {
    color: rgba(255, 255, 255, 0.7);
    margin: 15px 0;
}
.btn-browse {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-browse:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}
.file-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}
.file-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
}
.file-preview i {
    font-size: 32px;
    color: #667eea;
}
.file-info-upload {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.file-info-upload span:first-child {
    color: white;
    font-weight: 600;
}
.file-info-upload span:last-child {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}
.btn-remove-file {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.3);
    padding: 8px 12px;
    border-radius: 8px;
    color: #ff6b6b;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-remove-file:hover {
    background: rgba(255, 107, 107, 0.3);
    transform: scale(1.05);
}
.upload-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.upload-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}
.upload-form .form-group label {
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
}
.upload-form .form-group input,
.upload-form .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    color: white;
    font-size: 14px;
    transition: all 0.2s ease;
    resize: vertical;
}
.upload-form .form-group input:focus,
.upload-form .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}
.upload-form .form-group input::placeholder,
.upload-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.upload-form .form-group textarea {
    min-height: 80px;
}
.format-warning {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}
.format-warning i {
    color: #ff6b6b;
    font-size: 24px;
    margin-bottom: 10px;
}
.warning-content h4 {
    color: #ff6b6b;
    margin: 10px 0;
    font-size: 16px;
}
.warning-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}
.warning-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.btn-change-category,
.btn-convert {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    color: #ff6b6b;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}
.btn-change-category:hover,
.btn-convert:hover {
    background: rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}
.upload-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-back {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.btn-upload-file {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-upload-file:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}
.btn-upload-file:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
@media (max-width: 768px) {
    .upload-modal {
        width: 95%;
        margin: 20px;
        max-height: 85vh;
    }
    .upload-modal-header {
        padding: 20px;
    }
    .upload-modal-body {
        padding: 20px;
    }
    .category-selection {
        grid-template-columns: 1fr;
    }
    .category-option {
        padding: 20px;
    }
    .upload-actions {
        flex-direction: column-reverse;
    }
    .warning-actions {
        flex-direction: column;
    }
}
.schedule-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.schedule-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.schedule-modal {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(50px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}
.schedule-modal-overlay.active .schedule-modal {
    transform: translateY(0) scale(1);
}
.schedule-modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.schedule-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}
.schedule-modal-body {
    padding: 30px;
}
.schedule-step h3 {
    color: #667eea;
    font-size: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.session-type-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.session-type-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.session-type-option:hover {
    border-color: rgba(78, 205, 196, 0.5);
    background: rgba(78, 205, 196, 0.1);
    transform: translateY(-5px);
}
.session-type-option.selected {
    border-color: #667eea;
    background: rgba(78, 205, 196, 0.2);
}
.session-type-option i {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 12px;
}
.session-type-option h4 {
    color: white;
    font-size: 16px;
    margin: 8px 0;
}
.session-type-option p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 12px;
}
.type-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}
.feature-tag {
    background: rgba(78, 205, 196, 0.2);
    border: 1px solid rgba(78, 205, 196, 0.3);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    color: #667eea;
    font-weight: 500;
}
.selected-type-info {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #667eea;
    font-weight: 600;
}
.selected-type-info i {
    font-size: 20px;
}
.schedule-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.schedule-form .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.schedule-form .form-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}
.schedule-form .form-group label {
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.schedule-form .form-group input,
.schedule-form .form-group select,
.schedule-form .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    color: white;
    font-size: 14px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}
.schedule-form .form-group input:focus,
.schedule-form .form-group select:focus,
.schedule-form .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}
.schedule-form .form-group input::placeholder,
.schedule-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.schedule-form .form-group select option {
    background: #0f0f23;
    color: white;
}
.reminder-options,
.recurring-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}
.reminder-options .checkbox-label,
.recurring-options .checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal !important;
    color: white !important;
    font-size: 13px;
}
.reminder-options .checkbox-label:hover,
.recurring-options .checkbox-label:hover {
    background: rgba(78, 205, 196, 0.2);
    border-color: #667eea;
}
.reminder-options .checkbox-label input[type="checkbox"],
.recurring-options .checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #667eea;
}
.reminder-options .checkbox-label input[type="checkbox"]:checked + span,
.recurring-options .checkbox-label input[type="checkbox"]:checked + span {
    color: #667eea;
    font-weight: 600;
}
#recurringDetails {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
#recurringDetails select,
#recurringDetails input {
    flex: 1;
    min-width: 150px;
}
.schedule-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-create-schedule {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-create-schedule:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}
.btn-create-schedule:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.new-schedule-item {
    animation: slideInFromRight 0.5s ease-out;
    border: 2px solid #667eea !important;
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.3) !important;
}
.session-description {
    color: rgba(255, 255, 255, 0.7) !important;
    font-style: italic;
    margin-top: 5px !important;
    font-size: 12px !important;
}
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@media (max-width: 768px) {
    .schedule-modal {
        width: 95%;
        margin: 20px;
        max-height: 85vh;
    }
    .schedule-modal-header {
        padding: 20px;
    }
    .schedule-modal-body {
        padding: 20px;
    }
    .session-type-selection {
        grid-template-columns: 1fr;
    }
    .schedule-form .form-row {
        flex-direction: column;
    }
    .schedule-form .form-group {
        min-width: unset;
    }
    .schedule-actions {
        flex-direction: column-reverse;
    }
    .reminder-options,
    .recurring-options {
        flex-direction: column;
    }
    #recurringDetails {
        flex-direction: column;
    }
}
.profile-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.profile-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.profile-modal {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(50px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}
.profile-modal-overlay.active .profile-modal {
    transform: translateY(0) scale(1);
}
.profile-modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.profile-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}
.profile-modal-body {
    padding: 30px;
}
.profile-step h3 {
    color: #667eea;
    font-size: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.profile-edit-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.profile-section {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.profile-section:hover {
    border-color: rgba(78, 205, 196, 0.5);
    background: rgba(78, 205, 196, 0.1);
    transform: translateY(-5px);
}
.profile-section.selected {
    border-color: #667eea;
    background: rgba(78, 205, 196, 0.2);
}
.profile-section i {
    font-size: 36px;
    color: #667eea;
    margin-bottom: 12px;
}
.profile-section h4 {
    color: white;
    font-size: 15px;
    margin: 8px 0;
}
.profile-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-bottom: 12px;
}
.section-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}
.selected-section-info {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #667eea;
    font-weight: 600;
}
.selected-section-info i {
    font-size: 20px;
}
.edit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.edit-form .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.edit-form .form-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}
.edit-form .form-group label {
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.edit-form .form-group input,
.edit-form .form-group select,
.edit-form .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    color: white;
    font-size: 14px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}
.edit-form .form-group input:focus,
.edit-form .form-group select:focus,
.edit-form .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}
.edit-form .form-group input::placeholder,
.edit-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.edit-form .form-group select option {
    background: #0f0f23;
    color: white;
}
.current-photo {
    text-align: center;
    margin-bottom: 25px;
}
.current-photo h4 {
    color: #667eea;
    margin-bottom: 15px;
}
.photo-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(78, 205, 196, 0.1);
}
.preview-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #667eea;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 6px 24px rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.preview-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(78, 205, 196, 0.3);
}
.profile-picture::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #45b7aa, #3da58a);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.profile-header {
    position: relative;
}
.profile-picture:hover::before {
    opacity: 1;
}
.profile-picture,
.preview-image,
.user-avatar {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
}
.profile-picture[src=""],
.preview-image[src=""] {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(78, 205, 196, 0.05));
    position: relative;
}
.profile-picture[src=""]::after,
.preview-image[src=""]::after {
    content: '👤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(78, 205, 196, 0.4);
}
.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-preview-overlay.show {
    opacity: 1;
    visibility: visible;
}
.image-preview-modal {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}
.image-preview-overlay.show .image-preview-modal {
    transform: scale(1);
}
.image-preview-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.image-preview-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.4rem;
}
.close-preview {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.close-preview:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}
.image-preview-body {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.preview-full-image {
    max-width: 500px;
    max-height: 500px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}
.image-preview-actions {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    gap: 15px;
}
.btn-change-photo {
    background: linear-gradient(135deg, #667eea, #45b7aa);
    border: none;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.btn-change-photo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}
@media (max-width: 768px) {
    .image-preview-modal {
        max-width: 95vw;
        max-height: 95vh;
    }
    .preview-full-image {
        max-width: 350px;
        max-height: 350px;
    }
    .image-preview-header,
    .image-preview-body,
    .image-preview-actions {
        padding: 15px;
    }
}
.photo-upload-area {
    border: 2px dashed rgba(78, 205, 196, 0.4);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    background: rgba(78, 205, 196, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}
.photo-upload-area:hover {
    border-color: rgba(78, 205, 196, 0.7);
    background: rgba(78, 205, 196, 0.1);
}
.photo-upload-area.drag-over {
    border-color: #667eea;
    background: rgba(78, 205, 196, 0.15);
    transform: scale(1.02);
}
.photo-upload-area i {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 12px;
}
.photo-upload-area h4 {
    color: white;
    margin: 10px 0;
}
.photo-upload-area p {
    color: rgba(255, 255, 255, 0.7);
    margin: 10px 0;
}
.photo-upload-area small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}
.photo-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}
.btn-remove-photo {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    color: #ff6b6b;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}
.btn-remove-photo:hover {
    background: rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}
.preference-options,
.privacy-options,
.study-preferences {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 15px 0 25px 0;
}
.preference-options .checkbox-label,
.study-preferences .checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal !important;
    color: white !important;
    font-size: 14px;
}
.preference-options .checkbox-label:hover,
.study-preferences .checkbox-label:hover {
    background: rgba(78, 205, 196, 0.2);
    border-color: #667eea;
}
.preference-options .checkbox-label input[type="checkbox"],
.study-preferences .checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #667eea;
}
.preference-options .checkbox-label input[type="checkbox"]:checked + span,
.study-preferences .checkbox-label input[type="checkbox"]:checked + span {
    color: #667eea;
    font-weight: 600;
}
.privacy-options .form-group {
    margin-bottom: 15px;
}
.profile-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-save-profile {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-save-profile:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}
.btn-save-profile:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.profile-updated {
    animation: profilePulse 0.6s ease-out;
    border: 2px solid #667eea !important;
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.3) !important;
}
@keyframes profilePulse {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.02);
    }
}
@media (max-width: 768px) {
    .profile-modal {
        width: 95%;
        margin: 20px;
        max-height: 85vh;
    }
    .profile-modal-header {
        padding: 20px;
    }
    .profile-modal-body {
        padding: 20px;
    }
    .profile-edit-sections {
        grid-template-columns: 1fr;
    }
    .edit-form .form-row {
        flex-direction: column;
    }
    .edit-form .form-group {
        min-width: unset;
    }
    .profile-actions {
        flex-direction: column-reverse;
    }
    .preference-options,
    .privacy-options,
    .study-preferences {
        gap: 10px;
    }
}
@media (max-width: 768px) {
    .group-actions {
        flex-wrap: wrap;
        gap: 8px;
    }
    .btn-group-action {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    .group-actions-expanded {
        flex-direction: column;
        gap: 8px;
    }
    .btn-action {
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
    }
    .admin-badge {
        font-size: 0.8rem;
    }
    .group-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .group-info {
        width: 100%;
    }
    .group-actions {
        width: 100%;
        justify-content: space-between;
    }
}
@media (max-width: 480px) {
    .group-card {
        padding: 15px;
    }
    .group-header {
        gap: 8px;
    }
    .group-avatar {
        width: 50px;
        height: 50px;
    }
    .btn-group-action {
        width: 28px;
        height: 28px;
        padding: 4px;
        font-size: 0.8rem;
    }
    .btn-join {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    .group-actions {
        gap: 6px;
    }
    .admin-badge {
        display: none;
    }
    .group-info h3::after {
        content: " 👑";
        color: #ffd700;
        font-size: 0.8rem;
    }
    .card.group-card[data-user-role="admin"] .group-info h3::after {
        display: inline;
    }
}
.manage-group-modal {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}
.manage-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(78, 205, 196, 0.2);
}
.tab-btn {
    background: transparent;
    border: none;
    color: #667eea;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}
.tab-btn:hover {
    background: rgba(78, 205, 196, 0.1);
}
.tab-btn.active {
    background: rgba(78, 205, 196, 0.2);
    border-bottom: 2px solid #667eea;
}
.tab-content {
    min-height: 400px;
}
.members-list {
    margin-bottom: 20px;
}
.member-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(78, 205, 196, 0.05);
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(78, 205, 196, 0.1);
}
.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #667eea;
}
.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.member-name {
    font-weight: 500;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.member-role {
    font-size: 0.8rem;
    color: #667eea;
    opacity: 0.8;
}
.member-actions {
    display: flex;
    gap: 8px;
}
.btn-member-action {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    color: #667eea;
    padding: 6px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-member-action:hover {
    background: rgba(78, 205, 196, 0.2);
    transform: scale(1.1);
}
.admin-label {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #2c3e50;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}
.invite-section {
    padding: 20px;
    background: rgba(78, 205, 196, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(78, 205, 196, 0.2);
}
.invite-input-group {
    display: flex;
    gap: 10px;
}
.invite-input-group input {
    flex: 1;
}
.btn-invite-send {
    background: #667eea;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-invite-send:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}
.settings-section .form-group {
    margin-bottom: 20px;
}
.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}
.radio-option input[type="radio"] {
    margin: 0;
}
.danger-zone {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 10px;
}
.danger-zone h4 {
    color: #ff6b6b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-danger {
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-danger:hover {
    background: #ff5252;
    transform: scale(1.05);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}
.stat-card {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 15px;
}
.stat-card i {
    font-size: 1.5rem;
    color: #667eea;
}
.stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
}
.stat-label {
    font-size: 0.8rem;
    color: #e0e0e0;
    opacity: 0.8;
}
.activity-chart h4 {
    color: #667eea;
    margin-bottom: 15px;
}
.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(78, 205, 196, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
    border-left: 3px solid #667eea;
}
.activity-item i {
    color: #667eea;
    width: 16px;
}
.activity-time {
    margin-left: auto;
    font-size: 0.8rem;
    color: #e0e0e0;
    opacity: 0.6;
}
@media (max-width: 768px) {
    .manage-group-modal {
        width: 95%;
        max-height: 95vh;
    }
    .manage-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }
    .tab-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .member-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .member-actions {
        align-self: flex-end;
    }
    .invite-input-group {
        flex-direction: column;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .stat-card {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    .stat-info {
        align-items: center;
    }
}
@media (max-width: 480px) {
    .manage-tabs {
        flex-direction: column;
    }
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    .member-item {
        padding: 10px;
    }
    .member-avatar {
        width: 35px;
        height: 35px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    .modal-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
.resource-item.new-resource {
    animation: slideInFromTop 0.5s ease-out;
}
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.file-description {
    margin-top: 4px;
    font-size: 0.8rem;
    color: #b0b0b0;
    line-height: 1.3;
}
.file-tags {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.file-tags .tag {
    background: rgba(78, 205, 196, 0.2);
    color: #667eea;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    border: 1px solid rgba(78, 205, 196, 0.3);
}
.resource-item .pdf-icon {
    color: #ff6b6b;
}
.resource-item .py-icon {
    color: #3776ab;
}
.resource-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.btn-download,
.btn-play,
.btn-view {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 80px;
    justify-content: center;
    text-decoration: none;
}
.btn-view {
    background: linear-gradient(135deg, #667eea, #764ba2);
}
.btn-view:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
.btn-download:hover,
.btn-play:hover {
    background: linear-gradient(135deg, #5a6fd8, #3a8f7a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}
.btn-download:active,
.btn-play:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
}
.btn-download.downloading {
    background: linear-gradient(135deg, #ffa726, #ff9800);
    cursor: wait;
    pointer-events: none;
}
.btn-download.downloading i {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.btn-play {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}
.btn-play:hover {
    background: linear-gradient(135deg, #ff5252, #e53935);
}
.download-text,
.action-text {
    font-size: 0.8rem;
}
.video-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.download-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 0 0 8px 8px;
    width: 0%;
    transition: width 0.3s ease;
}
.resource-item {
    position: relative;
    overflow: hidden;
}
.resource-item.downloading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 0 0 8px 8px;
    width: 100%;
    animation: downloadProgress 2s ease-in-out;
}
@keyframes downloadProgress {
    from { width: 0%; }
    to { width: 100%; }
}
.resource-item.download-success {
    animation: downloadSuccess 0.6s ease-out;
}
@keyframes downloadSuccess {
    0% { transform: scale(1); }
    50% { 
        transform: scale(1.05);
        background: rgba(78, 205, 196, 0.2);
        box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
    }
    100% { 
        transform: scale(1);
        background: transparent;
    }
}
@media (max-width: 768px) {
    .download-text,
    .action-text {
        display: none;
    }
    .btn-download,
    .btn-play,
    .btn-view {
        min-width: auto;
        padding: 8px;
        border-radius: 50%;
        width: 36px;
        height: 36px;
    }
    .resource-actions,
    .video-actions {
        gap: 6px;
    }
}
@media (max-width: 480px) {
    .resource-actions,
    .video-actions {
        width: 100%;
        justify-content: space-between;
    }
    .btn-download,
    .btn-play,
    .btn-view {
        flex: 1;
        max-width: 50px;
    }
}
.video-player-modal {
    max-width: 800px;
    width: 95%;
}
.video-container {
    margin-bottom: 20px;
}
.video-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(78, 205, 196, 0.3);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.video-placeholder h3 {
    color: #667eea;
    margin: 0 0 15px 0;
}
.video-placeholder p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.5;
}
.video-info {
    background: rgba(78, 205, 196, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    text-align: left;
    max-width: 300px;
}
.video-info p {
    margin: 5px 0;
    color: #e0e0e0;
}
.video-controls {
    margin-top: 20px;
}
.video-control-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    margin-bottom: 0;
}
.video-control-btn:hover {
    background: linear-gradient(135deg, #ff5252, #e53935);
}
.video-actions-modal {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.video-actions-modal .btn-download {
    background: linear-gradient(135deg, #667eea, #764ba2);
}
@media (max-width: 768px) {
    .video-placeholder {
        padding: 30px 15px;
        min-height: 250px;
    }
    .video-placeholder i {
        font-size: 3rem !important;
    }
    .video-actions-modal {
        flex-direction: column;
    }
    .video-actions-modal button {
        width: 100%;
    }
}
.document-viewer-modal {
    max-width: 900px;
    width: 95%;
    max-height: 95vh;
}
.document-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}
.btn-document-action {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    color: #667eea;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}
.btn-document-action:hover {
    background: rgba(78, 205, 196, 0.2);
    transform: scale(1.1);
}
.document-info {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(78, 205, 196, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(78, 205, 196, 0.2);
}
.file-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e0e0e0;
    font-size: 0.9rem;
}
.meta-item i {
    color: #667eea;
    width: 16px;
}
.document-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    max-height: 500px;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}
.document-content::-webkit-scrollbar {
    width: 8px;
}
.document-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.document-content::-webkit-scrollbar-thumb {
    background: rgba(78, 205, 196, 0.3);
    border-radius: 4px;
}
.document-content::-webkit-scrollbar-thumb:hover {
    background: rgba(78, 205, 196, 0.5);
}
.language-code {
    background: rgba(0, 0, 0, 0.3);
    color: #e0e0e0;
    font-family: 'Courier New', Monaco, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #667eea;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}
.pdf-content {
    color: #e0e0e0;
}
.pdf-page {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.pdf-page h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.pdf-text {
    margin-top: 15px;
    font-family: serif;
    line-height: 1.8;
}
.text-content {
    color: #e0e0e0;
    line-height: 1.8;
}
.text-content p {
    margin-bottom: 15px;
}
.document-actions-modal {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid rgba(78, 205, 196, 0.2);
}
.document-actions-modal .btn-download {
    background: linear-gradient(135deg, #667eea, #764ba2);
}
.language-code .keyword {
    color: #ff6b6b;
    font-weight: bold;
}
.language-code .string {
    color: #667eea;
}
.language-code .comment {
    color: #6c757d;
    font-style: italic;
}
.language-code .function {
    color: #ffd93d;
}
.language-code .number {
    color: #a8e6cf;
}
.document-content:fullscreen {
    background: #0f0f23;
    color: #e0e0e0;
    padding: 40px;
    font-size: 1.1rem;
}
.document-content:-webkit-full-screen {
    background: #0f0f23;
    color: #e0e0e0;
    padding: 40px;
    font-size: 1.1rem;
}
.document-content:-moz-full-screen {
    background: #0f0f23;
    color: #e0e0e0;
    padding: 40px;
    font-size: 1.1rem;
}
@media (max-width: 768px) {
    .document-viewer-modal {
        width: 98%;
        max-height: 98vh;
    }
    .file-meta {
        flex-direction: column;
        gap: 10px;
    }
    .document-content {
        padding: 15px;
        max-height: 400px;
        font-size: 0.9rem;
    }
    .document-controls {
        gap: 5px;
    }
    .btn-document-action {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    .document-actions-modal {
        flex-direction: column;
    }
    .document-actions-modal button {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .auth-modal-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .document-controls {
        align-self: flex-end;
    }
    .language-code {
        font-size: 0.8rem;
        padding: 10px;
    }
}
.auth-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    padding: 0 20px;
}
.btn-auth {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.btn-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}
.btn-auth:hover::before {
    left: 100%;
}
.btn-auth:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}
.btn-login {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}
.btn-login:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-signup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}
.btn-signup:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.35);
    transform: translateY(-2px);
}
.user-section {
    margin-left: auto;
    padding: 0 20px;
}
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #667eea;
    object-fit: cover;
}
.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.user-name {
    color: #e0e0e0;
    font-weight: 500;
    font-size: 0.9rem;
}
.user-email {
    color: #667eea;
    font-size: 0.8rem;
    opacity: 0.8;
}
.user-dropdown {
    position: relative;
}
.dropdown-toggle {
    background: transparent;
    border: none;
    color: #667eea;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.dropdown-toggle:hover {
    background: rgba(78, 205, 196, 0.1);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1000;
}
.dropdown-menu.show {
    display: block;
    animation: dropdownSlide 0.3s ease-out;
}
@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.dropdown-item:hover {
    background: rgba(78, 205, 196, 0.1);
    color: #667eea;
}
.dropdown-item.logout-item:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}
.dropdown-divider {
    height: 1px;
    background: rgba(78, 205, 196, 0.2);
    margin: 8px 0;
}
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.auth-modal {
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
}
.auth-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 15px;
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
}
.auth-modal-header h2 {
    color: #667eea;
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-modal-body {
    padding: 25px;
}
.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.auth-form .form-group {
    margin-bottom: 20px;
}
.auth-form label {
    display: block;
    color: #667eea;
    margin-bottom: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.auth-form input,
.auth-form select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}
.password-input-group {
    position: relative;
}
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #667eea;
    cursor: pointer;
    padding: 4px;
}
.password-strength {
    margin-top: 8px;
}
.strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}
.strength-bar::after {
    content: '';
    display: block;
    height: 100%;
    background: #ff6b6b;
    width: 0%;
    transition: all 0.3s ease;
}
.strength-bar.weak::after { width: 25%; background: #ff6b6b; }
.strength-bar.fair::after { width: 50%; background: #ffa726; }
.strength-bar.good::after { width: 75%; background: #66bb6a; }
.strength-bar.strong::after { width: 100%; background: #667eea; }
.strength-text {
    font-size: 0.8rem;
    color: #b0b0b0;
}
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
    font-size: 0.9rem;
    cursor: pointer;
}
.forgot-password,
.terms-link,
.privacy-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}
.forgot-password:hover,
.terms-link:hover,
.privacy-link:hover {
    text-decoration: underline;
}
.btn-auth-submit {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    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;
}
.btn-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.3);
}
.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(78, 205, 196, 0.2);
}
.auth-footer p {
    color: #b0b0b0;
    margin: 0;
}
.link-btn {
    background: transparent;
    border: none;
    color: #667eea;
    cursor: pointer;
    text-decoration: underline;
    font-size: inherit;
}
.link-btn:hover {
    color: #5a6fd8;
}
.content-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
}
.content-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.content-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}
.form-input:focus {
    outline: none;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}
.btn.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}
.btn.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}
.modal-overlay {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px);
}
.modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(16, 16, 35, 0.95) 100%) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
}
.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
}
.plan-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.plan-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}
.form-input.error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1) !important;
}
.error-message {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
@media (max-width: 768px) {
    .auth-section {
        padding: 0 10px;
        gap: 8px;
    }
    .btn-auth span {
        display: none;
    }
    .btn-auth {
        padding: 8px;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        justify-content: center;
    }
    .user-info {
        display: none;
    }
    .auth-modal {
        width: 95%;
        margin: 10px;
    }
    .auth-modal-body {
        padding: 20px;
    }
    .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    .content-header h1 {
        font-size: 2rem;
    }
    .content-header p {
        font-size: 1rem;
    }
}
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}
.notification {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border-left: 4px solid #667eea;
    padding: 16px 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
}
.notification.show {
    transform: translateX(0);
}
.notification.success {
    border-left-color: #2ecc71;
}
.notification.error {
    border-left-color: #e74c3c;
}
.notification.warning {
    border-left-color: #f39c12;
}
.notification.info {
    border-left-color: #667eea;
}
.notification i {
    font-size: 1.2rem;
    flex-shrink: 0;
}
.notification .message {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}
.notification .close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.notification .close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}
@media (max-width: 768px) {
    .notification-container {
        left: 10px;
        right: 10px;
        top: 80px;
        max-width: none;
    }
    .notification {
        min-width: unset;
        transform: translateY(-100px);
    }
    .notification.show {
        transform: translateY(0);
    }
}
.format-toggle {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}
.toggle-buttons {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}
.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.toggle-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
.toggle-btn i {
    font-size: 16px;
}
.format-view {
    display: none;
    animation: fadeIn 0.5s ease;
}
.format-view.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.flowchart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}
.flowchart-header {
    text-align: center;
    margin-bottom: 30px;
}
.flowchart-header h3 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.flowchart-header p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 16px;
}
.flowchart-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}
.flowchart-node {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 500px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.flowchart-node:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.flowchart-node.expanded {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.8);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}
.week-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.week-flowchart-details {
    display: grid;
    gap: 15px;
}
.day-flowchart-node {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.day-name {
    font-weight: bold;
    color: #ffc107;
    font-size: 14px;
}
.day-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}
.day-subjects-flow {
    display: grid;
    gap: 10px;
}
.subject-flow-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    border-left: 3px solid #667eea;
}
.subject-flow-item .subject-name {
    font-weight: bold;
    color: white;
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
}
.subject-flow-item .subject-hours {
    color: #ffc107;
    font-size: 12px;
    font-weight: bold;
}
.subject-topics {
    margin-top: 8px;
}
.subject-topics small {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    margin: 2px 3px;
}
.start-node, .end-node {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    max-width: 300px;
}
.week-node {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-color: rgba(102, 126, 234, 0.5);
}
.node-content {
    text-align: center;
    color: white;
}
.node-content h4 {
    margin: 10px 0 5px 0;
    font-size: 18px;
}
.node-content p {
    margin: 0;
    opacity: 0.8;
    font-size: 14px;
}
.week-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}
.week-subjects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}
.subject-pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: white;
}
.week-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    font-size: 14px;
}
.week-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.8;
}
.flowchart-connector {
    width: 3px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
    border-radius: 2px;
    position: relative;
}
.flowchart-connector::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid rgba(255, 255, 255, 0.5);
}
.table-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}
.table-header {
    text-align: center;
    margin-bottom: 30px;
}
.table-header h3 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.table-header p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 16px;
}
.study-table-wrapper {
    overflow-x: auto;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.study-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.study-table th {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
.study-table th i {
    margin-right: 8px;
    opacity: 0.8;
}
.study-table td {
    padding: 12px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: top;
}
.study-day-row:hover {
    background: rgba(255, 255, 255, 0.05);
}
.study-day-row.completed {
    background: rgba(40, 167, 69, 0.2);
    border-left: 4px solid #28a745;
}
.week-separator td {
    padding: 20px 12px;
    background: rgba(102, 126, 234, 0.2);
    border: none;
}
.week-separator-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}
.week-number {
    font-size: 16px;
    color: white;
}
.week-range {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}
.date-cell {
    font-weight: 600;
    min-width: 120px;
}
.day-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}
.total-hours {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}
.subjects-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.subject-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
}
.subject-duration {
    font-weight: bold;
    color: #ffc107;
}
.topics-list {
    max-width: 300px;
}
.subject-topics {
    margin-bottom: 15px;
}
.subject-topics strong {
    color: #ffc107;
    font-size: 13px;
}
.subject-topics ul {
    margin: 5px 0 0 0;
    padding-left: 15px;
}
.subject-topics li {
    font-size: 12px;
    margin: 3px 0;
    color: rgba(255, 255, 255, 0.8);
}
.progress-checkbox {
    display: flex;
    justify-content: center;
}
.progress-checkbox input[type="checkbox"] {
    display: none;
}
.progress-checkbox label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}
.progress-checkbox label:hover {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}
.progress-checkbox input[type="checkbox"]:checked + label {
    background: #28a745;
    border-color: #28a745;
    transform: scale(1.1);
}
.progress-checkbox input[type="checkbox"]:checked + label i {
    opacity: 1;
    transform: scale(1.2);
}
.progress-checkbox label i {
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 14px;
}
@media (max-width: 768px) {
    .format-toggle {
        padding: 0 10px;
    }
    .toggle-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    .toggle-btn span {
        display: none;
    }
    .flowchart-container,
    .table-container {
        padding: 20px 15px;
        margin: 15px 0;
    }
    .flowchart-header h3,
    .table-header h3 {
        font-size: 20px;
    }
    .flowchart-node {
        padding: 15px;
    }
    .study-table-wrapper {
        font-size: 12px;
    }
    .study-table th,
    .study-table td {
        padding: 8px 6px;
    }
    .topics-list {
        max-width: 200px;
    }
    .week-stats {
        flex-direction: column;
        gap: 8px;
    }
}
@media (max-width: 480px) {
    .toggle-buttons {
        width: 100%;
    }
    .toggle-btn {
        flex: 1;
        justify-content: center;
    }
    .flowchart-container,
    .table-container {
        padding: 15px 10px;
    }
    .flowchart-node {
        padding: 12px;
        max-width: 100%;
    }
    .week-subjects {
        gap: 5px;
    }
    .subject-pill {
        font-size: 11px;
        padding: 3px 8px;
    }
    .study-table {
        font-size: 11px;
    }
    .topics-list {
        max-width: 150px;
    }
}
#videoCallModal {
    display: none;
}
#videoCallModal.show {
    display: flex;
}
#joinCallModal {
    display: none;
}
#joinCallModal.show {
    display: flex;
}
.video-call-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f0f23;
    display: flex;
    flex-direction: column;
    z-index: 10000;
}
.video-call-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.call-info h3 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 18px;
}
.call-duration {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-family: monospace;
}
.participant-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.header-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.header-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}
.minimize-btn:hover {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}
.end-meeting-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}
.video-call-content {
    flex: 1;
    display: flex;
    position: relative;
}
.main-video-area {
    flex: 1;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.local-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    border-radius: 0;
}
#previewVideo,
#localVideo {
    transform: scaleX(-1); 
}
.remote-videos {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    max-width: 400px;
}
.remote-video {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.video-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}
.call-sidebar {
    width: 300px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}
.sidebar-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-tab {
    flex: 1;
    padding: 15px 10px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: 14px;
}
.sidebar-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}
.sidebar-tab.active {
    color: #667eea;
    border-bottom: 2px solid #667eea;
    background: rgba(102, 126, 234, 0.1);
}
.sidebar-content {
    flex: 1;
    overflow-y: auto;
}
.tab-content {
    display: none;
    height: 100%;
}
.tab-content.active {
    display: flex;
    flex-direction: column;
}
.participants-list {
    padding: 20px;
}
.participant-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: background 0.2s ease;
}
.participant-item:hover {
    background: rgba(255, 255, 255, 0.05);
}
.participant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.participant-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.participant-name {
    color: white;
    font-weight: 500;
    font-size: 14px;
}
.participant-status {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}
.participant-controls {
    display: flex;
    gap: 8px;
}
.participant-controls i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}
.participant-controls i.muted {
    color: #ff6b6b;
}
.video-call-controls {
    padding: 25px 20px 20px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.control-group {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.primary-controls {
    gap: 25px;
}
.secondary-controls {
    gap: 15px;
}
.control-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}
.control-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    min-width: 60px;
    transition: color 0.3s ease;
}
.control-item:hover .control-label {
    color: white;
}
.control-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    position: relative;
}
.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.control-btn.active {
    background: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
.control-btn.muted {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border-color: #ff6b6b;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}
.control-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
.end-call-item {
    position: relative;
}
.end-call-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border-color: #ff6b6b;
    width: 64px;
    height: 64px;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}
.end-call-btn:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #d32f2f 100%);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
}
.end-call-item .control-label {
    color: #ff9999;
    font-weight: 600;
}
.end-call-item:hover .control-label {
    color: #ff6b6b;
}
.call-status-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5px;
}
.status-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 500;
}
.status-item i {
    font-size: 8px;
}
#connectionStatus {
    color: #4caf50;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.recording-indicator {
    color: #ff6b6b;
    animation: recordingBlink 1s infinite;
}
@keyframes recordingBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}
.more-options-menu {
    position: absolute;
    bottom: 120px;
    right: 20px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.more-options-menu.show {
    display: block;
}
.option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}
.option-item:hover {
    background: rgba(255, 255, 255, 0.1);
}
.option-item i {
    width: 16px;
    color: rgba(255, 255, 255, 0.7);
}
.option-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}
.danger-option {
    color: #ff6b6b;
}
.danger-option i {
    color: #ff6b6b;
}
.danger-option:hover {
    background: rgba(255, 107, 107, 0.1);
}
.call-stats-modal,
.help-modal,
.report-modal {
    max-width: 500px;
    margin: 5vh auto;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}
.stat-good {
    color: #4CAF50;
}
.help-section {
    margin-bottom: 25px;
}
.help-section h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 16px;
}
.help-section ul {
    list-style: none;
    padding: 0;
}
.help-section li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.help-section li:last-child {
    border-bottom: none;
}
kbd {
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.report-form {
    margin-top: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
}
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: inherit;
}
.form-group textarea {
    height: 100px;
    resize: vertical;
}
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
}
.btn:hover {
    transform: translateY(-1px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #5855eb, #7c3aed);
}
.control-button.recording {
    animation: recordingPulse 1.5s ease-in-out infinite;
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}
@keyframes recordingPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}
.control-button.sharing {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    animation: sharingGlow 2s ease-in-out infinite;
}
@keyframes sharingGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
    }
}
.join-call-container {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(16, 16, 35, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    border: 1px solid rgba(102, 126, 234, 0.3);
    overflow: hidden;
}
.join-call-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #667eea, #764ba2);
}
.join-call-header h3 {
    color: white;
    margin: 0;
    font-size: 20px;
}
.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}
.join-call-preview {
    position: relative;
    padding: 20px;
}
.join-call-preview video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    background: #000;
    transform: scaleX(-1); 
}
.preview-controls {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.preview-control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.preview-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}
.preview-control-btn.muted {
    background: #ff6b6b;
}
.join-call-form {
    padding: 25px;
}
.device-settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    color: white;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.join-call-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
@media (max-width: 768px) {
    .call-sidebar {
        position: absolute;
        top: 0;
        right: -300px;
        height: 100%;
        transition: right 0.3s ease;
        z-index: 100;
    }
    .call-sidebar.open {
        right: 0;
    }
    .video-call-controls {
        padding: 20px 15px 15px;
        gap: 12px;
    }
    .control-group {
        gap: 15px;
    }
    .primary-controls {
        gap: 18px;
    }
    .secondary-controls {
        gap: 12px;
    }
    .control-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .end-call-btn {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    .control-label {
        font-size: 11px;
        min-width: 50px;
    }
    .call-status-bar {
        gap: 15px;
        padding: 6px 12px;
    }
    .status-item {
        font-size: 11px;
    }
    .remote-videos {
        top: 10px;
        right: 10px;
        max-width: 150px;
    }
    .remote-video {
        width: 120px;
        height: 90px;
    }
    .join-call-container {
        width: 95%;
        margin: 20px auto;
    }
    .device-settings {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .join-call-actions {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .video-call-header {
        padding: 10px 15px;
    }
    .call-info h3 {
        font-size: 16px;
    }
    .video-call-controls {
        padding: 10px;
        gap: 8px;
    }
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .secondary-controls {
        gap: 8px;
    }
    .secondary-controls .control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .secondary-controls .control-label {
        font-size: 10px;
        min-width: 40px;
    }
    .call-status-bar {
        display: none;
    }
    .remote-videos {
        display: none;
    }
    .header-actions {
        gap: 5px;
    }
    .header-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .meeting-options {
        gap: 10px;
    }
    .option-card {
        padding: 12px;
        gap: 12px;
    }
    .option-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .option-content h4 {
        font-size: 14px;
    }
    .option-content p {
        font-size: 12px;
    }
}
.call-options {
    padding: 20px !important;
}
.call-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.call-button-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.call-button-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.call-button-item i {
    font-size: 18px;
    color: #667eea;
    width: 20px;
    text-align: center;
}
.btn-video-call,
.btn-audio-call {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-video-call:hover,
.btn-audio-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
.btn-audio-call {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.btn-audio-call:hover {
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}
#endMeetingModal {
    display: none;
}
#endMeetingModal.show {
    display: flex;
}
.end-meeting-container {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(16, 16, 35, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    margin: auto;
    border: 1px solid rgba(255, 107, 107, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.end-meeting-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}
.end-meeting-header i {
    font-size: 24px;
    color: white;
}
.end-meeting-header h3 {
    color: white;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}
.end-meeting-content {
    padding: 25px;
}
.end-meeting-content > p {
    color: white;
    font-size: 16px;
    margin: 0 0 20px 0;
    text-align: center;
}
.meeting-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}
.info-item i {
    color: #667eea;
    width: 16px;
    text-align: center;
}
.warning-text {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 8px;
    color: #ffab91;
    font-size: 13px;
}
.warning-text i {
    color: #ff6b6b;
    font-size: 16px;
}
.meeting-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}
.option-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}
.option-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.option-card.selected {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}
.leave-option.selected {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}
.end-option.selected {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}
.option-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    font-size: 20px;
    color: white;
}
.leave-option .option-icon {
    background: linear-gradient(135deg, #ffc107, #ff8f00);
}
.end-option .option-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}
.option-content {
    flex: 1;
}
.option-content h4 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}
.option-content p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-warning:hover {
    background: linear-gradient(135deg, #ff8f00 0%, #f57c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}
.restore-call-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
}
.restore-call-btn:hover {
    background: rgba(102, 126, 234, 0.8);
    transform: scale(1.1);
}
#videoCallModal.minimized {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
#videoCallModal.minimized .video-call-header {
    padding: 8px 12px;
}
#videoCallModal.minimized .video-call-controls {
    padding: 8px;
}
#videoCallModal.minimized .control-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
}
.end-meeting-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}
.btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-danger:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #ff5252 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}
@media (max-width: 768px) {
    .call-buttons {
        gap: 12px;
    }
    .call-button-item {
        padding: 10px;
        gap: 10px;
    }
    .call-button-item i {
        font-size: 16px;
    }
    .btn-video-call,
    .btn-audio-call {
        padding: 8px 12px;
        font-size: 13px;
    }
    .end-meeting-container {
        width: 95%;
        margin: 20px;
    }
    .end-meeting-actions {
        flex-direction: column;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .call-stats-modal,
    .help-modal,
    .report-modal {
        width: 95vw;
        margin: 2vh auto;
        max-width: none;
    }
    .video-call-modal {
        width: 95vw;
        height: 90vh;
        margin: 5vh auto;
    }
    .video-call-content {
        flex-direction: column;
    }
    .main-video-area {
        height: 60%;
    }
    .call-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        z-index: 1001;
        transition: right 0.3s ease;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
    }
    .call-sidebar.open {
        right: 0;
    }
    .video-call-controls {
        padding: 15px;
        gap: 15px;
    }
    .control-item {
        min-width: 60px;
    }
    .control-item .control-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .control-label {
        font-size: 11px;
    }
}
@media (max-width: 480px) {
    .call-button-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .call-button-item i {
        font-size: 20px;
    }
}
.audio-only-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
    color: white;
    z-index: 10;
}
.audio-placeholder-content {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.audio-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
}
.audio-avatar i {
    font-size: 50px;
    color: white;
}
.audio-placeholder-content h3 {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: white;
    font-weight: 600;
}
.audio-placeholder-content p {
    font-size: 16px;
    margin: 0 0 30px 0;
    color: rgba(255, 255, 255, 0.7);
}
.audio-visualizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 40px;
}
.audio-visualizer .bar {
    width: 6px;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 3px;
    animation: audioWave 1.5s ease-in-out infinite;
}
.audio-visualizer .bar:nth-child(1) { animation-delay: 0s; }
.audio-visualizer .bar:nth-child(2) { animation-delay: 0.2s; }
.audio-visualizer .bar:nth-child(3) { animation-delay: 0.4s; }
.audio-visualizer .bar:nth-child(4) { animation-delay: 0.6s; }
.audio-visualizer .bar:nth-child(5) { animation-delay: 0.8s; }
@keyframes audioWave {
    0%, 100% {
        height: 10px;
        opacity: 0.5;
    }
    50% {
        height: 30px;
        opacity: 1;
    }
}
.tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.tracker-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
}
.btn-tracker {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
}
.btn-tracker:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}
.btn-tracker.tracking {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.tracker-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.25rem;
}
.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}
.tracker-progress {
    margin-bottom: 1rem;
}
.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.5s ease;
}
.tracker-actions {
    display: flex;
    gap: 0.5rem;
}
.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
    flex: 1;
}
.study-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    min-width: 300px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.notification-content {
    flex: 1;
}
.notification-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.notification-body {
    font-size: 0.9rem;
    opacity: 0.9;
}
.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.study-settings .modal-content {
    max-width: 500px;
}
.setting-group {
    margin-bottom: 1.5rem;
}
.setting-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #f0f0f0;
    font-weight: 500;
}
.setting-group input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #f0f0f0;
    font-size: 1rem;
}
.setting-group input[type="checkbox"] {
    margin-right: 0.5rem;
}
.study-history .modal-content {
    max-width: 600px;
}
.history-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-number {
    font-size: 1.8rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.25rem;
}
.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.history-timeline h4 {
    margin-bottom: 1rem;
    color: #667eea;
}
.history-day {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.history-day:last-child {
    border-bottom: none;
}
.day-info {
    display: flex;
    flex-direction: column;
}
.day-name {
    font-weight: 500;
    color: #f0f0f0;
}
.day-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}
.day-hours {
    font-weight: 600;
    color: #667eea;
    text-align: center;
}
.day-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}
.day-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width 0.3s ease;
}
@media (max-width: 768px) {
    .tracker-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .history-stats {
        grid-template-columns: 1fr;
    }
    .history-day {
        grid-template-columns: 1fr auto;
        gap: 0.5rem;
    }
    .day-bar {
        grid-column: 1 / -1;
        margin-top: 0.5rem;
    }
}
.notification-settings .modal-content {
    max-width: 550px;
}
.notification-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.option-info h4 {
    margin: 0 0 0.25rem 0;
    color: #667eea;
    font-size: 1rem;
}
.option-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}
.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 28px;
}
.switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}
.switch-toggle input:checked + .switch-slider {
    background: linear-gradient(135deg, #667eea, #764ba2);
}
.switch-toggle input:checked + .switch-slider:before {
    transform: translateX(22px);
}
.test-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.test-section h4 {
    margin-bottom: 1rem;
    color: #667eea;
}
.group-search-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.search-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
}
.search-input-container {
    position: relative;
}
.search-input-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}
.search-input-container input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #f0f0f0;
    font-size: 1rem;
}
.search-filters select {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #f0f0f0;
    font-size: 1rem;
}
.enhanced-group {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.enhanced-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.12);
}
.group-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.group-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}
.group-info {
    flex: 1;
    min-width: 0;
}
.group-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.group-header h4 {
    margin: 0;
    color: #667eea;
    font-size: 1.25rem;
    font-weight: 600;
}
.group-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.badge-public {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}
.badge-private {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}
.badge-subject {
    background: rgba(78, 205, 196, 0.2);
    color: #667eea;
    border: 1px solid rgba(78, 205, 196, 0.3);
}
.group-description {
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}
.group-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.group-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.group-stats .stat i {
    color: #667eea;
}
.group-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.tag {
    padding: 0.25rem 0.5rem;
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    border-radius: 8px;
    font-size: 0.8rem;
    border: 1px solid rgba(102, 126, 234, 0.3);
}
.group-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}
.group-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: 120px;
}
.create-group-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.create-group-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.group-dashboard-modal .modal-content {
    max-width: 900px;
    height: 80vh;
    max-height: 800px;
    display: flex;
    flex-direction: column;
}
.group-header-extended {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.group-title-section {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.group-dashboard-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.group-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.group-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.group-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px 8px 0 0;
    margin: 0 2rem;
    overflow: hidden;
}
.tab-btn {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #667eea;
}
.tab-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}
.tab-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}
.tab-pane {
    height: 100%;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.section-header h4 {
    margin: 0;
    color: #667eea;
}
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}
.resource-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.resource-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}
.resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}
.resource-info h5 {
    margin: 0 0 0.5rem 0;
    color: #f0f0f0;
    font-size: 1rem;
    font-weight: 600;
}
.resource-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}
.resource-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}
.resource-meta i {
    color: #667eea;
}
.resource-actions {
    display: flex;
    gap: 0.5rem;
}
.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.announcement-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}
.announcement-header h5 {
    margin: 0;
    color: #667eea;
    font-size: 1.1rem;
}
.announcement-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}
.announcement-card p {
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}
.announcement-footer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}
.members-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.member-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.member-avatar-container {
    position: relative;
    flex-shrink: 0;
}
.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.member-avatar.default-avatar {
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
}
.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #1e1e1e;
}
.online-indicator.online {
    background: #2ecc71;
}
.online-indicator.offline {
    background: #95a5a6;
}
.member-info {
    flex: 1;
}
.member-info h6 {
    margin: 0 0 0.25rem 0;
    color: #f0f0f0;
    font-size: 1rem;
}
.member-role {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}
.member-role.admin {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}
.member-role.moderator {
    background: rgba(230, 126, 34, 0.2);
    color: #e67e22;
}
.member-role.member {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}
.empty-state {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin: 2rem 0;
}
.group-preview-modal .modal-content {
    max-width: 600px;
}
.preview-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.preview-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}
.preview-info h4 {
    margin: 0 0 0.5rem 0;
    color: #667eea;
}
.preview-info p {
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.8);
}
.preview-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.preview-content h5 {
    margin: 1.5rem 0 0.75rem 0;
    color: #667eea;
}
.preview-resources {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.preview-resource {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}
.preview-resource i {
    color: #667eea;
}
.preview-resource small {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.5);
}
.preview-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .search-filters {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .enhanced-group {
        flex-direction: column;
        text-align: center;
    }
    .group-actions {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
    .group-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .group-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    .resources-grid {
        grid-template-columns: 1fr;
    }
    .group-dashboard-modal .modal-content {
        height: 90vh;
        margin: 1rem;
    }
    .group-tabs {
        margin: 0 1rem;
        flex-wrap: wrap;
    }
    .tab-btn {
        font-size: 0.8rem;
        padding: 0.75rem 0.5rem;
    }
}
button:not(.nav-btn):not(.close-btn):not(.dropdown-toggle):not(.control-btn) {
    font-family: 'Inter', sans-serif !important;
}
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
    z-index: 1;
}
.loading {
    position: relative;
    pointer-events: none;
}
.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lazy.loaded {
    opacity: 1;
}
.btn-primary,
.btn:not(.btn-secondary):not(.btn-danger):not(.btn-warning) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}
.btn-primary:hover,
.btn:not(.btn-secondary):not(.btn-danger):not(.btn-warning):hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}
.task-modal-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
}
.task-modal-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}
.task-modal-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.task-modal-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}
.task-modal-actions .btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a3d91 100%);
    border-color: #5a6fd8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
@media (max-width: 768px) {
    .task-modal-actions {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    .task-modal-actions .btn {
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        min-width: unset;
    }
}
@media (max-width: 480px) {
    .task-modal-actions {
        gap: 2rem;
        padding: 2.5rem 0.5rem;
    }
    .task-modal-actions .btn {
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
    }
}
.card, .modal, .dropdown-menu {
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.group-item {
    display: flex !important;
    align-items: center !important;
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    margin-bottom: 8px !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.group-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateX(8px) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2) !important;
}
#dashboardGroupList {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.5) transparent;
}
#dashboardGroupList::-webkit-scrollbar {
    width: 6px;
}
#dashboardGroupList::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
#dashboardGroupList::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}
#dashboardGroupList::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}
.task-modal-container {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(45, 27, 105, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}
.task-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.task-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}
.task-modal-content {
    padding: 24px;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}
.task-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.task-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.task-form .form-group label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}
.task-form .form-group input,
.task-form .form-group select,
.task-form .form-group textarea {
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: inherit;
}
.task-form .form-group textarea {
    resize: vertical;
    min-height: 60px;
}
.task-form .form-group input:focus,
.task-form .form-group select:focus,
.task-form .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.15);
}
.task-form .form-group input::placeholder,
.task-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.task-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.task-modal-actions {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}
.task-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.task-list .task-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.task-list .task-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.task-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    z-index: 2;
    position: relative;
}
.task-list .task-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #667eea;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.task-list .task-item input[type="checkbox"]:checked {
    transform: scale(1.1);
}
.task-list .task-item label {
    color: #ffffff;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
    transition: all 0.3s ease;
    user-select: none;
}
.task-list .task-item.completed label {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.6);
}
.task-close-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    z-index: 2;
    position: relative;
}
.task-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    transform: scale(1.1);
    opacity: 1;
}
.resources-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-add-resource {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    border-radius: 8px;
    padding: 0.5rem;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-add-resource:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}
.resource-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.resource-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.file-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}
.pdf-icon {
    color: #ef4444;
    font-size: 1.5rem;
}
.py-icon {
    color: #3776ab;
    font-size: 1.5rem;
}
.doc-icon {
    color: #2563eb;
    font-size: 1.5rem;
}
.file-info {
    flex: 1;
}
.file-name {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.file-details {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}
.resource-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.resource-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.download-btn {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.download-btn:hover {
    background: rgba(34, 197, 94, 0.3);
    transform: scale(1.1);
}
.share-btn {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.share-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    transform: scale(1.1);
}
.realtime-tracker-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 2px solid rgba(16, 185, 129, 0.3);
}
.tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.tracker-controls {
    display: flex;
    gap: 0.5rem;
}
.tracker-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}
.start-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}
.start-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}
.pause-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}
.pause-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}
.stop-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}
.stop-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}
.current-session {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.session-timer {
    text-align: center;
}
.timer-display {
    margin-bottom: 1rem;
}
.time-value {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #10b981;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}
.session-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
.session-subject input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    color: white;
    font-size: 1rem;
    text-align: center;
}
.session-subject input:focus {
    outline: none;
    border-color: #10b981;
    background: rgba(255, 255, 255, 0.15);
}
.daily-progress h4,
.study-subjects h4,
.weekly-overview h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.progress-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #10b981;
    margin-bottom: 0.25rem;
}
.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}
.daily-goal {
    margin-bottom: 1.5rem;
}
.goal-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 0.9rem;
}
.goal-percentage {
    color: #10b981;
    font-weight: bold;
}
.goal-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}
.goal-bar {
    height: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    width: var(--goal-progress);
    transition: width 0.5s ease;
}
.subject-list {
    margin-bottom: 1.5rem;
}
.subject-item {
    margin-bottom: 1rem;
}
.subject-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.subject-name {
    color: #ffffff;
    font-weight: 500;
}
.subject-time {
    color: #10b981;
    font-weight: bold;
    font-size: 0.9rem;
}
.subject-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}
.subject-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    width: var(--subject-width);
    transition: width 0.5s ease;
}
.week-chart {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.5rem;
    height: 120px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.day-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
}
.day-bar {
    width: 20px;
    height: var(--day-height);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 4px 4px 0 0;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}
.day-column.active .day-bar {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}
.day-column.future .day-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 10px;
}
.day-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}
.day-time {
    color: #10b981;
    font-weight: bold;
    font-size: 0.8rem;
}
.day-column.active .day-time {
    color: #f59e0b;
}
.day-column.future .day-time {
    color: rgba(255, 255, 255, 0.5);
}
.quick-stats-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 2px solid rgba(124, 58, 237, 0.3);
}
.quick-stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.refresh-stats-btn {
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 8px;
    padding: 0.5rem;
    color: #7c3aed;
    cursor: pointer;
    transition: all 0.3s ease;
}
.refresh-stats-btn:hover {
    background: rgba(124, 58, 237, 0.3);
    transform: rotate(180deg);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.stat-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}
.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
}
.study-time::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.streak::before {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.productivity::before {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.completion::before {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.study-time .stat-icon {
    color: #10b981;
}
.streak .stat-icon {
    color: #f59e0b;
}
.productivity .stat-icon {
    color: #3b82f6;
}
.completion .stat-icon {
    color: #8b5cf6;
}
.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.25rem;
}
.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}
.stat-progress {
    position: relative;
}
.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transition: width 0.8s ease;
}
.progress-text {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
}
.streak-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.streak-emoji {
    font-size: 1.2rem;
}
.streak-text {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.8rem;
}
.productivity-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.trend-up {
    color: #10b981;
}
.trend-text {
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 600;
}
.completion-rate {
    color: #8b5cf6;
    font-size: 0.8rem;
    font-weight: 600;
}
.quick-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.quick-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    min-width: 80px;
}
.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.study-btn:hover {
    border-color: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.break-btn:hover {
    border-color: #f59e0b;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.review-btn:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.quick-action-btn i {
    font-size: 1.2rem;
}
.quick-action-btn span {
    font-size: 0.8rem;
    font-weight: 600;
}
.live-updates h4,
.daily-goals h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.update-list {
    margin-bottom: 1.5rem;
}
.update-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.update-item:last-child {
    border-bottom: none;
}
.update-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin-top: 0.5rem;
    flex-shrink: 0;
}
.update-dot.active {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}
.update-content {
    flex: 1;
}
.update-text {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.update-time {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}
.goals-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.goal-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
.goal-item:hover {
    background: rgba(255, 255, 255, 0.08);
}
.goal-item.completed {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.1);
}
.goal-item.in-progress {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.1);
}
.goal-item i {
    color: #ffffff;
    width: 16px;
    text-align: center;
}
.goal-item.completed i {
    color: #10b981;
}
.goal-item.in-progress i {
    color: #f59e0b;
}
.goal-item span {
    flex: 1;
    color: #ffffff;
    font-size: 0.9rem;
}
.goal-progress {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.goal-bar {
    height: 100%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    width: var(--goal-width);
    transition: width 0.5s ease;
}
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .quick-actions {
        flex-direction: column;
    }
    .quick-action-btn {
        flex-direction: row;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .stat-box {
        padding: 1rem;
    }
    .stat-value {
        font-size: 1.5rem;
    }
    .update-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
.task-list .task-item .close-btn {
    display: none !important;
}
.task-priority {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}
.task-priority.high {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.task-priority.medium {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}
.task-priority.low {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.btn-add-task {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.85rem !important;
}
.btn-add-task:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3) !important;
    filter: brightness(1.1) !important;
}
@media (max-width: 768px) {
    .task-modal-container {
        width: 95%;
        margin: 20px auto;
    }
    .task-form .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .task-modal-actions {
        flex-direction: column;
    }
    .task-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    .btn-add-task {
        align-self: stretch;
        justify-content: center;
    }
}
.schedule-modal,
.session-details-modal {
    background: linear-gradient(145deg, rgba(26, 26, 62, 0.95) 0%, rgba(45, 27, 105, 0.95) 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
#scheduleModal.active .schedule-modal,
#sessionDetailsModal.active .session-details-modal {
    transform: scale(1);
}
.schedule-modal-header,
.session-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(90, 111, 216, 0.1) 100%);
}
.schedule-modal-header h2,
.session-details-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.schedule-modal-header h2 i,
.session-details-header h2 i {
    color: #667eea;
    font-size: 1.3rem;
}
.schedule-modal-body {
    padding: 0;
    max-height: 70vh;
    overflow-y: auto;
}
.modal-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
}
.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    transition: all 0.3s ease;
}
.progress-step.active .step-number {
    background: #667eea;
    border-color: #667eea;
    color: #ffffff;
}
.progress-step span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.progress-step.active span {
    color: #ffffff;
}
.progress-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 1rem;
}
.schedule-step {
    display: none;
    padding: 2rem 2.5rem;
    animation: fadeInUp 0.4s ease;
}
.schedule-step.active {
    display: block;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.schedule-step h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    text-align: center;
}
.session-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.session-type-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.session-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.session-type-card:hover {
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}
.session-type-card:hover::before {
    opacity: 1;
}
.session-type-card.selected {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}
.session-type-card .type-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    transition: all 0.3s ease;
}
.session-type-card .type-icon i {
    font-size: 1.5rem;
    color: #667eea;
}
.session-type-card:hover .type-icon {
    transform: scale(1.1);
    background: rgba(102, 126, 234, 0.3);
}
.session-type-card h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}
.session-type-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}
.type-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.type-features li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.type-features li i {
    color: #10b981;
    font-size: 0.7rem;
}
.enhanced-schedule-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.form-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.form-section h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.form-section h4 i {
    color: #667eea;
    font-size: 0.9rem;
}
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}
.btn-next,
.btn-primary {
    background: linear-gradient(135deg, #667eea, #5a6fd8);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}
.btn-next:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.btn-next:disabled,
.btn-primary:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}
@media (max-width: 768px) {
    .schedule-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    .schedule-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    .btn-view-toggle,
    .btn-create-session {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
    .calendar-navigation {
        padding: 1rem;
    }
    .nav-controls {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .current-period {
        flex-direction: column;
        gap: 0.5rem;
    }
    .filter-group {
        gap: 1rem;
        justify-content: center;
    }
    .calendar-container {
        padding: 1rem;
    }
    .calendar-day {
        min-height: 80px;
        padding: 0.5rem;
    }
    .day-number {
        font-size: 0.9rem;
    }
    .session-indicator {
        font-size: 0.6rem;
        padding: 0.1rem 0.3rem;
    }
    .schedule-list-container {
        padding: 1rem;
    }
    .session-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    .session-time {
        align-self: stretch;
        flex-direction: row;
        justify-content: space-between;
        min-width: auto;
    }
    .session-actions {
        align-self: stretch;
        justify-content: center;
    }
    .mobile-schedule-container {
        display: grid;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .schedule-modal,
    .session-details-modal {
        width: 95%;
        max-height: 95vh;
    }
    .schedule-modal-header,
    .session-details-header {
        padding: 1.5rem;
    }
    .schedule-step {
        padding: 1.5rem;
    }
    .session-type-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .form-section {
        padding: 1rem;
    }
    .step-actions {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    .btn-next,
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .schedule-title-section h1 {
        font-size: 2rem;
    }
    .calendar-header {
        gap: 0;
    }
    .day-header {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    .calendar-day {
        min-height: 60px;
        padding: 0.25rem;
    }
    .day-number {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    .session-indicator {
        display: none;
    }
    .calendar-day.has-sessions::after {
        content: '●';
        color: #667eea;
        position: absolute;
        bottom: 0.25rem;
        right: 0.25rem;
        font-size: 0.8rem;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .stat-item {
        padding: 0.75rem;
    }
    .stat-value {
        font-size: 1.2rem;
    }
}
