.loading-spinner-container{align-items:center;display:flex;justify-content:center;min-height:200px;width:100%}.loading-spinner{display:inline-block;height:80px;position:relative;width:80px}.loading-spinner div{animation:loading-spinner 1.2s cubic-bezier(.5, 0, .5, 1) infinite;border:8px solid #0000;border-radius:50%;border-top-color:#6d7bff;box-sizing:border-box;display:block;height:64px;margin:8px;position:absolute;width:64px}.loading-spinner div:first-child{animation-delay:-.45s}.loading-spinner div:nth-child(2){animation-delay:-.3s}.loading-spinner div:nth-child(3){animation-delay:-.15s}@keyframes loading-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
.qf-upgrade-overlay{align-items:center;backdrop-filter:blur(8px);background:#000000a6;bottom:0;display:flex;justify-content:center;left:0;opacity:0;padding:20px;position:fixed;right:0;top:0;transition:all .3s ease;visibility:hidden;z-index:99999}.qf-upgrade-overlay--active{opacity:1;visibility:visible}.qf-upgrade-overlay--premium{backdrop-filter:blur(12px);background:#000000bf}.qf-upgrade-overlay--informative{backdrop-filter:blur(8px);background:#000000bf}.qf-upgrade-overlay--delete{backdrop-filter:blur(8px);background:#000000a6}.qf-upgrade-modal{background:#fff;border-radius:16px;box-shadow:0 25px 50px #00000040,0 10px 25px #00000026,0 0 0 1px #ffffff1a;max-height:90vh;max-width:480px;opacity:0;overflow-y:auto;position:relative;transform:scale(.95) translateY(20px);transition:all .3s ease;width:100%}.qf-upgrade-modal--active{opacity:1;transform:scale(1) translateY(0)}.qf-upgrade-modal--premium{border-top:4px solid gold;box-shadow:0 30px 60px #ffd70026,0 25px 50px #0000004d,0 10px 25px #0003,0 0 0 1px #ffd7001a}.qf-upgrade-modal--informative{border-top:3px solid #6a64f2}.qf-upgrade-modal--delete,.qf-upgrade-modal--informative{box-shadow:0 25px 50px #ef44441a,0 20px 40px #00000040,0 10px 25px #00000026}.qf-upgrade-modal--delete{border-top:3px solid #ef4444}@media(max-width:640px){.qf-upgrade-modal{border-radius:12px;margin:16px;max-height:85vh;width:calc(100% - 32px)}}.qf-upgrade-close{align-items:center;backdrop-filter:blur(10px);background:#ffffffe6;border:none;border-radius:50%;box-shadow:0 4px 12px #00000026;color:#666;cursor:pointer;display:flex;font-size:18px;height:36px;justify-content:center;position:absolute;right:16px;top:16px;transition:all .2s ease;width:36px}.qf-upgrade-close:hover{background:#fff;color:#333;transform:scale(1.05)}@media(max-width:640px){.qf-upgrade-close{font-size:16px;height:32px;right:12px;top:12px;width:32px}}.qf-upgrade-header{padding:36px 32px 28px;position:relative;text-align:center}.qf-upgrade-header--premium{background:linear-gradient(135deg, gold, orange 50%, #ff8c00);box-shadow:inset 0 1px 0 #fff3;color:#fff}.qf-upgrade-header--informative{background:linear-gradient(135deg, #6a64f2, #6a64f2);color:#fff}.qf-upgrade-header--delete{background:linear-gradient(135deg, #ef4444, #dc2626);color:#fff}@media(max-width:640px){.qf-upgrade-header{padding:28px 20px 24px}}.qf-upgrade-icon{align-items:center;backdrop-filter:blur(10px);background:#ffffff40;border-radius:50%;box-shadow:0 8px 16px #0000001a,inset 0 1px 0 #ffffff4d;display:flex;font-size:26px;height:64px;justify-content:center;margin:0 auto 18px;width:64px}@media(max-width:640px){.qf-upgrade-icon{font-size:22px;height:52px;margin-bottom:14px;width:52px}}.qf-upgrade-title{font-size:26px;font-weight:700;margin:0 0 10px;text-shadow:0 1px 2px #0000001a}@media(max-width:640px){.qf-upgrade-title{font-size:22px}}.qf-upgrade-subtitle{font-size:16px;line-height:1.5;margin:0;opacity:.95;text-shadow:0 1px 2px #0000000d}@media(max-width:640px){.qf-upgrade-subtitle{font-size:15px}}.qf-upgrade-content{padding:0 32px 28px}@media(max-width:640px){.qf-upgrade-content{padding:0 20px 24px}}.qf-upgrade-features{backdrop-filter:blur(10px);background:#f8f9facc;border:1px solid #e9ecef99;border-radius:12px;box-shadow:inset 0 1px 3px #0000000d;padding:24px}@media(max-width:640px){.qf-upgrade-features{border-radius:8px;padding:20px}}.qf-upgrade-feature{align-items:center;color:#374151;display:flex;font-size:15px;font-weight:500;gap:14px;padding:10px 0}.qf-upgrade-feature:not(:last-child){border-bottom:1px solid #e9ecef99}@media(max-width:640px){.qf-upgrade-feature{font-size:14px;gap:12px;padding:8px 0}}.qf-upgrade-feature-icon{color:#10b981;filter:drop-shadow(0 1px 2px rgba(16, 185, 129, .2));flex-shrink:0;font-size:18px}@media(max-width:640px){.qf-upgrade-feature-icon{font-size:16px}}.qf-upgrade-actions{display:flex;gap:14px;padding:0 32px 36px}@media(max-width:640px){.qf-upgrade-actions{flex-direction:column;gap:10px;padding:0 20px 28px}}.qf-upgrade-btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;flex:1;font-size:15px;font-weight:600;gap:8px;justify-content:center;overflow:hidden;padding:14px 28px;position:relative;transition:all .2s ease}.qf-upgrade-btn--secondary{backdrop-filter:blur(10px);background:#f8f9fae6;border:1px solid #dee2e6cc;color:#6c757d}.qf-upgrade-btn--secondary:hover{background:#e9ecefe6;box-shadow:0 4px 12px #0000001a;color:#495057;transform:translateY(-1px)}.qf-upgrade-btn--premium{background:linear-gradient(135deg, gold, orange 50%, #ff8c00);box-shadow:0 4px 12px #ffa5004d,inset 0 1px 0 #fff3;color:#fff;text-shadow:0 1px 2px #0000001a}.qf-upgrade-btn--premium:hover{background:linear-gradient(135deg, orange, #ff8c00 50%, #ff7f00);box-shadow:0 6px 20px #ffa50066,inset 0 1px 0 #fff3;transform:translateY(-2px)}.qf-upgrade-btn--premium:before{background:linear-gradient(90deg, #0000, #fff3, #0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.qf-upgrade-btn--premium:hover:before{left:100%}.qf-upgrade-btn--delete{background:linear-gradient(135deg, #ef4444, #dc2626);box-shadow:0 4px 12px #ef44444d,inset 0 1px 0 #ffffff1a;color:#fff}.qf-upgrade-btn--delete:hover{background:linear-gradient(135deg, #dc2626, #b91c1c);box-shadow:0 6px 20px #ef444466,inset 0 1px 0 #ffffff1a;transform:translateY(-2px)}.qf-upgrade-btn--informative{background:linear-gradient(135deg, #6a64f2, #6a64f2);box-shadow:0 4px 12px #ef44444d,inset 0 1px 0 #ffffff1a;color:#fff}.qf-upgrade-btn--informative:hover{background:linear-gradient(135deg, #6a64f2, #6a64f2);box-shadow:0 6px 20px #ef444466,inset 0 1px 0 #ffffff1a;transform:translateY(-2px)}@media(max-width:640px){.qf-upgrade-btn{font-size:16px;padding:16px 24px}}@media(prefers-color-scheme:dark){.qf-upgrade-modal{background:#1f2937;color:#f9fafb}.qf-upgrade-close{background:#374151e6;color:#d1d5db}.qf-upgrade-close:hover{background:#4b5563e6;color:#f3f4f6}.qf-upgrade-features{background:#374151cc;border-color:#4b556399}.qf-upgrade-feature{color:#e5e7eb}.qf-upgrade-feature:not(:last-child){border-bottom-color:#4b556399}.qf-upgrade-btn--secondary{background:#374151e6;border-color:#4b5563cc;color:#d1d5db}.qf-upgrade-btn--secondary:hover{background:#4b5563e6;color:#f3f4f6}}
.group-panel-container{background:linear-gradient(135deg, #f8fafc, #e2e8f0);min-height:100vh;position:relative;width:100%}.group-panel{background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014;margin:0 auto;max-width:1200px;min-height:calc(100vh - 40px);padding:20px}.group-admin-bar{align-items:center;background:linear-gradient(135deg, #6366f1, #8b5cf6);border-radius:12px;box-shadow:0 4px 12px #6366f14d;display:flex;justify-content:space-between;margin-bottom:20px;padding:16px 20px}.admin-controls,.member-controls{align-items:center;display:flex;gap:12px}.control-btn{align-items:center;backdrop-filter:blur(10px);background:#fff3;border:1px solid #ffffff4d;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-weight:600;gap:8px;padding:10px 16px;transition:all .2s ease}.control-btn:hover{background:#ffffff4d;transform:translateY(-1px)}.control-btn.member-btn{position:relative}.control-btn.member-btn .pending-dot{align-items:center;animation:pulse 2s infinite;background:#ef4444;border-radius:50%;color:#fff;display:flex;font-size:11px;font-weight:700;height:20px;justify-content:center;position:absolute;right:-4px;top:-4px;width:20px}.control-dropdown{position:relative}.dropdown-menu{background:#fff;border-radius:8px;box-shadow:0 8px 24px #00000026;margin-top:4px;min-width:160px;padding:8px;position:absolute;right:0;top:100%;z-index:1000}.dropdown-item{align-items:center;background:none;border:none;border-radius:6px;color:#374151;cursor:pointer;display:flex;font-weight:500;gap:8px;padding:10px 12px;transition:all .2s ease;width:100%}.dropdown-item:hover{background:#f3f4f6}.dropdown-item.danger{color:#dc2626}.dropdown-item.danger:hover{background:#fef2f2}.content-navigation{margin-bottom:24px}.nav-toggle{background:#f8fafc;border-radius:12px;display:flex;gap:4px;padding:4px}.nav-btn{align-items:center;background:#0000;border:none;border-radius:8px;color:#64748b;cursor:pointer;display:flex;flex:1;font-weight:600;gap:8px;justify-content:center;padding:12px 20px;transition:all .2s ease}.nav-btn.active{background:#fff;box-shadow:0 2px 8px #0000001a;color:#6366f1}.nav-btn:hover:not(.active){background:#ffffffb3}.simple-post-composer{background:#fff;border:2px solid #e2e8f0;border-radius:16px;box-shadow:0 2px 8px #0000000d;margin-bottom:24px;padding:20px}.composer-input-row{align-items:flex-start;display:flex;gap:12px;margin-bottom:16px}.user-avatar{background:linear-gradient(135deg, #6366f1, #8b5cf6);border-radius:50%;flex-shrink:0;font-size:18px;height:40px;justify-content:center;width:40px}.input-container,.user-avatar{align-items:center;display:flex}.input-container{flex:1;gap:8px;position:relative}.post-input{border:2px solid #e2e8f0;border-radius:12px;flex:1;font-size:16px;outline:none;padding:12px 16px;transition:all .2s ease}.post-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.photo-upload-btn{background:#f8fafc;border:2px solid #e2e8f0;border-radius:8px;color:#6366f1;cursor:pointer;padding:10px;transition:all .2s ease}.photo-upload-btn:hover{background:#6366f1;color:#fff}.post-submit-btn{background:linear-gradient(135deg, #6366f1, #8b5cf6);border:none;border-radius:12px;color:#fff;cursor:pointer;font-weight:600;padding:12px 24px;transition:all .2s ease}.post-submit-btn:hover{box-shadow:0 4px 12px #6366f14d;transform:translateY(-1px)}.photo-preview{margin:16px 0;position:relative}.photo-preview img{border-radius:8px;max-height:150px;max-width:200px;object-fit:cover}.photo-preview .remove-photo{align-items:center;background:#ef4444;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-weight:700;height:24px;justify-content:center;position:absolute;right:-8px;top:-8px;width:24px}.composer-options{border-top:1px solid #e2e8f0;padding-top:16px}.icon-selector{display:flex;flex-wrap:wrap;gap:8px}.icon-option{align-items:center;border-radius:8px;cursor:pointer;display:flex;font-size:18px;height:36px;justify-content:center;transition:all .2s ease;width:36px}.icon-option:hover{background:#f3f4f6}.icon-option.selected{background:#6366f1;transform:scale(1.1)}.simple-post-trigger{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:16px;cursor:pointer;display:flex;gap:12px;margin-bottom:24px;padding:16px 20px;transition:all .2s ease}.simple-post-trigger:hover{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.trigger-input-container{align-items:center;display:flex;flex:1;gap:8px}.post-trigger-input{background:#f8fafc;border:none;border-radius:12px;color:#64748b;cursor:pointer;flex:1;padding:12px 16px}.trigger-photo-btn{background:none;border:none;border-radius:6px;color:#6366f1;cursor:pointer;padding:8px;transition:all .2s ease}.trigger-photo-btn:hover{background:#f3f4f6}.wall-timeline{background:#fff;overflow:hidden}.timeline-header{align-items:center;background:linear-gradient(135deg, #f8fafc, #e2e8f0);border-bottom:1px solid #e2e8f0;padding:20px 24px}.timeline-header h3{color:#1e293b;font-size:20px;font-weight:700;margin:0}.timeline-header .post-count{color:#64748b;font-weight:600}.timeline-element{border-bottom:1px solid #f1f5f9;display:flex;gap:16px;padding:24px;position:relative}.timeline-element:last-child{border-bottom:none}.timeline-element.first{background:linear-gradient(135deg, #fef7ff, #f3f4f6)}.timeline-icon{align-items:center;background:linear-gradient(135deg, #6366f1, #8b5cf6);border-radius:50%;box-shadow:0 4px 12px #6366f133;display:flex;flex-shrink:0;font-size:20px;height:48px;justify-content:center;width:48px}.timeline-content{flex:1;position:relative}.timeline-header{align-items:flex-start;background:none;border:none;display:flex;justify-content:space-between;margin-bottom:12px;padding:0}.wall-delete{background:none;border:none;border-radius:6px;color:#ef4444;cursor:pointer;padding:8px;position:absolute;right:0;top:0;transition:all .2s ease}.wall-delete:hover{background:#fef2f2}.user-info{flex:1}.timeline-title{color:#1e293b;font-size:16px;font-weight:700;margin:0 0 4px}.timeline-subtitle{color:#64748b;font-size:14px;font-weight:500;margin:0 0 8px}.timeline-date{color:#94a3b8;font-size:13px}.timeline-body .timeline-text{color:#374151;line-height:1.6;margin-bottom:16px}.timeline-body .post-image img{border-radius:12px;box-shadow:0 4px 12px #0000001a;height:auto;max-width:400px}.post-link{align-items:center;border-radius:4px;color:#6366f1;display:inline-flex;gap:4px;padding:2px 6px;text-decoration:none;transition:all .2s ease}.post-link:hover{background:#f0f9ff;text-decoration:underline}.inline-video{margin:16px 0}.video-container{aspect-ratio:16/9;border-radius:12px;box-shadow:0 4px 12px #00000026;max-width:560px;overflow:hidden;position:relative;width:100%}.video-container iframe{border:none;height:100%;width:100%}.video-overlay{background:#000000b3;border-radius:4px;color:#fff;font-size:12px;font-weight:600;padding:4px 8px;position:absolute;right:8px;top:8px}.video-link{margin-top:8px}.video-link a{align-items:center;color:#6366f1;display:inline-flex;font-size:14px;gap:4px;text-decoration:none}.video-link a:hover{text-decoration:underline}.video-error{align-items:center;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;display:flex;gap:8px;padding:16px}.video-error a{color:#dc2626;text-decoration:underline}.empty-state{background:#fff;border-radius:16px;padding:60px 20px;text-align:center}.empty-state .empty-icon{font-size:48px;margin-bottom:16px}.empty-state h3{color:#1e293b;font-size:20px;margin:0 0 8px}.empty-state p{color:#64748b;margin:0 0 24px}.empty-state .empty-action-btn{background:linear-gradient(135deg, #6366f1, #8b5cf6);border:none;border-radius:12px;color:#fff;cursor:pointer;font-weight:600;margin-top:10px;padding:12px 24px;transition:all .2s ease}.empty-state .empty-action-btn:hover{box-shadow:0 4px 12px #6366f14d;transform:translateY(-1px)}.quiz-section{background:#fff;border-radius:16px;padding:24px}.search-group{align-items:center;background:#f8fafc;border-radius:12px;display:flex;gap:12px;margin-bottom:24px;padding:16px 20px}.search-group input{border:2px solid #e2e8f0;border-radius:8px;flex:1;outline:none;padding:12px 16px;transition:all .2s ease}.search-group input:focus{border-color:#6366f1}.search-group .find-btn{background:#6366f1;border:none;border-radius:8px;color:#fff;cursor:pointer;padding:12px 16px;transition:all .2s ease}.search-group .find-btn:hover{background:#5b21b6}.quiz-category{margin-bottom:32px}.quiz-category:last-child{margin-bottom:0}.category-header{align-items:center;border-bottom:2px solid #e2e8f0;display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:12px}.category-header .category-title{color:#1e293b;font-size:18px;font-weight:700;margin:0}.category-header .category-count{color:#64748b;font-weight:600}.quiz-grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fill, minmax(280px, 1fr))}.quiz-card{background:#fff;border:2px solid #e2e8f0;border-radius:16px;cursor:pointer;overflow:hidden;transition:all .2s ease}.quiz-card:hover{border-color:#6366f1;box-shadow:0 8px 24px #6366f126;transform:translateY(-2px)}.quiz-image{aspect-ratio:16/9;overflow:hidden;position:relative}.quiz-image img{height:100%;object-fit:cover;transition:all .2s ease;width:100%}.quiz-image .quiz-overlay{align-items:center;background:#0006;display:flex;inset:0;justify-content:center;opacity:0;position:absolute;transition:all .2s ease}.quiz-image .play-btn{background:#ffffffe6;border:none;border-radius:50%;color:#6366f1;cursor:pointer;font-size:20px;height:56px;transition:all .2s ease;width:56px}.quiz-image .play-btn:hover{background:#fff;transform:scale(1.1)}.quiz-image:hover .quiz-overlay{opacity:1}.quiz-info{padding:16px}.quiz-title{color:#1e293b;cursor:pointer;font-size:16px;font-weight:700;margin:0 0 12px;transition:all .2s ease}.quiz-title:hover{color:#6366f1}.quiz-meta{display:flex;flex-wrap:wrap;gap:8px}.meta-item{align-items:center;background:#f8fafc;border-radius:6px;color:#64748b;display:flex;font-size:12px;gap:4px;padding:4px 8px}.meta-item.schedule{background:#ecfdf5;color:#059669}.meta-item.grade .grade-badge{background:#6366f1;border-radius:4px;color:#fff;font-weight:600;padding:2px 6px}.meta-item.plays{background:#fef2f2;color:#dc2626}.member-sidebar-overlay{align-items:center;background:#00000080;display:flex;inset:0;justify-content:flex-end;padding:20px;position:fixed;z-index:1000}.member-sidebar{background:#fff;border-radius:16px;box-shadow:0 20px 40px #0003;display:flex;flex-direction:column;height:calc(100vh - 40px);max-width:90vw;overflow:hidden;width:400px}.sidebar-header-group{align-items:center;background:linear-gradient(135deg, #6366f1, #8b5cf6);color:#fff;display:flex;justify-content:space-between;padding:20px 24px}.sidebar-header-group h3{font-size:18px;font-weight:700;margin:0}.sidebar-header-group .close-sidebar{background:none;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:24px;padding:4px;transition:all .2s ease}.sidebar-header-group .close-sidebar:hover{background:#fff3}.sidebar-content{flex:1;overflow-y:auto;padding:20px 24px}.member-search{border:2px solid #e2e8f0;border-radius:12px;margin-bottom:20px;outline:none;padding:12px 16px;transition:all .2s ease;width:100%}.member-search:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.member-list{display:flex;flex-direction:column;gap:12px}.member-item{align-items:center;background:#f8fafc;border:2px solid #0000;border-radius:12px;display:flex;justify-content:space-between;padding:16px;transition:all .2s ease}.member-item.pending{background:#fffbeb;border-color:#fbbf24}.member-item.approved{background:#ecfdf5;border-color:#10b981}.member-info{flex:1}.member-info .member-name{color:#1e293b;display:block;font-weight:600;margin-bottom:4px}.member-info .member-email{color:#64748b;display:block;font-size:14px}.member-info .pending-badge{background:#fbbf24;border-radius:12px;color:#fff;display:inline-block;font-size:12px;font-weight:600;margin-top:4px;padding:2px 8px}.member-actions{display:flex;gap:8px}.approve-btn,.delete-btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;height:36px;justify-content:center;transition:all .2s ease;width:36px}.approve-btn{background:#10b981;color:#fff}.approve-btn:hover{background:#059669;transform:scale(1.05)}.delete-btn{background:#ef4444;color:#fff}.delete-btn:hover{background:#dc2626;transform:scale(1.05)}.share-modal-overlay{align-items:center;background:#00000080;display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:1000}.share-modal{background:#fff;border-radius:16px;box-shadow:0 20px 40px #0003;max-width:500px;overflow:hidden;width:100%}.modal-header{align-items:center;background:linear-gradient(135deg, #6366f1, #8b5cf6);color:#fff;display:flex;justify-content:space-between;padding:20px 24px}.modal-header h3{font-size:18px;font-weight:700;margin:0}.modal-header .close-modal{background:none;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:24px;padding:4px;transition:all .2s ease}.modal-header .close-modal:hover{background:#fff3}.modal-content{padding:24px}.modal-content p{color:#64748b;margin:0 0 16px}.link-container{display:flex;gap:8px}.link-container input{background:#f8fafc;border:2px solid #e2e8f0;border-radius:8px;flex:1;outline:none;padding:12px 16px}.link-container .copy-btn{align-items:center;background:#6366f1;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-weight:600;gap:8px;padding:12px 16px;transition:all .2s ease}.link-container .copy-btn:hover{background:#5b21b6}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@media(max-width:768px){.group-panel{border-radius:12px;margin:10px;min-height:calc(100vh - 20px);padding:16px}.group-admin-bar{align-items:stretch;flex-direction:column;gap:12px}.admin-controls,.member-controls{justify-content:center}.composer-input-row,.nav-toggle{flex-direction:column}.composer-input-row{align-items:stretch}.input-container{order:1}.user-avatar{align-self:flex-start;order:2}.post-submit-btn{align-self:flex-end;order:3}.quiz-grid{grid-template-columns:1fr}.member-sidebar{border-radius:0;height:100vh;width:100%}.timeline-element{flex-direction:column;gap:12px}.timeline-icon{align-self:flex-start}}@media(max-width:480px){.group-panel-container{padding:0}.group-panel{border-radius:0;margin:0;min-height:100vh}.control-btn{font-size:14px;padding:8px 12px}.timeline-element{padding:16px}.quiz-card{margin:0 -4px}}
*{box-sizing:border-box}.classroom-header-modern-container{background:linear-gradient(135deg, #f8fafc, #e2e8f0);border-radius:16px;box-shadow:0 4px 20px #00000014;box-sizing:border-box;max-width:100%;overflow-x:hidden;padding:20px;position:relative;width:100%}.classroom-header-admin-control-bar{align-items:center;background:linear-gradient(135deg, #6366f1, #8b5cf6);border-radius:12px;box-shadow:0 4px 12px #6366f14d;box-sizing:border-box;display:flex;justify-content:space-between;margin-bottom:24px;max-width:100%;padding:16px 20px;width:100%}.classroom-header-title-section{align-items:center;display:flex;gap:16px}.classroom-header-main-title{color:#fff;font-size:24px;font-weight:700;margin:0;text-shadow:0 2px 4px #0000001a}.classroom-header-delete-btn{align-items:center;backdrop-filter:blur(10px);background:#fff3;border:1px solid #ffffff4d;border-radius:8px;color:#ff6b6b;cursor:pointer;display:flex;font-size:18px;height:40px;justify-content:center;transition:all .2s ease;width:40px}.classroom-header-delete-btn:hover{background:#ff6b6b33;box-shadow:0 4px 12px #ff6b6b4d;transform:translateY(-1px)}.classroom-header-action-controls{align-items:center;display:flex;gap:12px}.classroom-header-invite-btn{align-items:center;backdrop-filter:blur(10px);background:#fff3;border:1px solid #ffffff4d;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:8px;padding:12px 20px;transition:all .2s ease}.classroom-header-invite-btn:hover{background:#ffffff4d;box-shadow:0 4px 12px #fff3;transform:translateY(-1px)}.classroom-header-invite-btn span{font-size:14px}.classroom-header-google-btn{align-items:center;backdrop-filter:blur(10px);background:#fff3;border:1px solid #ffffff4d;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:8px;padding:12px 20px;transition:all .2s ease}.classroom-header-google-btn:hover{background:#ffffff4d;box-shadow:0 4px 12px #fff3;transform:translateY(-1px)}.classroom-header-google-btn span{font-size:14px}.classroom-header-members-grid{box-sizing:border-box;display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));margin-top:8px;width:100%}.classroom-header-member-card{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 8px #0000000a;box-sizing:border-box;display:flex;gap:16px;max-width:100%;padding:16px 20px;transition:all .2s ease;width:100%}.classroom-header-member-card:hover{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a;transform:translateY(-1px)}.classroom-header-member-avatar{align-items:center;background:linear-gradient(135deg, #6366f1, #8b5cf6);border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:20px;font-weight:700;height:48px;justify-content:center;text-shadow:0 1px 2px #0000001a;width:48px}.classroom-header-member-info{flex:1;min-width:0;overflow:hidden}.classroom-header-member-name{color:#1e293b;font-size:16px;font-weight:600;margin-bottom:4px}.classroom-header-member-email{align-items:center;color:#64748b;display:flex;font-size:14px;gap:8px}.classroom-header-member-email span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classroom-header-google-auth-section{padding:20px 0;text-align:center}.classroom-header-google-auth-btn{align-items:center;background:#4285f4;border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:12px;justify-content:center;margin:20px auto 0;padding:16px 32px;transition:all .2s ease}.classroom-header-google-auth-btn:hover:not(:disabled){background:#3367d6;box-shadow:0 4px 12px #4285f44d;transform:translateY(-1px)}.classroom-header-google-auth-btn:disabled{background:#9ca3af;cursor:not-allowed;opacity:.6}.classroom-header-google-auth-btn span{font-size:16px}.classroom-header-modal-overlay{align-items:center;backdrop-filter:blur(4px);background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.classroom-header-modal-container{animation:modalSlideIn .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 40px #00000026;box-sizing:border-box;margin:20px;max-height:90vh;max-width:600px;overflow:hidden;padding:32px;width:calc(100% - 40px)}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.classroom-header-modal-header{align-items:flex-start;border-bottom:none;display:flex;justify-content:space-between;margin-bottom:24px;padding:0}.classroom-header-modal-title{color:#1e293b;font-size:28px;font-weight:700;line-height:1.3;margin:0;max-width:80%}.classroom-header-modal-close-btn{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;color:#64748b;cursor:pointer;display:flex;flex-shrink:0;font-size:24px;height:44px;justify-content:center;transition:all .2s ease;width:44px}.classroom-header-modal-close-btn:hover{background:#f1f5f9;color:#475569}.classroom-header-modal-content{margin-bottom:32px;padding:0}.classroom-header-error-message{align-items:center;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;display:flex;font-size:14px;font-weight:500;gap:8px;margin-bottom:20px;padding:12px 16px}.classroom-header-error-message:before{content:"⚠️";font-size:16px}.classroom-header-modal-description{color:#64748b;font-size:18px;line-height:1.5;margin:0 0 32px}.classroom-header-course-selection{padding:0}.classroom-header-course-list{border:2px solid #e2e8f0;border-radius:12px;margin-top:16px;max-height:300px;overflow-y:auto}.classroom-header-course-item{background:#fff;border-bottom:1px solid #e2e8f0;cursor:pointer;padding:16px 20px;transition:all .2s ease}.classroom-header-course-item:last-child{border-bottom:none}.classroom-header-course-item:hover{background:#f8fafc}.classroom-header-course-item.selected{background:#6366f1;color:#fff}.classroom-header-course-item.selected .classroom-header-course-section{color:#fffc}.classroom-header-course-name{color:#1e293b;font-size:16px;font-weight:600;margin-bottom:4px}.classroom-header-course-item.selected .classroom-header-course-name{color:#fff}.classroom-header-course-section{color:#64748b;font-size:14px}.classroom-header-share-input-container{display:flex;flex-direction:column;gap:20px;margin-bottom:32px}.classroom-header-share-input{background:#f8fafc;border:2px solid #e2e8f0;border-radius:12px;box-sizing:border-box;color:#475569;font-family:monospace;font-size:16px;max-width:100%;outline:none;padding:16px 20px;transition:all .2s ease;width:100%}.classroom-header-share-input:focus{background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.classroom-header-copy-btn{align-items:center;background:#6366f1;border:none;border-radius:12px;box-sizing:border-box;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:8px;justify-content:center;padding:16px 24px;transition:all .2s ease;width:100%}.classroom-header-copy-btn:hover{background:#5855eb;box-shadow:0 4px 12px #6366f14d;transform:translateY(-1px)}.classroom-header-copy-btn span{font-size:16px}.classroom-header-loading{color:#64748b;font-size:16px;padding:40px 20px;text-align:center}.classroom-header-import-btn{align-items:center;background:#10b981;border:none;border-radius:12px;box-sizing:border-box;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:8px;justify-content:center;min-width:140px;padding:16px 32px;transition:all .2s ease}.classroom-header-import-btn:hover:not(:disabled){background:#059669;box-shadow:0 4px 12px #10b9814d;transform:translateY(-1px)}.classroom-header-import-btn:disabled{cursor:not-allowed;opacity:.6}.classroom-header-import-btn span{font-size:16px}.classroom-header-modal-footer{display:flex;justify-content:center;padding:0}.classroom-header-done-btn{align-items:center;background:#10b981;border:none;border-radius:12px;box-sizing:border-box;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:8px;justify-content:center;min-width:120px;padding:16px 32px;transition:all .2s ease}.classroom-header-done-btn:hover{background:#059669;box-shadow:0 4px 12px #10b9814d;transform:translateY(-1px)}.classroom-header-done-btn span{font-size:16px}@media(max-width:1024px)and (min-width:769px){.classroom-header-members-grid{gap:12px;grid-template-columns:repeat(auto-fill, minmax(250px, 1fr))}.classroom-header-modal-container{padding:28px;width:calc(100% - 60px)}.classroom-header-admin-control-bar{padding:14px 16px}}@media(max-width:768px){.classroom-header-modern-container{border-radius:12px;padding:16px}.classroom-header-admin-control-bar{align-items:stretch;flex-direction:column;gap:12px;margin-bottom:16px;padding:16px}.classroom-header-title-section{justify-content:space-between;width:100%}.classroom-header-main-title{font-size:20px;line-height:1.2}.classroom-header-action-controls{flex-direction:column;gap:8px;width:100%}.classroom-header-google-btn,.classroom-header-invite-btn{font-size:14px;justify-content:center;padding:12px 16px;width:100%}.classroom-header-members-grid{gap:12px;grid-template-columns:1fr}.classroom-header-member-card{gap:12px;padding:12px 16px}.classroom-header-member-avatar{font-size:16px;height:40px;width:40px}.classroom-header-modal-container{border-radius:12px;margin:10px;padding:20px;width:calc(100% - 20px)}.classroom-header-modal-title{font-size:22px;max-width:75%}.classroom-header-modal-close-btn{font-size:20px;height:36px;width:36px}.classroom-header-modal-description{font-size:16px;margin-bottom:24px}.classroom-header-share-input{font-size:14px;padding:14px 16px}.classroom-header-copy-btn,.classroom-header-done-btn,.classroom-header-import-btn{font-size:14px;padding:14px 20px;width:100%}.classroom-header-course-item{padding:12px 16px}.classroom-header-google-auth-btn{font-size:14px;padding:14px 24px}}@media(max-width:480px){.classroom-header-admin-control-bar,.classroom-header-modern-container{padding:12px}.classroom-header-main-title{font-size:18px}.classroom-header-modal-container{margin:5px;padding:16px;width:calc(100% - 10px)}.classroom-header-modal-title{font-size:20px;max-width:70%}.classroom-header-member-card{gap:10px;padding:10px 12px}.classroom-header-member-avatar{font-size:14px;height:36px;width:36px}.classroom-header-member-name{font-size:14px}.classroom-header-member-email{font-size:12px}}
.ai-question-popup-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.ai-question-popup{background-color:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;display:flex;flex-direction:column;max-height:90vh;max-width:800px;overflow:hidden;width:90%}.ai-question-popup .popup-header{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:16px 20px}.ai-question-popup .popup-header h3{color:#333;font-size:18px;margin:0}.ai-question-popup .popup-header .close-button{align-items:center;background:none;border:none;border-radius:4px;color:#666;cursor:pointer;display:flex;justify-content:center;padding:4px}.ai-question-popup .popup-header .close-button:hover{background-color:#f5f5f5;color:#333}.ai-question-popup .search-container{border-bottom:1px solid #eee;padding:16px 20px}.ai-question-popup .search-container .search-input-wrapper{display:flex;gap:10px}.ai-question-popup .search-container .search-input-wrapper input{border:1px solid #ddd;border-radius:4px;flex:1;font-size:14px;padding:10px 12px}.ai-question-popup .search-container .search-input-wrapper input:focus{border-color:#4a6cf7;box-shadow:0 0 0 2px #4a6cf733;outline:none}.ai-question-popup .search-container .search-input-wrapper .search-button{align-items:center;background-color:#4a6cf7;border:none;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-weight:500;gap:6px;padding:0 16px}.ai-question-popup .search-container .search-input-wrapper .search-button:hover{background-color:#1944f5}.ai-question-popup .questions-container{flex:1;max-height:50vh;overflow-y:auto;padding:10px 20px}.ai-question-popup .questions-container .empty-state,.ai-question-popup .questions-container .loading-state{align-items:center;color:#666;display:flex;flex-direction:column;justify-content:center;padding:40px 0}.ai-question-popup .questions-container .empty-state .spinner,.ai-question-popup .questions-container .loading-state .spinner{animation:spin 1s linear infinite;color:#4a6cf7;margin-bottom:16px}.ai-question-popup .questions-container .empty-state p,.ai-question-popup .questions-container .loading-state p{font-size:15px;margin:0}.ai-question-popup .questions-container .question-item{align-items:flex-start;border:1px solid #eee;border-radius:6px;cursor:pointer;display:flex;justify-content:space-between;margin-bottom:12px;padding:16px;transition:all .2s ease}.ai-question-popup .questions-container .question-item:hover{background-color:#fafafa;border-color:#ddd}.ai-question-popup .questions-container .question-item.selected{background-color:#4a6cf70d;border-color:#4a6cf7}.ai-question-popup .questions-container .question-item .question-content{flex:1}.ai-question-popup .questions-container .question-item .question-content .question-text{color:#333;font-weight:500;margin-bottom:12px}.ai-question-popup .questions-container .question-item .question-content .question-answers{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(200px, 1fr))}.ai-question-popup .questions-container .question-item .question-content .question-answers .answer{background-color:#f5f5f5;border-radius:4px;color:#555;font-size:14px;padding:8px 24px 8px 12px;position:relative}.ai-question-popup .questions-container .question-item .question-content .question-answers .answer.correct{background-color:#52c41a1a;border:1px solid #52c41a33;color:#52c41a;padding:15px !important}.ai-question-popup .questions-container .question-item .question-content .question-answers .answer .correct-indicator{background-color:#0000;color:#52c41a;font-weight:700;position:absolute;right:5px !important;top:10px;transform:translateY(-50%)}.ai-question-popup .questions-container .question-item .selection-indicator{align-items:center;border-radius:50%;color:#4a6cf7;display:flex;height:24px;justify-content:center;margin-left:12px;width:24px}.ai-question-popup .popup-footer{align-items:center;background-color:#fafafa;border-top:1px solid #eee;display:flex;justify-content:space-between;padding:16px 20px}.ai-question-popup .popup-footer .selection-count{color:#666;font-size:14px}.ai-question-popup .popup-footer .action-buttons{display:flex;gap:12px}.ai-question-popup .popup-footer .action-buttons button{border-radius:4px;cursor:pointer;font-size:14px;padding:8px 16px;transition:all .2s ease}.ai-question-popup .popup-footer .action-buttons button.cancel-button{background-color:#f5f5f5;border:1px solid #ddd;color:#666}.ai-question-popup .popup-footer .action-buttons button.cancel-button:hover{background-color:#eee}.ai-question-popup .popup-footer .action-buttons button.add-button{background-color:#4a6cf7;border:none;color:#fff}.ai-question-popup .popup-footer .action-buttons button.add-button:hover{background-color:#1944f5}.ai-question-popup .popup-footer .action-buttons button.add-button:disabled{background-color:#b3c0f7;cursor:not-allowed}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
