@import"https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap";.navbar{position:fixed;top:0;left:0;width:100%;background:#fafafa;box-shadow:0 4px 20px #00000014;z-index:1000;padding:0}.navbar-container{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;flex-direction:row-reverse}.navbar-brand{display:flex;align-items:center;text-decoration:none;order:1}.brand-text{font-size:1.8rem;font-weight:800;background:linear-gradient(135deg,#1a5490,#2980b9,#f39c12);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;transition:all .3s ease;letter-spacing:.5px}.navbar-brand:hover .brand-text{transform:scale(1.05);filter:brightness(1.2)}.navbar-menu{display:flex;gap:2.5rem;align-items:center;order:2}.nav-student-info,.nav-logout-btn{display:none}.navbar-student-info-desktop{display:flex;align-items:center;gap:1rem;order:3}.student-welcome{display:flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,#1a5490,#2980b9);color:#fff;padding:.6rem 1.2rem;border-radius:25px;font-weight:600;font-size:.95rem}.student-welcome svg{width:20px;height:20px}.logout-btn{display:flex;align-items:center;gap:.5rem;background:#e74c3c;color:#fff;border:none;padding:.6rem 1.2rem;border-radius:25px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .3s ease;font-family:Cairo,sans-serif}.logout-btn:hover{background:#c0392b;transform:translateY(-2px);box-shadow:0 5px 15px #e74c3c66}.logout-btn svg{width:18px;height:18px}.nav-link{color:#1a5490;text-decoration:none;font-size:1.1rem;font-weight:600;transition:all .3s ease;position:relative;padding:.5rem 0}.nav-link:after{content:"";position:absolute;bottom:0;right:0;width:0;height:3px;background:linear-gradient(90deg,#f39c12,#e67e22);transition:width .3s ease;border-radius:2px}.nav-link:hover:after{width:100%}.nav-link:hover{color:#f39c12}.contact-link{background:#f39c12;color:#fff;padding:.7rem 1.5rem;border-radius:25px;font-weight:700}.contact-link:after{display:none}.contact-link:hover{background:#e67e22;color:#fff;transform:translateY(-2px);box-shadow:0 5px 15px #f39c1266}.navbar-mobile-toggle{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:5px;order:3}.navbar-mobile-toggle span{width:30px;height:3px;background:#1a5490;border-radius:2px;transition:all .3s ease}@media (max-width: 968px){.navbar-container{padding:1rem 1.5rem}.navbar-student-info-desktop{display:none}.nav-student-info{display:flex;align-items:center;gap:.8rem;background:linear-gradient(135deg,#1a5490,#2980b9);color:#fff;padding:1rem 1.5rem;border-radius:12px;font-weight:600;font-size:1.1rem;width:100%;justify-content:center;margin-top:1rem}.nav-student-info svg{width:24px;height:24px}.nav-logout-btn{display:flex;align-items:center;justify-content:center;gap:.8rem;background:#e74c3c;color:#fff;border:none;padding:1rem 1.5rem;border-radius:12px;font-weight:600;font-size:1.1rem;cursor:pointer;transition:all .3s ease;font-family:Cairo,sans-serif;width:100%;margin-top:1rem}.nav-logout-btn:hover{background:#c0392b}.nav-logout-btn svg{width:22px;height:22px}.navbar-menu{position:fixed;top:80px;left:-100%;width:100%;height:calc(100vh - 80px);background:#fafafa;flex-direction:column;justify-content:flex-start;padding:3rem 2rem;gap:2rem;transition:left .4s ease;box-shadow:0 4px 20px #0000001a}.navbar-menu.active{left:0}.navbar-mobile-toggle{display:flex}.nav-link{font-size:1.3rem}}@media (max-width: 768px){.brand-text{font-size:1.4rem}}@media (max-width: 480px){.brand-text{font-size:1.1rem}.navbar-container{padding:.8rem 1rem}.navbar-menu{padding:2rem 1.5rem}.nav-student-info,.nav-logout-btn{font-size:1rem;padding:.9rem 1.2rem}}.footer{background:linear-gradient(135deg,#0a1929,#1a5490);color:#fff;padding:3rem 0 1rem;margin-top:5rem}.footer-container{max-width:1400px;margin:0 auto;padding:0 2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:3rem;margin-bottom:2rem}.footer-section h3{font-size:1.5rem;margin-bottom:1rem;color:#f39c12}.footer-section h4{font-size:1.2rem;margin-bottom:1rem;color:#f39c12}.footer-section p{margin-bottom:.5rem;line-height:1.8;color:#ecf0f1}.footer-section ul{list-style:none}.footer-section ul li{margin-bottom:.7rem}.footer-section ul li a{color:#ecf0f1;text-decoration:none;transition:color .3s ease}.footer-section ul li a:hover{color:#f39c12}.footer-bottom{text-align:center;padding:1.5rem 0;border-top:1px solid rgba(255,255,255,.1)}.footer-bottom p{color:#ecf0f1;font-size:.95rem}@media (max-width: 768px){.footer-container{grid-template-columns:1fr;gap:2rem;padding:0 1.5rem}.footer{padding:2rem 0 1rem;margin-top:3rem}}.whatsapp-button{position:fixed;bottom:30px;right:30px;background:linear-gradient(135deg,#25d366,#128c7e);color:#fff;padding:1rem 1.5rem;border-radius:50px;display:flex;align-items:center;gap:.8rem;cursor:pointer;box-shadow:0 8px 25px #25d36666;transition:all .3s ease;z-index:999;font-weight:600;animation:pulse 2s infinite}.whatsapp-button:hover{transform:translateY(-5px);box-shadow:0 12px 35px #25d36699}.whatsapp-icon{width:32px;height:32px}.whatsapp-text{font-size:1.1rem;font-weight:700}@keyframes pulse{0%,to{box-shadow:0 8px 25px #25d36666}50%{box-shadow:0 8px 35px #25d366b3}}@media (max-width: 768px){.whatsapp-button{bottom:20px;right:20px;padding:.9rem 1.3rem;gap:.7rem}.whatsapp-icon{width:28px;height:28px}.whatsapp-text{font-size:1rem}}@media (max-width: 480px){.whatsapp-button{padding:.8rem 1.1rem;gap:.6rem;bottom:15px;right:15px}.whatsapp-icon{width:26px;height:26px}.whatsapp-text{font-size:.95rem}}.auth-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000bf;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .3s ease}.auth-modal{background:#fff;border-radius:24px;width:90%;max-width:550px;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 25px 70px #0000004d;animation:slideUp .4s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.auth-close{position:absolute;top:20px;left:20px;background:#f8f9fa;border:none;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;z-index:10}.auth-close:hover{background:#e74c3c;color:#fff;transform:rotate(90deg)}.auth-close svg{width:20px;height:20px}.auth-header{background:linear-gradient(135deg,#1a5490,#2980b9);padding:3rem 2rem 2.5rem;text-align:center;color:#fff;position:relative;overflow:hidden}.auth-header:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");opacity:.5}.auth-icon{width:80px;height:80px;background:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;position:relative;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1);box-shadow:0 0 #fff6}50%{transform:scale(1.05);box-shadow:0 0 0 15px #fff0}}.auth-icon svg{width:40px;height:40px;color:#fff}.auth-header h2{font-size:2rem;font-weight:800;margin-bottom:.5rem;position:relative}.auth-subtitle{font-size:1.1rem;color:#ecf0f1;position:relative}.auth-tabs{display:flex;gap:0;padding:0;background:#f8f9fa;border-bottom:3px solid #e0e0e0}.auth-tab{flex:1;padding:1.2rem;background:transparent;border:none;font-size:1.1rem;font-weight:600;color:#7f8c8d;cursor:pointer;transition:all .3s ease;position:relative;font-family:Cairo,sans-serif}.auth-tab.active{color:#1a5490;background:#fff}.auth-tab.active:after{content:"";position:absolute;bottom:-3px;left:0;width:100%;height:3px;background:linear-gradient(90deg,#1a5490,#2980b9)}.auth-tab:hover:not(.active){color:#2980b9;background:#1a54900d}.auth-error{margin:1.5rem 2rem 0;padding:1rem 1.5rem;background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;border-radius:12px;display:flex;align-items:center;gap:.8rem;font-weight:600;animation:shake .5s ease;border:2px solid #c0392b}.auth-error svg{width:24px;height:24px;flex-shrink:0}.auth-form{padding:2rem}.auth-form .form-group{margin-bottom:1.5rem}.auth-form label{display:flex;align-items:center;gap:.5rem;font-weight:700;color:#2c3e50;margin-bottom:.8rem;font-size:1rem}.auth-form .label-icon{color:#f39c12;font-size:1.2rem}.auth-form input,.auth-form select{width:100%;padding:1rem 1.2rem;border:2px solid #e0e0e0;border-radius:12px;font-size:1rem;font-family:Cairo,sans-serif;transition:all .3s ease;background:#fafafa}.auth-form input:focus,.auth-form select:focus{outline:none;border-color:#1a5490;background:#fff;box-shadow:0 4px 12px #1a549026;transform:translateY(-2px)}.auth-form .form-hint{font-size:.85rem;color:#7f8c8d;margin-top:.5rem}.auth-submit-btn{width:100%;padding:1.2rem;background:linear-gradient(135deg,#1a5490,#2980b9);color:#fff;border:none;border-radius:12px;font-size:1.2rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.8rem;transition:all .3s ease;font-family:Cairo,sans-serif;box-shadow:0 8px 20px #1a54904d;margin-top:2rem}.auth-submit-btn:hover:not(:disabled){background:linear-gradient(135deg,#2980b9,#3498db);transform:translateY(-3px);box-shadow:0 12px 30px #1a549066}.auth-submit-btn:disabled{opacity:.6;cursor:not-allowed}.auth-submit-btn svg{width:24px;height:24px}.auth-footer{padding:1.5rem 2rem 2rem;text-align:center;background:#f8f9fa;border-radius:0 0 24px 24px}.auth-footer p{color:#7f8c8d;font-size:1rem}.auth-switch-btn{background:none;border:none;color:#1a5490;font-weight:700;cursor:pointer;font-family:Cairo,sans-serif;font-size:1rem;transition:all .3s ease;text-decoration:underline}.auth-switch-btn:hover{color:#2980b9;transform:scale(1.05)}@media (max-width: 768px){.auth-modal{width:95%;max-width:none}.auth-header{padding:2.5rem 1.5rem 2rem}.auth-header h2{font-size:1.7rem}.auth-subtitle{font-size:1rem}.auth-icon{width:70px;height:70px}.auth-icon svg{width:35px;height:35px}.auth-form{padding:1.5rem}.auth-tab{font-size:1rem;padding:1rem}.auth-submit-btn{font-size:1.1rem;padding:1rem}}@media (max-width: 480px){.auth-modal{width:98%;border-radius:20px}.auth-header{padding:2rem 1rem 1.5rem}.auth-header h2{font-size:1.5rem}.auth-subtitle{font-size:.95rem}.auth-icon{width:60px;height:60px;margin-bottom:1rem}.auth-icon svg{width:30px;height:30px}.auth-form{padding:1.2rem}.auth-form label{font-size:.95rem}.auth-form input,.auth-form select{padding:.9rem 1rem;font-size:.95rem}.auth-tab{font-size:.95rem;padding:.9rem}.auth-submit-btn{font-size:1rem;padding:.9rem}.auth-footer{padding:1.2rem 1rem 1.5rem}.auth-footer p,.auth-switch-btn{font-size:.95rem}}.home{min-height:100vh}.hero{min-height:100vh;position:relative;display:flex;align-items:center;justify-content:center;padding-top:80px;overflow:hidden}.hero-background{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#0a1929,#1a5490,#2980b9);z-index:-1}.animated-shapes{position:absolute;width:100%;height:100%;overflow:hidden}.shape{position:absolute;border-radius:50%;filter:blur(80px);opacity:.3;animation:float 20s infinite ease-in-out}.shape-1{width:400px;height:400px;background:#f39c12;top:10%;left:10%;animation-delay:0s}.shape-2{width:350px;height:350px;background:#3498db;bottom:20%;right:15%;animation-delay:7s}.shape-3{width:300px;height:300px;background:#e74c3c;top:50%;left:50%;animation-delay:14s}@keyframes float{0%,to{transform:translate(0) scale(1)}33%{transform:translate(50px,-50px) scale(1.1)}66%{transform:translate(-30px,30px) scale(.9)}}.hero-content{max-width:1400px;width:100%;padding:2rem;display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;position:relative;z-index:1}.hero-text{color:#fff;text-align:right}.hero-title{font-size:4rem;font-weight:800;margin-bottom:2rem;line-height:1.3;display:flex;flex-direction:column;gap:.8rem}.title-teacher{color:#ecf0f1;font-size:2.5rem;font-weight:600;animation:slideInRight 1s ease-out}.title-name{font-size:5rem;color:#f39c12;font-weight:800;animation:slideInRight 1s ease-out .2s backwards}.hero-description-1{font-size:1.8rem;line-height:1.8;margin-bottom:1rem;color:#ecf0f1;font-weight:600;animation:slideInRight 1s ease-out .4s backwards}.hero-description-2{font-size:1.6rem;line-height:1.8;margin-bottom:2.5rem;color:#ecf0f1;font-weight:500;animation:slideInRight 1s ease-out .6s backwards}.hero-stats{display:flex;gap:3rem;margin-top:3rem;animation:slideInRight 1s ease-out .8s backwards}.stat-item{text-align:center}.stat-number{font-size:3rem;font-weight:800;color:#f39c12;margin-bottom:.5rem}.stat-label{font-size:1.1rem;color:#ecf0f1}.hero-stats-responsive{display:none}.hero-image{display:flex;flex-direction:column;justify-content:center;align-items:center;animation:slideInLeft 1s ease-out}.image-container{position:relative;width:450px;height:450px}.teacher-image{width:100%;height:100%;object-fit:cover;border-radius:30px;box-shadow:0 20px 60px #0006;position:relative;z-index:2;border:5px solid #f39c12}.image-decoration{position:absolute;top:-20px;left:-20px;width:100%;height:100%;border:3px solid #f39c12;border-radius:30px;z-index:1;animation:pulse 3s infinite}@keyframes slideInRight{0%{opacity:0;transform:translate(-50px)}to{opacity:1;transform:translate(0)}}@keyframes slideInLeft{0%{opacity:0;transform:translate(50px)}to{opacity:1;transform:translate(0)}}@keyframes pulse{0%,to{transform:scale(1);opacity:.5}50%{transform:scale(1.05);opacity:.8}}.scroll-indicator{position:absolute;bottom:30px;left:50%;transform:translate(-50%);pointer-events:none;z-index:0}.mouse{width:30px;height:50px;border:3px solid #f39c12;border-radius:20px;position:relative;animation:bounce 2s infinite}.mouse:before{content:"";position:absolute;top:10px;left:50%;transform:translate(-50%);width:6px;height:10px;background:#f39c12;border-radius:3px;animation:scroll 2s infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes bounceSubtle{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes scroll{0%{opacity:1;transform:translate(-50%) translateY(0)}to{opacity:0;transform:translate(-50%) translateY(20px)}}.grades-section{padding:6rem 2rem;max-width:1400px;margin:0 auto}.section-header{text-align:center;margin-bottom:4rem}.section-title{font-size:3rem;font-weight:800;color:#1a5490;margin-bottom:1rem;position:relative;display:inline-block}.section-title:after{content:"";position:absolute;bottom:-10px;left:50%;transform:translate(-50%);width:100px;height:4px;background:linear-gradient(90deg,#f39c12,#e67e22);border-radius:2px}.section-subtitle{font-size:1.3rem;color:#7f8c8d;margin-top:1.5rem}.grades-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:3rem;margin-top:3rem}.grade-card{background:#fff;border-radius:20px;overflow:hidden;cursor:pointer;transition:all .4s ease;box-shadow:0 10px 30px #0000001a;position:relative}.grade-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#1a5490,#2980b9);opacity:0;transition:opacity .4s ease;z-index:1}.grade-card:hover:before{opacity:1}.grade-card:hover{transform:translateY(-10px);box-shadow:0 20px 50px #1a54904d}.grade-card-inner{padding:3rem;position:relative;z-index:2;transition:all .4s ease}.grade-card:hover .grade-card-inner{color:#fff}.grade-icon{width:80px;height:80px;background:linear-gradient(135deg,#f39c12,#e67e22);border-radius:20px;display:flex;align-items:center;justify-content:center;margin-bottom:2rem;transition:all .4s ease}.grade-card:hover .grade-icon{background:#fff;transform:scale(1.1) rotate(5deg)}.grade-icon svg{width:45px;height:45px;color:#fff;transition:color .4s ease}.grade-card:hover .grade-icon svg{color:#f39c12}.grade-title{font-size:2rem;font-weight:700;margin-bottom:1rem;color:#1a5490;transition:color .4s ease}.grade-card:hover .grade-title{color:#fff}.grade-description{font-size:1.2rem;line-height:1.8;color:#7f8c8d;margin-bottom:2rem;transition:color .4s ease}.grade-card:hover .grade-description{color:#ecf0f1}.grade-arrow{width:50px;height:50px;background:#f39c12;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:auto;transition:all .4s ease}.grade-card:hover .grade-arrow{background:#fff;transform:translate(-10px)}.grade-arrow svg{width:25px;height:25px;color:#fff;transition:color .4s ease}.grade-card:hover .grade-arrow svg{color:#f39c12}.features-section{padding:6rem 2rem;background:linear-gradient(180deg,#f8f9fa,#ecf0f1)}.features-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2.5rem}.feature-card{background:#fff;padding:2.5rem;border-radius:20px;text-align:center;box-shadow:0 10px 30px #00000014;transition:all .3s ease}.feature-card:hover{transform:translateY(-5px);box-shadow:0 15px 40px #0000001f}.feature-icon{width:80px;height:80px;background:linear-gradient(135deg,#1a5490,#2980b9);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;transition:all .3s ease}.feature-card:hover .feature-icon{background:linear-gradient(135deg,#f39c12,#e67e22);transform:scale(1.1) rotate(10deg)}.feature-icon svg{width:40px;height:40px;color:#fff}.feature-card h3{font-size:1.5rem;font-weight:700;color:#1a5490;margin-bottom:1rem}.feature-card p{font-size:1.1rem;color:#7f8c8d;line-height:1.8}@media (max-width: 1200px){.hero-content{gap:3rem}.hero-title{font-size:3.5rem}.title-teacher{font-size:2.2rem}.title-name{font-size:4.5rem}.hero-description-1{font-size:1.6rem}.hero-description-2{font-size:1.4rem}.image-container{width:400px;height:400px}}@media (max-width: 968px){.hero{padding-top:68px;padding-bottom:3rem}.scroll-indicator{bottom:6px;z-index:0}.mouse{animation:bounceSubtle 2s infinite}.hero-content{grid-template-columns:1fr;gap:2rem;text-align:center}.hero-text{text-align:center}.hero-stats{display:none}.hero-title{font-size:3rem}.title-teacher{font-size:2rem}.title-name{font-size:4rem}.hero-description-1{font-size:1.5rem}.hero-description-2{font-size:1.3rem}.hero-image{gap:1.75rem;margin-top:-1.25rem}.hero-stats-responsive{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:1rem;width:100%;max-width:420px}.stat-item-responsive{background:#fffffff2;padding:1.25rem 1rem;border-radius:14px;text-align:center;box-shadow:0 8px 24px #0000002e;flex:1 1 100px;min-width:100px;max-width:130px;transition:transform .25s ease,box-shadow .25s ease}.stat-item-responsive:hover{transform:translateY(-4px);box-shadow:0 12px 28px #00000038}.stat-number-responsive{font-size:2rem;font-weight:800;color:#1a5490;margin-bottom:.35rem}.stat-label-responsive{font-size:.88rem;color:#2c3e50;font-weight:600;line-height:1.35}.image-container{width:350px;height:350px;margin:0 auto}.section-title{font-size:2.5rem}.grades-container{grid-template-columns:1fr;gap:2rem}}@media (max-width: 768px){.hero{padding-top:78px}.hero-title{font-size:2.5rem}.title-teacher{font-size:1.6rem}.title-name{font-size:3.2rem}.hero-description-1{font-size:1.3rem}.hero-description-2{font-size:1.1rem}.hero-image{gap:1.5rem;margin-top:-1.75rem}.hero-stats-responsive{max-width:100%;gap:.85rem}.stat-item-responsive{padding:1.1rem .85rem;min-width:90px;max-width:115px;flex:1 1 90px}.stat-number-responsive{font-size:1.85rem}.stat-label-responsive{font-size:.8rem}.image-container{width:300px;height:300px}.section-title{font-size:2rem}.section-subtitle{font-size:1.1rem}.grades-section,.features-section{padding:4rem 1.5rem}.features-grid{grid-template-columns:1fr;gap:2rem}}@media (max-width: 480px){.hero{padding-top:72px;padding-bottom:3.25rem}.scroll-indicator{bottom:max(4px,env(safe-area-inset-bottom,0px))}.hero-content{padding:1rem;gap:1.5rem}.hero-title{font-size:2rem}.title-teacher{font-size:1.4rem}.title-name{font-size:2.8rem}.hero-description-1{font-size:1.1rem}.hero-description-2{font-size:1rem}.hero-image{gap:1.25rem;margin-top:-2rem}.hero-stats-responsive{gap:.65rem;padding:0 .25rem}.stat-item-responsive{padding:.95rem .65rem;min-width:78px;max-width:100px;flex:1 1 78px;border-radius:12px}.stat-number-responsive{font-size:1.55rem}.stat-label-responsive{font-size:.68rem}.image-container{width:250px;height:250px}.section-title{font-size:1.7rem}.section-subtitle{font-size:1rem}.grades-container{grid-template-columns:1fr}.grade-card-inner{padding:2rem}.grade-title{font-size:1.6rem}.grade-description{font-size:1rem}.feature-card{padding:2rem}.feature-card h3{font-size:1.3rem}.feature-card p{font-size:1rem}}.grade-view{min-height:100vh;background:#f8f9fa}.grade-header{background:linear-gradient(135deg,#1a5490,#2980b9);padding:8rem 2rem 4rem;margin-top:80px;position:relative;overflow:hidden}.grade-header:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");opacity:.5}.grade-header-content{max-width:1400px;margin:0 auto;text-align:center;position:relative;z-index:1}.grade-header-title{font-size:3.5rem;font-weight:800;color:#fff;margin-bottom:1rem;animation:fadeInUp .8s ease-out}.grade-header-subtitle{font-size:1.4rem;color:#ecf0f1;animation:fadeInUp .8s ease-out .2s backwards}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.courses-section{padding:4rem 2rem}.courses-container{max-width:1400px;margin:0 auto}.courses-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2.5rem}.course-card{background:#fff;border-radius:20px;overflow:hidden;cursor:pointer;transition:all .4s ease;box-shadow:0 10px 30px #0000001a}.course-card:hover{transform:translateY(-10px);box-shadow:0 20px 50px #1a549033}.course-image{position:relative;width:100%;height:250px;overflow:hidden;background:#1a5490}.course-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .4s ease}.course-card:hover .course-image img{transform:scale(1.1)}.course-overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;box-sizing:border-box;background:linear-gradient(135deg,#1a5490e6,#2980b9e6);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .4s ease;z-index:2;pointer-events:none}.course-card:hover .course-overlay{opacity:1;pointer-events:auto}.view-course-btn{background:#f39c12;color:#fff;border:none;padding:1rem 2.5rem;font-size:1.2rem;font-weight:700;border-radius:30px;cursor:pointer;transition:all .3s ease;font-family:Cairo,sans-serif}.view-course-btn:hover{background:#e67e22;transform:scale(1.05)}.course-content{padding:2rem}.course-title{font-size:1.8rem;font-weight:700;color:#1a5490;margin-bottom:1rem}.course-description{font-size:1.1rem;color:#7f8c8d;line-height:1.8;margin-bottom:1.5rem}.course-meta{display:flex;gap:2rem;padding-top:1.5rem;border-top:2px solid #ecf0f1}.no-courses{text-align:center;padding:5rem 2rem;color:#7f8c8d}.no-courses svg{width:100px;height:100px;color:#bdc3c7;margin-bottom:2rem}.no-courses h3{font-size:2rem;margin-bottom:1rem;color:#1a5490}.no-courses p{font-size:1.2rem}.loading-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background:#f8f9fa}.spinner{width:60px;height:60px;border:5px solid #ecf0f1;border-top-color:#f39c12;border-radius:50%;animation:spin 1s linear infinite}@media (max-width: 968px){.grade-header{padding:6rem 1.5rem 3rem}.grade-header-title{font-size:2.5rem}.grade-header-subtitle{font-size:1.2rem}.courses-section{padding:3rem 1.5rem}.courses-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:2rem}}@media (max-width: 768px){.grade-header-title{font-size:2rem}.grade-header-subtitle{font-size:1.1rem}.courses-grid{grid-template-columns:1fr}.course-image{height:200px}.course-title{font-size:1.5rem}.course-description{font-size:1rem}}@media (max-width: 480px){.grade-header{padding:5rem 1rem 2.5rem}.grade-header-title{font-size:1.7rem}.grade-header-subtitle{font-size:1rem}.courses-section{padding:2rem 1rem}.course-content{padding:1.5rem}.course-meta{flex-direction:column;gap:1rem}}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:2000;padding:1rem;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:25px;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;position:relative;animation:slideUp .4s ease;box-shadow:0 20px 60px #0000004d}@keyframes slideUp{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}.modal-close{position:absolute;top:20px;left:20px;background:#e74c3c;border:none;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;z-index:10}.modal-close:hover{background:#c0392b;transform:rotate(90deg)}.modal-close svg{width:20px;height:20px;color:#fff}.modal-header{background:linear-gradient(135deg,#1a5490,#2980b9);padding:3rem 2rem 2rem;text-align:center;color:#fff}.modal-header h2{font-size:2.2rem;font-weight:800;margin-bottom:.5rem}.modal-header p{font-size:1.1rem;color:#ecf0f1}.activation-tabs{display:flex;background:#ecf0f1;padding:.5rem;margin:0}.tab-btn{flex:1;background:transparent;border:none;padding:1rem;font-size:1.1rem;font-weight:600;color:#7f8c8d;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;border-radius:10px;font-family:Cairo,sans-serif}.tab-btn svg{width:22px;height:22px}.tab-btn.active{background:#fff;color:#1a5490;box-shadow:0 4px 15px #0000001a}.activation-form{padding:2.5rem}.form-group{margin-bottom:2rem}.form-group label{display:block;font-size:1.2rem;font-weight:700;color:#1a5490;margin-bottom:1rem}.form-group input[type=text]{width:100%;padding:1rem 1.5rem;font-size:1.2rem;border:2px solid #ecf0f1;border-radius:12px;font-family:Cairo,sans-serif;transition:all .3s ease;text-align:center;font-weight:600;letter-spacing:2px}.form-group input[type=text]:focus{outline:none;border-color:#f39c12;box-shadow:0 0 0 4px #f39c121a}.form-hint{margin-top:.8rem;font-size:.95rem;color:#7f8c8d;text-align:center}.file-upload-area{margin-top:1rem}.file-upload-label{display:block;cursor:pointer}.upload-placeholder{border:3px dashed #bdc3c7;border-radius:15px;padding:3rem 2rem;text-align:center;transition:all .3s ease;background:#f8f9fa}.upload-placeholder svg{width:60px;height:60px;color:#bdc3c7;margin-bottom:1rem}.upload-placeholder span:first-of-type{display:block;font-size:1.2rem;font-weight:600;color:#1a5490;margin-bottom:.5rem}.upload-hint{display:block;font-size:.95rem;color:#7f8c8d}.preview-container{position:relative;border-radius:15px;overflow:hidden}.receipt-preview{width:100%;height:auto;max-height:400px;object-fit:contain;display:block;background:#f8f9fa}.change-image-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#1a5490e6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.8rem;opacity:0;transition:opacity .3s ease;color:#fff}.preview-container:hover .change-image-overlay{opacity:1}.change-image-overlay svg{width:40px;height:40px}.change-image-overlay span{font-size:1.2rem;font-weight:600}.submit-btn{width:100%;background:linear-gradient(135deg,#27ae60,#229954);color:#fff;border:none;padding:1.2rem;font-size:1.3rem;font-weight:700;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.8rem;transition:all .3s ease;font-family:Cairo,sans-serif;margin-top:2rem}.submit-btn svg{width:24px;height:24px}.error-message{background:#ffe5e5;border:2px solid #e74c3c;color:#c0392b;padding:1rem 1.5rem;border-radius:12px;display:flex;align-items:center;gap:.8rem;margin:1.5rem 2.5rem;font-weight:600}.error-message svg{width:24px;height:24px;flex-shrink:0}.success-message{background:#d4edda;border:2px solid #27ae60;color:#1e7e34;padding:1rem 1.5rem;border-radius:12px;display:flex;align-items:center;gap:.8rem;margin:1.5rem 2.5rem;font-weight:600}.success-message svg{width:24px;height:24px;flex-shrink:0}@media (max-width: 768px){.modal-content{max-width:95%;border-radius:20px}.modal-header{padding:2.5rem 1.5rem 1.5rem}.modal-header h2{font-size:1.8rem}.modal-header p{font-size:1rem}.activation-form{padding:2rem 1.5rem}.tab-btn{font-size:1rem;padding:.9rem}.submit-btn{font-size:1.1rem;padding:1rem}}@media (max-width: 480px){.modal-header h2{font-size:1.5rem}.modal-header p{font-size:.95rem}.activation-form{padding:1.5rem 1rem}.tab-btn{font-size:.9rem;padding:.8rem .5rem;gap:.3rem}.tab-btn svg{width:18px;height:18px}.form-group label{font-size:1.1rem}.form-group input[type=text]{font-size:1rem;padding:.9rem 1.2rem}.upload-placeholder{padding:2rem 1rem}.upload-placeholder svg{width:50px;height:50px}.error-message,.success-message{margin:1rem;padding:.9rem 1.2rem;font-size:.95rem}}.video-player-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000f2;display:flex;align-items:center;justify-content:center;z-index:3000;padding:1rem;animation:fadeIn .3s ease}.video-player-container{background:#0a1929;border-radius:20px;max-width:1200px;width:100%;position:relative;animation:slideUp .4s ease;box-shadow:0 20px 60px #00000080}.video-close-btn{flex-shrink:0;background:#e74c3c;border:none;width:45px;height:45px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;align-self:flex-start}.video-close-btn:hover{background:#c0392b;transform:rotate(90deg) scale(1.1)}.video-close-btn svg{width:24px;height:24px;color:#fff}.video-header{display:flex;align-items:flex-start;gap:1rem;padding:1.25rem 1.5rem 1.25rem 1.25rem;color:#fff;border-bottom:2px solid rgba(255,255,255,.1)}.video-header-content{flex:1;min-width:0;text-align:center}.video-header-content h2{font-size:1.8rem;font-weight:700;margin-bottom:.5rem;color:#f39c12}.video-header-content p{font-size:1.1rem;color:#ecf0f1}.video-wrapper{background:#000}.video-inner{position:relative;width:100%;padding-bottom:56.25%;height:0;overflow:hidden;background:#000}.vimeo-mount{position:absolute;top:0;left:0;width:100%;height:100%}.vimeo-mount iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}.video-pointer-shield{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;cursor:pointer;background:transparent;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.video-seek-bar{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.25rem .25rem;background:#0a1929;border-top:1px solid rgba(255,255,255,.08);direction:ltr}.video-time{flex-shrink:0;min-width:3rem;font-size:.9rem;font-weight:600;font-variant-numeric:tabular-nums;color:#ecf0f1;text-align:center}.video-seek-range{flex:1;min-width:0;height:8px;border-radius:4px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#ffffff26;cursor:pointer}.video-seek-range::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:18px;height:18px;margin-top:-7px;border-radius:50%;background:#f39c12;cursor:grab;box-shadow:0 2px 8px #0006}.video-seek-range::-moz-range-thumb{width:18px;height:18px;border:none;border-radius:50%;background:#f39c12;cursor:grab;box-shadow:0 2px 8px #0006;transform:translateY(-3px)}.video-seek-range::-webkit-slider-runnable-track{height:8px;border-radius:4px;background:#fff3}.video-seek-range::-moz-range-track{height:8px;border-radius:4px;background:#fff3}.video-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1rem;padding:1rem 1.5rem 1.25rem;border-top:2px solid rgba(255,255,255,.1);background:#0a1929}.video-tool-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.65rem 1.25rem;border:none;border-radius:10px;background:linear-gradient(135deg,#1a5490,#2980b9);color:#fff;font-family:Cairo,sans-serif;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.video-tool-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #1a549073}.video-tool-btn svg{width:22px;height:22px;flex-shrink:0}.video-tool-btn--compact{padding:.55rem 1rem;font-size:.95rem}.video-skip-label{font-weight:700;letter-spacing:.02em}.video-info{padding:1.5rem 2.5rem;display:flex;justify-content:center;gap:2rem;border-top:2px solid rgba(255,255,255,.1)}.info-item{display:flex;align-items:center;gap:.5rem;color:#ecf0f1;font-weight:600;font-size:1.1rem}.info-item svg{width:22px;height:22px;color:#f39c12}@media (max-width: 968px){.video-player-container{max-width:95%}.video-close-btn{width:40px;height:40px}.video-header{padding:1rem 1.25rem 1rem 1rem;gap:.85rem}.video-header-content h2{font-size:1.5rem}.video-header-content p{font-size:1rem}.video-info{padding:1.2rem 2rem}}@media (max-width: 768px){.video-player-overlay{padding:.5rem}.video-close-btn{width:38px;height:38px}.video-close-btn svg{width:20px;height:20px}.video-header{padding:.9rem 1rem .9rem .85rem;gap:.75rem}.video-header-content h2{font-size:1.3rem}.video-header-content p{font-size:.95rem}.video-info{padding:1rem 1.5rem;gap:1.5rem}.info-item{font-size:1rem}.info-item svg{width:20px;height:20px}}@media (max-width: 480px){.video-player-container{border-radius:15px}.video-close-btn{width:35px;height:35px}.video-header{padding:.75rem .85rem .75rem .75rem;gap:.65rem}.video-header-content h2{font-size:1.1rem}.video-header-content p{font-size:.9rem}.video-info{padding:.8rem 1rem;flex-direction:column;gap:.8rem}.info-item{font-size:.95rem;justify-content:center}}.course-view{min-height:100vh;background:#f8f9fa}.course-header{background:linear-gradient(135deg,#1a5490,#2980b9);padding:8rem 2rem 4rem;margin-top:80px;position:relative;overflow:hidden}.course-header:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");opacity:.5}.course-header-content{max-width:1400px;margin:0 auto;text-align:center;position:relative;z-index:1}.course-header-title{font-size:3.5rem;font-weight:800;color:#fff;margin-bottom:1rem}.course-header-description{font-size:1.4rem;color:#ecf0f1;margin-bottom:2rem}.activate-btn{background:#f39c12;color:#fff;border:none;padding:1.2rem 3rem;font-size:1.3rem;font-weight:700;border-radius:30px;cursor:pointer;display:inline-flex;align-items:center;gap:.8rem;transition:all .3s ease;font-family:Cairo,sans-serif;box-shadow:0 8px 25px #f39c1266}.activate-btn:hover{background:#e67e22;transform:translateY(-3px);box-shadow:0 12px 35px #f39c1299}.activate-btn svg{width:24px;height:24px}.activation-badge{display:inline-flex;align-items:center;gap:.8rem;background:#27ae60;color:#fff;padding:1rem 2.5rem;border-radius:30px;font-size:1.3rem;font-weight:700;box-shadow:0 8px 25px #27ae6066}.activation-badge svg{width:28px;height:28px}.lessons-section{padding:4rem 2rem}.lessons-container{max-width:1400px;margin:0 auto}.lessons-title{font-size:2.5rem;font-weight:800;color:#1a5490;margin-bottom:3rem;text-align:center}.lessons-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2.5rem}.lesson-card{background:#fff;border-radius:20px;overflow:hidden;cursor:pointer;transition:all .4s ease;box-shadow:0 10px 30px #0000001a}.lesson-card:hover{transform:translateY(-10px);box-shadow:0 20px 50px #1a549033}.lesson-card:hover .course-image img{transform:scale(1.1)}.lesson-card:hover .course-overlay{opacity:1;pointer-events:auto}.play-button{width:80px;height:80px;background:#f39c12;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .3s ease}.lesson-card:hover .play-button{transform:scale(1.2);background:#e67e22}.play-button svg{width:35px;height:35px;color:#fff;margin-right:5px}.locked-badge{position:absolute;top:15px;left:15px;background:#e74c3cf2;color:#fff;padding:.6rem 1rem;border-radius:20px;display:flex;align-items:center;gap:.5rem;font-weight:600;z-index:3;pointer-events:none}.locked-badge svg{width:20px;height:20px}.lesson-content{padding:2rem}.lesson-title{font-size:1.5rem;font-weight:700;color:#1a5490;margin-bottom:1rem;line-height:1.4}.lesson-description{font-size:1.05rem;color:#7f8c8d;line-height:1.8;margin-bottom:1.5rem}.lesson-meta{display:flex;gap:1.5rem;padding-top:1rem;border-top:2px solid #ecf0f1}.meta-item{display:flex;align-items:center;gap:.5rem;color:#1a5490;font-weight:600;font-size:1rem}.meta-item svg{width:20px;height:20px}@media (max-width: 968px){.course-header{padding:6rem 1.5rem 3rem}.course-header-title{font-size:2.5rem}.course-header-description{font-size:1.2rem}.lessons-section{padding:3rem 1.5rem}.lessons-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:2rem}.lessons-title{font-size:2rem}}@media (max-width: 768px){.course-header-title{font-size:2rem}.course-header-description{font-size:1.1rem}.activate-btn{padding:1rem 2rem;font-size:1.1rem}.lessons-grid{grid-template-columns:1fr}.lesson-title{font-size:1.3rem}.lesson-description{font-size:1rem}}@media (max-width: 480px){.course-header{padding:5rem 1rem 2.5rem}.course-header-title{font-size:1.7rem}.course-header-description{font-size:1rem}.activate-btn{padding:.9rem 1.8rem;font-size:1rem}.activation-badge{padding:.8rem 1.8rem;font-size:1.1rem}.lessons-section{padding:2rem 1rem}.lessons-title{font-size:1.7rem;margin-bottom:2rem}.lesson-content{padding:1.5rem}.play-button{width:60px;height:60px}.play-button svg{width:28px;height:28px}}.admin-login{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.login-background{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#0a1929,#1a5490,#2980b9);z-index:-1}.login-container{width:100%;max-width:500px;padding:2rem}.login-card{background:#fff;border-radius:25px;padding:3rem;box-shadow:0 20px 60px #0000004d;animation:slideUp .6s ease}.login-header{text-align:center;margin-bottom:2.5rem}.admin-icon{width:80px;height:80px;background:linear-gradient(135deg,#1a5490,#2980b9);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem}.admin-icon svg{width:40px;height:40px;color:#fff}.login-header h1{font-size:2.2rem;font-weight:800;color:#1a5490;margin-bottom:.5rem}.login-header p{font-size:1.1rem;color:#7f8c8d}.error-alert{background:#ffe5e5;border:2px solid #e74c3c;color:#c0392b;padding:1rem 1.5rem;border-radius:12px;display:flex;align-items:center;gap:.8rem;margin-bottom:1.5rem;font-weight:600;animation:shake .5s ease}.login-form{margin-bottom:1.5rem}.input-wrapper{position:relative;display:flex;align-items:center}.input-wrapper svg{position:absolute;right:15px;width:22px;height:22px;color:#7f8c8d;pointer-events:none}.input-wrapper input{width:100%;padding:1rem 3rem 1rem 1.5rem;font-size:1.1rem;border:2px solid #ecf0f1;border-radius:12px;font-family:Cairo,sans-serif;transition:all .3s ease}.input-wrapper input:focus{outline:none;border-color:#f39c12;box-shadow:0 0 0 4px #f39c121a}.input-wrapper input:focus+svg{color:#f39c12}.login-btn{width:100%;background:linear-gradient(135deg,#1a5490,#2980b9);color:#fff;border:none;padding:1.2rem;font-size:1.3rem;font-weight:700;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.8rem;transition:all .3s ease;font-family:Cairo,sans-serif;margin-top:2rem}.login-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #1a549066}.login-btn:disabled{background:#bdc3c7;cursor:not-allowed}.login-btn svg{width:24px;height:24px}.back-home-btn{width:100%;background:transparent;color:#7f8c8d;border:2px solid #ecf0f1;padding:1rem;font-size:1.1rem;font-weight:600;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.6rem;transition:all .3s ease;font-family:Cairo,sans-serif}.back-home-btn:hover{border-color:#1a5490;color:#1a5490;background:#1a54900d}.back-home-btn svg{width:22px;height:22px}@media (max-width: 768px){.login-container{padding:1.5rem}.login-card{padding:2.5rem 2rem}.login-header h1{font-size:1.9rem}.login-header p{font-size:1rem}.admin-icon{width:70px;height:70px}.admin-icon svg{width:35px;height:35px}}@media (max-width: 480px){.login-card{padding:2rem 1.5rem;border-radius:20px}.login-header h1{font-size:1.7rem}.login-header p{font-size:.95rem}.admin-icon{width:65px;height:65px}.form-group label{font-size:1rem}.input-wrapper input{padding:.9rem 2.8rem .9rem 1.2rem;font-size:1rem}.login-btn{padding:1rem;font-size:1.1rem}.back-home-btn{padding:.9rem;font-size:1rem}}.add-course-modal{max-width:700px}.course-form{padding:2rem 2.5rem}.form-group{margin-bottom:1.8rem}.form-group label{display:block;font-size:1.1rem;font-weight:700;color:#1a5490;margin-bottom:.8rem}.form-group input[type=text],.form-group textarea,.form-group select{width:100%;padding:1rem 1.5rem;font-size:1.05rem;border:2px solid #ecf0f1;border-radius:12px;font-family:Cairo,sans-serif;transition:all .3s ease}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#f39c12;box-shadow:0 0 0 4px #f39c121a}.form-group textarea{resize:vertical;min-height:100px}.image-upload-area{margin-top:.5rem}.image-upload-label{display:block;cursor:pointer}.image-preview{width:100%;height:250px;object-fit:cover;border-radius:12px;border:2px solid #ecf0f1}.upload-placeholder{border:3px dashed #bdc3c7;border-radius:12px;padding:3rem 2rem;text-align:center;transition:all .3s ease;background:#f8f9fa}.upload-placeholder:hover{border-color:#f39c12;background:#fff9f0}.upload-placeholder svg{width:50px;height:50px;color:#bdc3c7;margin-bottom:1rem}.upload-placeholder span{display:block;font-size:1.1rem;font-weight:600;color:#1a5490}.form-actions{display:flex;gap:1rem;margin-top:2.5rem}.cancel-btn{flex:1;background:transparent;color:#7f8c8d;border:2px solid #ecf0f1;padding:1.1rem;font-size:1.2rem;font-weight:700;border-radius:12px;cursor:pointer;transition:all .3s ease;font-family:Cairo,sans-serif}.cancel-btn:hover{border-color:#e74c3c;color:#e74c3c;background:#e74c3c0d}.submit-btn{flex:1;background:linear-gradient(135deg,#27ae60,#229954);color:#fff;border:none;padding:1.1rem;font-size:1.2rem;font-weight:700;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.6rem;transition:all .3s ease;font-family:Cairo,sans-serif}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #27ae6066}.submit-btn:disabled{background:#bdc3c7;cursor:not-allowed}@media (max-width: 768px){.course-form{padding:1.5rem 2rem}.form-row{grid-template-columns:1fr;gap:1rem}.form-actions{flex-direction:column}.cancel-btn,.submit-btn{width:100%}}@media (max-width: 480px){.course-form{padding:1.2rem 1.5rem}.form-group label{font-size:1rem}.form-group input,.form-group textarea,.form-group select{font-size:1rem;padding:.9rem 1.2rem}.upload-placeholder{padding:2rem 1rem}.cancel-btn,.submit-btn{font-size:1.1rem;padding:1rem}}.add-code-modal{max-width:700px}.modal-subtitle{font-size:1rem;color:#7f8c8d;margin-top:.5rem;font-weight:400}.upload-method-tabs{display:flex;gap:1rem;padding:1.5rem 2rem 0;border-bottom:2px solid #ecf0f1}.method-tab{flex:1;background:transparent;border:none;padding:1rem;font-size:1rem;font-weight:600;color:#7f8c8d;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.6rem;border-bottom:3px solid transparent;transition:all .3s ease;font-family:Cairo,sans-serif;position:relative;bottom:-2px}.method-tab svg{width:20px;height:20px}.method-tab:hover{color:#1a5490;background:#1a54900d}.method-tab.active{color:#1a5490;border-bottom-color:#f39c12;background:#1a54900d}.code-form{padding:2rem 2.5rem}.form-hint{margin-top:.6rem;font-size:.9rem;color:#7f8c8d;line-height:1.5}.error-alert{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;padding:1rem 1.5rem;border-radius:10px;display:flex;align-items:center;gap:.8rem;margin:1.5rem 2rem 0;font-weight:600;border:2px solid #c0392b;box-shadow:0 4px 15px #e74c3c33}.error-alert svg{width:24px;height:24px;flex-shrink:0}.file-selected{display:flex;align-items:center;gap:.8rem;background:linear-gradient(135deg,#27ae60,#229954);color:#fff;padding:1rem 1.5rem;border-radius:10px;margin-top:1rem;font-weight:600}.file-selected svg{width:24px;height:24px}.codes-result{padding:2rem 2.5rem}.success-banner{background:linear-gradient(135deg,#27ae60,#229954);color:#fff;padding:1.5rem;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:1rem;font-size:1.2rem;font-weight:700;margin-bottom:2rem}.success-banner svg{width:28px;height:28px}.codes-list{max-height:400px;overflow-y:auto;margin-bottom:2rem;background:#f8f9fa;border-radius:12px;padding:1rem}.code-item{display:flex;align-items:center;gap:1rem;background:#fff;padding:1rem 1.5rem;border-radius:10px;margin-bottom:.8rem;border:2px solid #ecf0f1;transition:all .3s ease}.code-item:hover{border-color:#f39c12;box-shadow:0 4px 15px #f39c121a}.code-number{background:#1a5490;color:#fff;width:35px;height:35px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;flex-shrink:0}.code-value{flex:1;font-family:Courier New,monospace;font-size:1.3rem;font-weight:700;color:#1a5490;letter-spacing:2px}.copy-btn{background:#f39c12;border:none;color:#fff;width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;flex-shrink:0}.copy-btn:hover{background:#e67e22;transform:scale(1.1)}.copy-btn svg{width:20px;height:20px}.copy-all-btn{flex:1;background:#3498db;color:#fff;border:none;padding:1.1rem;font-size:1.1rem;font-weight:700;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.6rem;transition:all .3s ease;font-family:Cairo,sans-serif}.copy-all-btn:hover{background:#2980b9;transform:translateY(-2px);box-shadow:0 8px 25px #3498db66}.copy-all-btn svg{width:22px;height:22px}.done-btn{flex:1;background:linear-gradient(135deg,#27ae60,#229954);color:#fff;border:none;padding:1.1rem;font-size:1.1rem;font-weight:700;border-radius:12px;cursor:pointer;transition:all .3s ease;font-family:Cairo,sans-serif}.done-btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px #27ae6066}@media (max-width: 768px){.add-code-modal{max-width:90%}.upload-method-tabs{padding:1.2rem 1.5rem 0}.method-tab{font-size:.9rem;padding:.9rem;gap:.4rem}.method-tab svg{width:18px;height:18px}.code-form,.codes-result{padding:1.5rem 2rem}.error-alert{margin:1.2rem 1.5rem 0;padding:.9rem 1.2rem}.form-actions{flex-direction:column}.copy-all-btn,.done-btn{width:100%}}@media (max-width: 480px){.add-code-modal{max-width:95%}.upload-method-tabs{flex-direction:column;gap:.6rem;padding:1rem 1.2rem 0}.method-tab{font-size:.85rem;padding:.8rem}.code-form,.codes-result{padding:1.2rem 1.5rem}.modal-subtitle{font-size:.9rem}.error-alert{margin:1rem 1.2rem 0;padding:.8rem 1rem;font-size:.9rem}.success-banner{font-size:1.1rem;padding:1.2rem}.code-item{padding:.9rem 1.2rem}.code-value{font-size:1.1rem}.code-number{width:32px;height:32px;font-size:.9rem}.file-selected{padding:.9rem 1.2rem;font-size:.9rem}}.admin-dashboard{display:flex;min-height:100vh;background:#f8f9fa}.admin-sidebar{width:300px;background:linear-gradient(180deg,#0a1929,#1a5490);color:#fff;display:flex;flex-direction:column;position:fixed;height:100vh;right:0;top:0;box-shadow:-4px 0 20px #0000001a;z-index:100}.sidebar-header{padding:2.5rem 2rem;text-align:center;border-bottom:1px solid rgba(255,255,255,.1)}.admin-logo{width:80px;height:80px;background:#f39c12;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem}.admin-logo svg{width:40px;height:40px;color:#fff}.sidebar-header h2{font-size:1.8rem;font-weight:800;margin-bottom:.5rem}.sidebar-header p{font-size:1rem;color:#ecf0f1}.sidebar-nav{flex:1;padding:2rem 1rem;display:flex;flex-direction:column;gap:1rem}.nav-item{background:transparent;border:none;color:#ecf0f1;padding:1.2rem 1.5rem;font-size:1.1rem;font-weight:600;border-radius:12px;cursor:pointer;display:flex;align-items:center;gap:1rem;transition:all .3s ease;font-family:Cairo,sans-serif;text-align:right;position:relative}.nav-item svg{width:24px;height:24px}.nav-item:hover{background:#ffffff1a;color:#f39c12}.nav-item.active{background:#f39c12;color:#fff}.badge{background:#e74c3c;color:#fff;padding:.2rem .6rem;border-radius:20px;font-size:.85rem;font-weight:700;margin-right:auto}.logout-btn{margin:1rem;background:#e74c3c;border:none;color:#fff;padding:1.2rem;font-size:1.1rem;font-weight:700;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.8rem;transition:all .3s ease;font-family:Cairo,sans-serif}.logout-btn:hover{background:#c0392b;transform:translateY(-2px)}.logout-btn svg{width:24px;height:24px}.admin-main{flex:1;margin-right:300px;padding:2rem}.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2.5rem;flex-wrap:wrap;gap:1.5rem}.admin-header h1{font-size:2.5rem;font-weight:800;color:#1a5490}.header-actions{display:flex;align-items:center;gap:1rem}.grade-filter{padding:.8rem 1.5rem;font-size:1rem;font-weight:600;border:2px solid #1a5490;border-radius:10px;background:#fff;color:#1a5490;cursor:pointer;font-family:Cairo,sans-serif;transition:all .3s ease}.grade-filter:hover{background:#f8f9fa;border-color:#f39c12}.grade-filter:focus{outline:none;border-color:#f39c12;box-shadow:0 0 0 3px #f39c121a}.add-btn{background:#27ae60;color:#fff;border:none;padding:1rem 2rem;font-size:1.1rem;font-weight:700;border-radius:12px;cursor:pointer;display:flex;align-items:center;gap:.6rem;transition:all .3s ease;font-family:Cairo,sans-serif}.add-btn:hover{background:#229954;transform:translateY(-2px);box-shadow:0 8px 25px #27ae604d}.add-btn svg{width:22px;height:22px}.admin-content{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 4px 20px #00000014}.courses-table,.codes-table{display:grid;gap:1.5rem}.table-card{background:#f8f9fa;border-radius:15px;padding:1.5rem;border:2px solid #ecf0f1;transition:all .3s ease}.table-card:hover{border-color:#f39c12;box-shadow:0 4px 15px #f39c121a}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #ecf0f1}.card-header h3{font-size:1.5rem;font-weight:700;color:#1a5490}.code-display{font-family:Courier New,monospace;background:#1a5490;color:#fff;padding:.5rem 1.5rem;border-radius:8px;font-size:1.3rem!important;letter-spacing:2px}.status-badge{padding:.5rem 1.2rem;border-radius:20px;font-size:.95rem;font-weight:700}.status-badge.active,.status-badge.available{background:#d4edda;color:#1e7e34}.status-badge.inactive,.status-badge.used{background:#f8d7da;color:#721c24}.card-body{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.info-row{display:flex;justify-content:space-between;align-items:center}.info-label{font-weight:700;color:#1a5490;font-size:1.05rem}.info-value{color:#7f8c8d;font-size:1.05rem}.subscribers-count{color:#27ae60;font-weight:700}.card-actions{display:flex;gap:1rem;justify-content:flex-end}.action-btn{border:none;padding:.8rem 1.5rem;font-size:1rem;font-weight:600;border-radius:10px;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .3s ease;font-family:Cairo,sans-serif}.action-btn svg{width:20px;height:20px}.edit-btn{background:#3498db;color:#fff}.edit-btn:hover{background:#2980b9;transform:translateY(-2px)}.view-content-btn{background:#27ae60;color:#fff}.view-content-btn:hover{background:#229954;transform:translateY(-2px)}.delete-btn{background:#e74c3c;color:#fff}.delete-btn:hover{background:#c0392b;transform:translateY(-2px)}.approve-btn{background:#27ae60;color:#fff}.approve-btn:hover{background:#229954;transform:translateY(-2px)}.reject-btn{background:#e74c3c;color:#fff}.reject-btn:hover{background:#c0392b;transform:translateY(-2px)}.receipts-table{display:grid;gap:2rem}.receipt-card{display:grid;grid-template-columns:300px 1fr;gap:2rem;background:#f8f9fa;border-radius:15px;padding:1.5rem;border:2px solid #ecf0f1;transition:all .3s ease}.receipt-card:hover{border-color:#f39c12;box-shadow:0 4px 15px #f39c121a}.receipt-image-container{border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 4px 15px #0000001a}.receipt-image-container img{width:100%;height:100%;object-fit:cover}.receipt-details h3{font-size:1.6rem;font-weight:700;color:#1a5490;margin-bottom:1.5rem}.receipt-info{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.receipt-actions{display:flex;gap:1rem}.empty-state{text-align:center;padding:4rem 2rem;color:#7f8c8d}.empty-state svg{width:80px;height:80px;color:#bdc3c7;margin-bottom:1.5rem}.empty-state h3{font-size:1.8rem;margin-bottom:.8rem;color:#1a5490}.empty-state p{font-size:1.1rem}@media (max-width: 1200px){.admin-sidebar{width:250px}.admin-main{margin-right:250px}}@media (max-width: 968px){.admin-sidebar{width:100%;height:auto;position:relative}.admin-main{margin-right:0;padding:1.5rem}.sidebar-nav{flex-direction:row;overflow-x:auto;padding:1rem}.nav-item{white-space:nowrap}.admin-header h1{font-size:2rem}.receipt-card{grid-template-columns:1fr}.receipt-image-container{max-width:400px;margin:0 auto}}@media (max-width: 768px){.admin-main{padding:1rem}.admin-content{padding:1.5rem}.admin-header{flex-direction:column;align-items:stretch}.admin-header h1{font-size:1.8rem}.add-btn{width:100%;justify-content:center}.card-actions{flex-direction:column}.action-btn{width:100%;justify-content:center}.receipt-actions{flex-direction:column}}@media (max-width: 480px){.sidebar-header{padding:2rem 1.5rem}.sidebar-header h2{font-size:1.5rem}.admin-logo{width:70px;height:70px}.admin-header h1{font-size:1.5rem}.admin-content{padding:1rem}.table-card{padding:1.2rem}.card-header h3{font-size:1.3rem}.code-display{font-size:1.1rem!important;padding:.4rem 1rem}}.codes-section{display:flex;flex-direction:column;gap:2rem}.course-codes-group{background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014;overflow:hidden;border:2px solid #ecf0f1;transition:all .3s ease}.course-codes-group:hover{box-shadow:0 8px 30px #0000001f;border-color:#1a5490}.course-codes-group.collapsed{box-shadow:0 2px 10px #0000000d}.course-codes-group.expanded{box-shadow:0 8px 30px #0000001f;border-color:#1a5490}.course-codes-header{background:linear-gradient(135deg,#1a5490,#2980b9);padding:1.5rem 2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;transition:all .3s ease}.course-codes-header:hover{background:linear-gradient(135deg,#2980b9,#3498db)}.expand-btn{background:#fff3;border:2px solid rgba(255,255,255,.3);color:#fff;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;flex-shrink:0}.expand-btn:hover{background:#ffffff4d;transform:scale(1.1)}.expand-btn svg{width:24px;height:24px;transition:transform .3s ease}.expand-btn svg.rotated{transform:rotate(180deg)}.course-info-header{flex:1;display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.course-info-header h3{color:#fff;font-size:1.5rem;font-weight:800;margin:0}.codes-count-badge{background:#fff3;color:#fff;padding:.5rem 1.2rem;border-radius:20px;font-weight:700;font-size:1rem;border:2px solid rgba(255,255,255,.3)}.available-count{background:linear-gradient(135deg,#27ae60,#229954);color:#fff;padding:.4rem 1rem;border-radius:15px;font-weight:600;font-size:.9rem}.used-count{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;padding:.4rem 1rem;border-radius:15px;font-weight:600;font-size:.9rem}.delete-all-codes-btn{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;border:none;padding:.8rem 1.5rem;border-radius:10px;font-weight:700;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .3s ease;font-family:Cairo,sans-serif;font-size:1rem;box-shadow:0 4px 15px #e74c3c4d}.delete-all-codes-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #e74c3c66}.delete-all-codes-btn svg{width:20px;height:20px}.codes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.2rem;padding:1.5rem;animation:slideDown .3s ease-out}.empty-codes-message{grid-column:1 / -1;text-align:center;padding:3rem 2rem;color:#7f8c8d;font-size:1.1rem;font-weight:600;background:linear-gradient(135deg,#f8f9fa,#ecf0f1);border-radius:12px;border:2px dashed #bdc3c7}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.code-card{background:linear-gradient(135deg,#fff,#f8f9fa);border:2px solid #ecf0f1;border-radius:12px;padding:1.2rem;transition:all .3s ease;display:flex;flex-direction:column;gap:1rem}.code-card:hover{border-color:#f39c12;box-shadow:0 6px 20px #f39c1226;transform:translateY(-3px)}.code-card-header{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding-bottom:1rem;border-bottom:2px solid #ecf0f1}.code-value{font-family:Courier New,monospace;font-size:1.3rem;font-weight:800;color:#1a5490;letter-spacing:1px;background:linear-gradient(135deg,#ecf0f1,#dfe6e9);padding:.5rem 1rem;border-radius:8px}.code-status{padding:.4rem 1rem;border-radius:15px;font-weight:700;font-size:.85rem;text-transform:uppercase}.code-status.available{background:linear-gradient(135deg,#27ae60,#229954);color:#fff}.code-status.used{background:linear-gradient(135deg,#95a5a6,#7f8c8d);color:#fff}.code-usage-info{display:flex;flex-direction:column;gap:.6rem}.usage-item{display:flex;align-items:center;gap:.6rem;color:#7f8c8d;font-size:.9rem}.usage-item svg{width:18px;height:18px;color:#1a5490}.code-card-actions{display:flex;gap:.8rem;margin-top:auto}.copy-code-btn{flex:1;background:linear-gradient(135deg,#3498db,#2980b9);color:#fff;border:none;padding:.7rem;border-radius:8px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .3s ease;font-family:Cairo,sans-serif;font-size:.95rem}.copy-code-btn:hover{transform:translateY(-2px);box-shadow:0 4px 15px #3498db4d}.copy-code-btn svg{width:18px;height:18px}.delete-code-btn{flex:1;background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;border:none;padding:.7rem;border-radius:8px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .3s ease;font-family:Cairo,sans-serif;font-size:.95rem}.delete-code-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 15px #e74c3c4d}.delete-code-btn:disabled{opacity:.5;cursor:not-allowed;background:#95a5a6}.delete-code-btn svg{width:18px;height:18px}@media (max-width: 768px){.course-codes-header{flex-direction:column;align-items:stretch;padding:1.2rem 1.5rem;gap:1rem}.course-info-header{flex-direction:row;align-items:center;gap:.8rem;flex-wrap:wrap}.course-info-header h3{font-size:1.3rem;flex:1 1 100%}.expand-btn{width:35px;height:35px}.expand-btn svg{width:20px;height:20px}.delete-all-codes-btn{width:100%;justify-content:center}.codes-grid{grid-template-columns:1fr;padding:1.2rem}}@media (max-width: 480px){.course-codes-header{padding:1rem 1.2rem}.course-info-header{gap:.6rem}.course-info-header h3{font-size:1.1rem}.expand-btn{width:32px;height:32px}.expand-btn svg{width:18px;height:18px}.codes-count-badge,.available-count,.used-count{font-size:.8rem;padding:.35rem .8rem}.delete-all-codes-btn{font-size:.9rem;padding:.7rem 1.2rem}.delete-all-codes-btn svg{width:18px;height:18px}.codes-grid{padding:1rem;gap:1rem}.code-card{padding:1rem}.code-value{font-size:1.1rem;padding:.4rem .8rem}.code-card-actions{flex-direction:column}.copy-code-btn,.delete-code-btn{width:100%}}.students-table{width:100%}.table-responsive{overflow-x:auto;border-radius:12px;box-shadow:0 4px 15px #0000000d}.data-table{width:100%;border-collapse:collapse;background:#fff}.data-table thead{background:linear-gradient(135deg,#1a5490,#2980b9);color:#fff}.data-table th{padding:1.2rem 1.5rem;text-align:right;font-weight:700;font-size:1.1rem;border-bottom:3px solid #f39c12}.data-table tbody tr{border-bottom:1px solid #ecf0f1;transition:all .3s ease}.data-table tbody tr:hover{background:#f8f9fa}.data-table td{padding:1.2rem 1.5rem;text-align:right;color:#2c3e50;font-size:1.05rem}.table-delete-btn{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;border:none;padding:.6rem .8rem;border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:all .3s ease}.table-delete-btn:hover{transform:translateY(-2px);box-shadow:0 4px 15px #e74c3c4d}.table-delete-btn svg{width:20px;height:20px}.receipt-card.approved{border-color:#27ae60;background:linear-gradient(135deg,#fff,#e8f8f5)}.receipt-card.approved:hover{border-color:#229954;box-shadow:0 4px 15px #27ae6026}@media (max-width: 768px){.table-responsive{border-radius:8px}.data-table th,.data-table td{padding:1rem;font-size:.95rem}.data-table th{font-size:1rem}}@media (max-width: 480px){.data-table th,.data-table td{padding:.8rem;font-size:.9rem}.data-table th{font-size:.95rem}}.add-lesson-modal{max-width:750px;max-height:90vh;overflow-y:auto;padding:2.5rem;background:linear-gradient(to bottom,#fff,#f8f9fa)}.add-lesson-modal::-webkit-scrollbar{width:8px}.add-lesson-modal::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.add-lesson-modal::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#1a5490,#2980b9);border-radius:10px}.add-lesson-modal::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#2980b9,#1a5490)}.add-lesson-modal .modal-header{margin-bottom:2.5rem;text-align:center;position:relative;padding-bottom:1.5rem;border-bottom:3px solid #ecf0f1}.add-lesson-modal .modal-header:after{content:"";position:absolute;bottom:-3px;left:50%;transform:translate(-50%);width:100px;height:3px;background:linear-gradient(90deg,#f39c12,#e67e22);border-radius:3px}.header-icon{width:70px;height:70px;margin:0 auto 1rem;background:linear-gradient(135deg,#f39c12,#e67e22);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px #f39c124d;animation:pulse 2s ease infinite}.header-icon svg{width:35px;height:35px;color:#fff}@keyframes pulse{0%,to{transform:scale(1);box-shadow:0 8px 20px #f39c124d}50%{transform:scale(1.05);box-shadow:0 12px 30px #f39c1266}}.add-lesson-modal .modal-header h2{font-size:2.2rem;color:#1a5490;margin-bottom:.75rem;font-weight:800}.course-name{color:#fff;font-weight:700;margin-top:1rem;font-size:1.1rem;padding:.75rem 1.5rem;background:linear-gradient(135deg,#1a5490,#2980b9);border-radius:25px;display:inline-block;box-shadow:0 4px 15px #1a54904d}.lesson-form{display:flex;flex-direction:column;gap:1.75rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.75rem;position:relative}.form-group:before{content:"";position:absolute;left:-15px;top:0;width:4px;height:100%;background:linear-gradient(to bottom,#f39c12,#e67e22);border-radius:2px;opacity:0;transition:opacity .3s ease}.form-group:focus-within:before{opacity:1}.form-group label{font-weight:700;color:#1a5490;font-size:1.05rem;display:flex;align-items:center;gap:.5rem}.form-group label:before{content:"●";color:#f39c12;font-size:.8rem}.form-group input,.form-group textarea,.form-group select{padding:1rem 1.25rem;border:2px solid #e0e0e0;border-radius:12px;font-size:1.05rem;font-family:Cairo,sans-serif;transition:all .3s ease;background:#fafafa}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#1a5490;background:#fff;box-shadow:0 0 0 4px #1a54901a;transform:translateY(-1px)}.form-group textarea{resize:vertical;min-height:120px;line-height:1.6}.form-group input[type=file]{padding:0;border:none;background:transparent}.form-group input[type=file]::file-selector-button{padding:1rem 1.5rem;background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff;border:none;border-radius:10px;font-family:Cairo,sans-serif;font-weight:700;font-size:1rem;cursor:pointer;transition:all .3s ease;margin-left:1rem}.form-group input[type=file]::file-selector-button:hover{transform:translateY(-2px);box-shadow:0 5px 15px #f39c124d}.form-hint{font-size:.9rem;color:#95a5a6;margin:0;padding:.5rem .75rem;background:#95a5a61a;border-radius:8px;border-right:3px solid #95a5a6}.poster-preview{margin-top:1rem;border-radius:12px;overflow:hidden;max-width:100%;border:3px solid #1a5490;box-shadow:0 4px 15px #1a549033;position:relative}.poster-preview:before{content:"✓ تم اختيار الصورة";position:absolute;top:10px;right:10px;background:#27ae60f2;color:#fff;padding:.5rem 1rem;border-radius:20px;font-size:.85rem;font-weight:700;z-index:1}.poster-preview img{width:100%;height:auto;display:block;max-height:300px;object-fit:contain;background:#f8f9fa}.error-alert{display:flex;align-items:center;gap:1rem;padding:1.25rem 1.5rem;background:linear-gradient(135deg,#fee,#fdd);border:2px solid #e74c3c;border-radius:12px;color:#c0392b;font-weight:600;font-size:1rem;animation:shake .5s ease}.error-alert svg{width:28px;height:28px;flex-shrink:0;color:#e74c3c}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.form-actions{display:flex;gap:1rem;margin-top:1rem}.cancel-btn,.submit-btn{flex:1;padding:1.25rem 2rem;border:none;border-radius:12px;font-size:1.15rem;font-weight:700;font-family:Cairo,sans-serif;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.75rem;box-shadow:0 4px 10px #0000001a}.cancel-btn{background:#fff;color:#7f8c8d;border:2px solid #e0e0e0;box-shadow:none}.cancel-btn:hover{background:#f8f9fa;border-color:#bdc3c7;transform:translateY(-2px);box-shadow:0 4px 10px #0000001a}.submit-btn{background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff;position:relative;overflow:hidden}.submit-btn:hover:not(:disabled):before{left:100%}.submit-btn:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 8px 20px #f39c1266}@media (max-width: 968px){.add-lesson-modal{max-width:90%;padding:2rem}.form-row{grid-template-columns:1fr}}@media (max-width: 768px){.add-lesson-modal{max-width:95%;margin:1rem;padding:1.5rem}.add-lesson-modal .modal-header h2{font-size:1.6rem}.course-name{font-size:1rem}.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column}.cancel-btn,.submit-btn{padding:1rem}}@media (max-width: 480px){.add-lesson-modal{padding:1.25rem}.add-lesson-modal .modal-header h2{font-size:1.4rem}.form-group label{font-size:.95rem}.form-group input,.form-group textarea{font-size:.95rem;padding:.875rem 1rem}}.edit-lesson-modal{max-width:750px;background:linear-gradient(135deg,#fff,#f8f9fa);max-height:90vh;overflow-y:auto}.edit-lesson-modal::-webkit-scrollbar{width:8px}.edit-lesson-modal::-webkit-scrollbar-track{background:#ecf0f1;border-radius:10px}.edit-lesson-modal::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#1a5490,#2980b9);border-radius:10px}.edit-lesson-modal::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#2980b9,#3498db)}.edit-lesson-modal .modal-header{text-align:center;padding:2.5rem 2rem 2rem;border-bottom:2px solid #ecf0f1;position:relative}.edit-lesson-modal .modal-header:after{content:"";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:100px;height:2px;background:linear-gradient(90deg,#f39c12,#e67e22)}.edit-lesson-modal .header-icon{width:70px;height:70px;margin:0 auto 1.2rem;background:linear-gradient(135deg,#f39c12,#e67e22);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 25px #f39c124d;animation:pulse 2s ease-in-out infinite}.edit-lesson-modal .header-icon svg{width:35px;height:35px;color:#fff;stroke-width:2.5}.edit-lesson-modal .modal-header h2{font-size:2rem;color:#1a5490;margin-bottom:1rem;font-weight:800}.edit-lesson-modal .course-name{display:inline-block;background:linear-gradient(135deg,#1a5490,#2980b9);color:#fff;padding:.6rem 1.5rem;border-radius:25px;font-size:1rem;font-weight:600;box-shadow:0 4px 15px #1a549033}.lesson-form{padding:2rem 2.5rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem}.form-group{margin-bottom:1.5rem;position:relative}.form-group:focus-within:before{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#f39c12,#e67e22);border-radius:2px}.form-group label{display:block;margin-bottom:.7rem;font-weight:700;color:#1a5490;font-size:1.05rem}.form-group label:before{content:"● ";color:#f39c12;margin-left:.3rem}.form-group input,.form-group textarea,.form-group select{width:100%;padding:1rem 1.2rem;border:2px solid #dfe6e9;border-radius:10px;font-size:1.05rem;font-family:Cairo,sans-serif;transition:all .3s ease;background:#fafafa}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#1a5490;background:#fff;box-shadow:0 4px 15px #1a54901a;transform:translateY(-1px)}.form-group input[type=file]::file-selector-button{background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff;border:none;padding:.7rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:600;font-family:Cairo,sans-serif;transition:all .3s ease;margin-left:1rem}.form-group input[type=file]::file-selector-button:hover{transform:translateY(-2px);box-shadow:0 4px 15px #f39c124d}.form-hint{margin-top:.5rem;font-size:.9rem;color:#7f8c8d;border-right:3px solid #f39c12;padding-right:.8rem;line-height:1.5}.poster-preview{margin-bottom:1.5rem;border:3px solid #1a5490;border-radius:12px;overflow:hidden;box-shadow:0 8px 25px #1a549026;position:relative;background:#f0f0f0}.poster-preview:before{content:"✓ معاينة البوستر";position:absolute;top:15px;right:15px;background:linear-gradient(135deg,#27ae60,#229954);color:#fff;padding:.5rem 1.2rem;border-radius:20px;font-weight:600;font-size:.9rem;z-index:1;box-shadow:0 4px 15px #27ae604d}.poster-preview img{width:100%;height:auto;display:block;object-fit:contain}.error-alert{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;padding:1.2rem 1.5rem;border-radius:12px;display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;font-weight:600;border:3px solid #c0392b;box-shadow:0 6px 20px #e74c3c40;animation:shake .5s ease-in-out}.error-alert svg{width:28px;height:28px;flex-shrink:0}.form-actions{display:flex;gap:1rem;margin-top:2rem}.cancel-btn{flex:1;background:#fff;color:#7f8c8d;border:2px solid #dfe6e9;padding:1.1rem;font-size:1.1rem;font-weight:700;border-radius:12px;cursor:pointer;transition:all .3s ease;font-family:Cairo,sans-serif}.cancel-btn:hover{border-color:#bdc3c7;box-shadow:0 4px 15px #0000001a;transform:translateY(-2px)}.submit-btn{flex:1;background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff;border:none;padding:1.2rem 2rem;font-size:1.1rem;font-weight:700;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.7rem;transition:all .3s ease;font-family:Cairo,sans-serif;box-shadow:0 6px 20px #f39c124d;position:relative;overflow:hidden}.submit-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .5s ease}.submit-btn:hover:before{left:100%}.submit-btn:hover{transform:translateY(-3px);box-shadow:0 10px 30px #f39c1266}.submit-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.submit-btn svg{width:22px;height:22px}.btn-spinner{width:20px;height:20px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-10px)}75%{transform:translate(10px)}}@media (max-width: 768px){.edit-lesson-modal{max-width:90%}.edit-lesson-modal .modal-header{padding:2rem 1.5rem 1.5rem}.edit-lesson-modal .modal-header h2{font-size:1.6rem}.edit-lesson-modal .header-icon{width:60px;height:60px}.edit-lesson-modal .header-icon svg{width:30px;height:30px}.lesson-form{padding:1.5rem 2rem}.form-row{grid-template-columns:1fr;gap:1rem}.form-actions{flex-direction:column}.cancel-btn,.submit-btn{width:100%}}@media (max-width: 480px){.edit-lesson-modal{max-width:95%}.edit-lesson-modal .modal-header{padding:1.5rem 1.2rem 1.2rem}.edit-lesson-modal .modal-header h2{font-size:1.4rem}.edit-lesson-modal .course-name{font-size:.9rem;padding:.5rem 1.2rem}.lesson-form{padding:1.2rem 1.5rem}.form-group input,.form-group textarea,.form-group select{padding:.9rem 1rem;font-size:1rem}.error-alert{padding:1rem 1.2rem;font-size:.95rem}}.admin-course-content{min-height:100vh;background:#f8f9fa;padding:2rem}.course-content-header{max-width:1400px;margin:0 auto 2rem;background:#fff;padding:2rem;border-radius:20px;box-shadow:0 4px 20px #00000014}.back-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#ecf0f1;border:none;border-radius:10px;font-size:1rem;font-weight:600;font-family:Cairo,sans-serif;cursor:pointer;transition:all .3s ease;margin-bottom:1.5rem}.back-btn svg{width:20px;height:20px}.back-btn:hover{background:#d5dbdb;transform:translate(5px)}.course-info h1{font-size:2.5rem;color:#1a5490;margin-bottom:1rem}.course-description{font-size:1.2rem;color:#7f8c8d;margin-bottom:1.5rem}.course-meta{display:flex;gap:1rem;flex-wrap:wrap}.meta-badge{padding:.5rem 1rem;background:linear-gradient(135deg,#1a5490,#2980b9);color:#fff;border-radius:20px;font-size:.95rem;font-weight:600}.add-lesson-btn{display:inline-flex;align-items:center;gap:.5rem;padding:1rem 2rem;background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff;border:none;border-radius:10px;font-size:1.1rem;font-weight:700;font-family:Cairo,sans-serif;cursor:pointer;transition:all .3s ease;margin-top:1.5rem}.add-lesson-btn svg{width:20px;height:20px}.add-lesson-btn:hover{transform:translateY(-2px);box-shadow:0 5px 15px #f39c124d}.lessons-list{max-width:1400px;margin:0 auto;display:flex;flex-direction:column;gap:1.5rem}.empty-state{background:#fff;padding:4rem 2rem;border-radius:20px;text-align:center;box-shadow:0 4px 20px #00000014}.empty-state svg{width:80px;height:80px;color:#bdc3c7;margin-bottom:1rem}.empty-state h3{font-size:1.8rem;color:#2c3e50;margin-bottom:.5rem}.empty-state p{font-size:1.1rem;color:#7f8c8d}.lesson-item{background:#fff;padding:1.5rem;border-radius:20px;box-shadow:0 4px 20px #00000014;display:grid;grid-template-columns:auto 350px 1fr auto;gap:1.5rem;align-items:center;transition:all .3s ease}.lesson-item:hover{box-shadow:0 8px 30px #1a549026;transform:translateY(-2px)}.lesson-number{width:50px;height:50px;background:linear-gradient(135deg,#1a5490,#2980b9);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700}.lesson-poster{position:relative;width:350px;height:250px;border-radius:12px;overflow:hidden;background:#1a5490;box-shadow:0 4px 15px #0000001a}.lesson-poster img{width:100%;height:100%;object-fit:contain;object-position:center;transition:transform .4s ease}.lesson-item:hover .lesson-poster img{transform:scale(1.1)}.lesson-details{flex:1}.lesson-details h3{font-size:1.5rem;color:#2c3e50;margin-bottom:.5rem}.lesson-details p{color:#7f8c8d;margin-bottom:1rem;line-height:1.6}.lesson-meta{display:flex;gap:1.5rem;margin-bottom:.75rem}.meta-item{display:flex;align-items:center;gap:.5rem;color:#1a5490;font-weight:600}.meta-item svg{width:18px;height:18px}.vimeo-link{display:inline-flex;align-items:center;gap:.5rem;color:#2980b9;text-decoration:none;font-weight:600;transition:all .3s ease}.vimeo-link svg{width:16px;height:16px}.vimeo-link:hover{color:#1a5490;text-decoration:underline}.lesson-actions{display:flex;flex-direction:column;gap:.75rem}.lesson-actions button{padding:.75rem 1.25rem;border:none;border-radius:8px;font-size:.95rem;font-weight:600;font-family:Cairo,sans-serif;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .3s ease;white-space:nowrap}.lesson-actions button svg{width:18px;height:18px}.lesson-actions .edit-btn{background:#3498db;color:#fff}.lesson-actions .edit-btn:hover{background:#2980b9;transform:translateY(-2px)}.lesson-actions .delete-btn{background:#e74c3c;color:#fff}.lesson-actions .delete-btn:hover{background:#c0392b;transform:translateY(-2px)}.loading-container{display:flex;justify-content:center;align-items:center;min-height:100vh}.spinner{width:50px;height:50px;border:4px solid #ecf0f1;border-top-color:#1a5490;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:1rem}.error-container h2{color:#e74c3c;font-size:2rem}.error-container button{padding:1rem 2rem;background:#1a5490;color:#fff;border:none;border-radius:10px;font-size:1.1rem;font-weight:700;font-family:Cairo,sans-serif;cursor:pointer}@media (max-width: 1200px){.lesson-item{grid-template-columns:auto 300px 1fr;grid-template-rows:auto auto}.lesson-poster{width:300px;height:250px}.lesson-actions{grid-column:1 / -1;flex-direction:row;justify-content:flex-end}}@media (max-width: 1024px){.lesson-item{grid-template-columns:auto 250px 1fr}.lesson-poster{width:250px;height:250px}}@media (max-width: 768px){.admin-course-content{padding:1rem}.course-content-header{padding:1.5rem}.course-info h1{font-size:1.8rem}.lesson-item{grid-template-columns:1fr;grid-template-rows:auto;text-align:center}.lesson-number{margin:0 auto}.lesson-poster{width:100%;max-width:500px;height:250px;margin:0 auto}.lesson-meta{justify-content:center;flex-wrap:wrap}.lesson-actions{flex-direction:column}}.not-found{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0a1929,#1a5490,#2980b9);padding:2rem}.not-found-content{text-align:center;color:#fff;max-width:600px}.error-animation{position:relative;margin-bottom:3rem}.error-number{font-size:12rem;font-weight:800;color:#ffffff1a;line-height:1;animation:glitch 2s infinite}@keyframes glitch{0%,to{transform:translate(0)}20%{transform:translate(-5px,5px)}40%{transform:translate(-5px,-5px)}60%{transform:translate(5px,5px)}80%{transform:translate(5px,-5px)}}.error-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.error-icon svg{width:120px;height:120px;color:#f39c12;animation:bounce 2s infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.not-found-content h1{font-size:2.5rem;font-weight:800;margin-bottom:1rem;color:#fff}.not-found-content p{font-size:1.3rem;color:#ecf0f1;margin-bottom:3rem;line-height:1.8}.not-found-actions{display:flex;gap:1.5rem;justify-content:center;flex-wrap:wrap}.home-btn,.back-btn{background:#f39c12;color:#fff;border:none;padding:1.2rem 2.5rem;font-size:1.2rem;font-weight:700;border-radius:30px;cursor:pointer;display:flex;align-items:center;gap:.8rem;transition:all .3s ease;font-family:Cairo,sans-serif}.back-btn{background:transparent;border:2px solid white}.home-btn:hover{background:#e67e22;transform:translateY(-3px);box-shadow:0 10px 30px #f39c1266}.back-btn:hover{background:#fff;color:#1a5490;transform:translateY(-3px)}.home-btn svg,.back-btn svg{width:24px;height:24px}@media (max-width: 768px){.error-number{font-size:8rem}.error-icon svg{width:80px;height:80px}.not-found-content h1{font-size:2rem}.not-found-content p{font-size:1.1rem}.not-found-actions{flex-direction:column}.home-btn,.back-btn{width:100%;justify-content:center}}@media (max-width: 480px){.error-number{font-size:6rem}.error-icon svg{width:60px;height:60px}.not-found-content h1{font-size:1.7rem}.not-found-content p{font-size:1rem}.home-btn,.back-btn{padding:1rem 2rem;font-size:1.1rem}}:root{--primary-color: #1a5490;--secondary-color: #2980b9;--accent-color: #f39c12;--dark-bg: #0a1929;--light-bg: #f8f9fa;--text-dark: #2c3e50;--text-light: #ecf0f1;--success-color: #27ae60;--danger-color: #e74c3c;--shadow: 0 4px 20px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 40px rgba(0, 0, 0, .15)}body{font-family:Cairo,sans-serif;background:var(--light-bg);color:var(--text-dark);line-height:1.6;overflow-x:hidden}#root{min-height:100vh}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Cairo,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html{scroll-behavior:smooth}
