html{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-height:100vh;line-height:1.6;color:#333;background-color:#f9fafb}#root{min-height:100vh}button{border:none;background:none;cursor:pointer;font-family:inherit}input,textarea,select{font-family:inherit}a{color:inherit;text-decoration:none}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Alef,Arial Hebrew,sans-serif;line-height:1.6;color:#333;background-color:#f9fafb}.app-container{min-height:100vh;background-color:#f9fafb}.main-content{flex:1;padding:1rem 0}.container{max-width:1200px;margin:0 auto;padding:0 1rem}.page-content{padding:1rem 0 2rem}.page-header{padding:0 1rem 1rem;background:#f9fafb}.page-title{font-size:2.5rem;font-weight:700;text-align:right;margin-bottom:1.5rem;margin-top:.5rem;color:#000;line-height:1.2;letter-spacing:-.02em}.card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:1.5rem;margin-bottom:1rem;transition:box-shadow .2s ease}.card:hover{box-shadow:0 4px 6px #0000001a}.card-clickable{cursor:pointer}.card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.card-content{flex:1}.card-title{font-size:1.125rem;font-weight:600;color:#1f2937;margin-bottom:.5rem}.card-subtitle{font-size:.875rem;color:#6b7280}.card-actions{display:flex;gap:.5rem;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem;border:none;border-radius:50%;cursor:pointer;transition:all .2s ease;font-size:.875rem;text-decoration:none}.btn:disabled{cursor:not-allowed;opacity:.6}.btn-primary{background-color:#3b82f6;color:#fff}.btn-primary:hover:not(:disabled){background-color:#2563eb}.btn-success{background-color:#10b981;color:#fff}.btn-danger{background-color:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background-color:#dc2626}.btn-secondary{background-color:#f3f4f6;color:#6b7280}.btn-icon{width:2.5rem;height:2.5rem}.app-header{position:fixed;top:0;left:0;right:0;background:#fff;border-bottom:1px solid #e5e7eb;z-index:100;height:60px}.header-content{display:flex;justify-content:flex-end;align-items:center;height:60px;padding:0 1rem}.hamburger-button{background:none;border:none;padding:.5rem;cursor:pointer;color:#374151;transition:color .2s ease}.hamburger-button:hover{color:#3b82f6}.hamburger-icon{width:1.5rem;height:1.5rem}.menu-overlay{position:fixed;inset:0;background:#00000080;z-index:90;animation:fadeIn .2s ease}.hamburger-menu{position:fixed;top:0;right:0;bottom:0;width:280px;max-width:80vw;background:#fff;border-left:1px solid #e5e7eb;box-shadow:-4px 0 8px #0000001a;animation:slideIn .2s ease;display:flex;flex-direction:column}.menu-content{flex:1;padding-top:80px;padding-bottom:1rem;overflow-y:auto;direction:rtl}.menu-item{display:flex;align-items:center;padding:1rem 1.5rem;text-decoration:none;color:#374151;background:none;border:none;width:100%;font-size:1rem;transition:background-color .2s ease;cursor:pointer;direction:rtl}.menu-item:hover{background-color:#f9fafb}.menu-item.active{background-color:#eff6ff;color:#3b82f6}.menu-item-content{display:flex;align-items:center;gap:1rem;width:100%;direction:rtl}.menu-icon{width:1.25rem;height:1.25rem;flex-shrink:0}.menu-icon-container{position:relative;display:flex;align-items:center;justify-content:center}.menu-label{font-weight:500}.auth-indicator{position:absolute;top:-2px;right:-2px;width:8px;height:8px;background-color:#22c55e;border-radius:50%;border:2px solid white}.menu-item.authenticated .menu-icon{color:#3b82f6}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{transform:translate(100%)}to{transform:translate(0)}}.music-player{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e5e7eb;box-shadow:0 -1px 3px #0000001a;z-index:20}.player-content{padding:.75rem 1rem}.player-row{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.player-row:last-child{margin-bottom:0}.lesson-name-row{justify-content:center;text-align:center}.progress-row{width:100%}.controls-row{justify-content:center;gap:.5rem}.speed-row{width:100%;justify-content:stretch}.player-info{flex:1;min-width:0}.player-title{font-weight:500;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-status{font-size:.875rem;color:#6b7280}.player-controls{display:flex;width:100%;align-items:center;gap:.5rem}.player-button{width:3.5rem;height:3.5rem;background-color:#3b82f6;color:#fff;border:none;border-radius:50%;cursor:pointer;transition:background-color .2s ease;display:flex;align-items:center;justify-content:center}.player-button:hover:not(:disabled){background-color:#2563eb}.player-button:disabled{opacity:.7;cursor:not-allowed}.player-button-small{width:3rem;height:3rem;background-color:#6b7280;color:#fff;border:none;border-radius:50%;cursor:pointer;transition:background-color .2s ease;display:flex;align-items:center;justify-content:center}.player-button-small:hover{background-color:#4b5563}.progress-container{margin:.5rem 0;width:100%}.time-display{display:flex;justify-content:space-between;font-size:.75rem;color:#6b7280;margin-bottom:.5rem}.current-time{font-weight:500}.duration{color:#9ca3af}.progress-bar-container{width:100%;height:20px;display:flex;align-items:center;cursor:pointer;padding:6px 0}.progress-bar{position:relative;width:100%;height:4px;background-color:#e5e7eb;border-radius:2px;overflow:hidden}.progress-fill{height:100%;background-color:#3b82f6;border-radius:2px;transition:width .1s ease}.progress-handle{position:absolute;top:50%;transform:translate(-50%,-50%);width:12px;height:12px;background-color:#3b82f6;border:2px solid white;border-radius:50%;box-shadow:0 1px 3px #0000001a;transition:left .1s ease}.progress-bar-container:hover .progress-handle{background-color:#2563eb;transform:translate(-50%,-50%) scale(1.2)}.speed-control{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e5e7eb}.speed-indicator{background:none;color:#6b7280;border:none;padding:0;font-size:.875rem;font-weight:500;cursor:pointer;transition:color .2s ease;display:flex;align-items:center;gap:.25rem}.speed-indicator:hover{color:#3b82f6}.speed-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.speed-close{background:none;border:none;color:#9ca3af;font-size:.875rem;cursor:pointer;padding:.25rem;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;border-radius:.25rem;transition:all .2s ease}.speed-close:hover{background:#f3f4f6;color:#6b7280}.speed-label{font-size:.75rem;font-weight:500;color:#6b7280;margin-bottom:.5rem;display:block}.speed-slider-container{display:flex;align-items:center;gap:.75rem}.speed-slider{flex:1;height:4px;background:#e5e7eb;border-radius:2px;outline:none;cursor:pointer;-webkit-appearance:none;appearance:none;margin:10px 0}.speed-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:3px;height:20px;background:#3b82f6;border-radius:1.5px;cursor:pointer;border:none;box-shadow:0 0 0 1px #fff,0 2px 4px #0000001a;transition:all .2s ease}.speed-slider::-webkit-slider-thumb:hover{background:#2563eb;width:4px;height:24px;box-shadow:0 0 0 2px #fff,0 3px 6px #00000026}.speed-slider::-moz-range-thumb{width:3px;height:20px;background:#3b82f6;border-radius:1.5px;cursor:pointer;border:none;box-shadow:0 0 0 1px #fff,0 2px 4px #0000001a;transition:all .2s ease}.speed-slider::-moz-range-thumb:hover{background:#2563eb;width:4px;height:24px;box-shadow:0 0 0 2px #fff,0 3px 6px #00000026}.speed-display{font-size:.75rem;font-weight:500;color:#3b82f6;min-width:3rem;text-align:center;background:#eff6ff;padding:.25rem .5rem;border-radius:.375rem}.speed-presets{display:flex;gap:.25rem;margin-top:.5rem;flex-wrap:wrap}.speed-preset{font-size:.625rem;padding:.25rem .5rem;border:1px solid #d1d5db;background:#fff;color:#6b7280;border-radius:.25rem;cursor:pointer;transition:all .2s ease;min-width:30px;min-height:30px;text-align:center}.speed-preset:hover{border-color:#3b82f6;color:#3b82f6}.speed-preset.active{background:#3b82f6;color:#fff;border-color:#3b82f6}.spinner{width:1.5rem;height:1.5rem;border:2px solid #e5e7eb;border-top:2px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite}.loading-spinner{animation:spin .8s linear infinite}.status-message{padding:.75rem;border-radius:6px;font-size:.875rem;margin-bottom:1rem}.status-success{background-color:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.status-error{background-color:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.status-info{background-color:#dbeafe;color:#1e40af;border:1px solid #93c5fd}.empty-state{text-align:center;padding:3rem 1.5rem}.empty-icon{width:4rem;height:4rem;margin:0 auto 1rem;color:#9ca3af}.empty-title{font-size:1.125rem;font-weight:600;color:#1f2937;margin-bottom:.5rem}.empty-description{color:#6b7280;margin-bottom:1rem}.empty-hint{font-size:.875rem;color:#9ca3af}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-8{margin-bottom:2rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.p-4{padding:1rem}.p-8{padding:2rem}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.w-full{width:100%}.h-full{height:100%}.hidden{display:none}.rtl{direction:rtl;text-align:right}.rtl .card-header{flex-direction:row-reverse}.rtl .card-content,.rtl .card-title,.rtl .card-subtitle,.rtl .page-title{text-align:right}.rtl .player-title{text-align:center}.rtl .time-display,.rtl .nav-content,.rtl .player-controls,.rtl .speed-header,.rtl .speed-slider-container,.rtl .speed-presets,.rtl .card-actions{flex-direction:row-reverse}.back-button-container{display:flex;align-items:center;justify-content:flex-end;margin-bottom:.5rem;padding:1rem 1rem 0;background:#f9fafb}.back-button{background:none;border:none;color:#007aff;font-size:1.125rem;font-weight:400;padding:.5rem 0;cursor:pointer;display:flex;align-items:center;gap:.25rem;transition:opacity .2s ease}.back-button:hover{opacity:.7}.back-button:active{opacity:.5}.rtl .back-button{flex-direction:row-reverse}@media (max-width: 768px){.container{padding:0 .5rem}.page-title{font-size:2rem}.page-header{padding:0 .5rem .5rem}.back-button-container{padding:0 .5rem}.card{padding:1rem}}.login-container{max-width:400px;margin:2rem auto;padding:2rem;background:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a}.login-header{text-align:center;margin-bottom:2rem}.logo-container{margin-bottom:1.5rem}.login-logo{width:80px;height:80px;border-radius:20px;object-fit:cover}.login-title{font-size:1.75rem;font-weight:700;color:#000;margin-bottom:.5rem;text-align:center}.login-subtitle{font-size:1rem;color:#6b7280;text-align:center;line-height:1.5}.login-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-label{font-weight:600;color:#374151;text-align:right;font-size:.875rem}.form-input{padding:1rem;border:2px solid #e5e7eb;border-radius:12px;font-size:1rem;transition:all .2s ease;background:#fff;color:#000}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-input:disabled{background-color:#f9fafb;color:#9ca3af;cursor:not-allowed}.otp-input{text-align:center;letter-spacing:.25rem;font-weight:600;font-size:1.125rem}.form-helper-text{font-size:.875rem;color:#6b7280;text-align:right;margin-top:.25rem}.button-group{display:flex;flex-direction:column;gap:.75rem}.primary-button{padding:1rem 1.5rem;background:#3b82f6;color:#fff;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;min-height:50px}.primary-button:hover:not(:disabled){background:#2563eb;transform:translateY(-1px)}.primary-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.secondary-button{padding:1rem 1.5rem;background:transparent;color:#6b7280;border:2px solid #e5e7eb;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.secondary-button:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db;color:#374151}.secondary-button:disabled{opacity:.5;cursor:not-allowed}.error-message{padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:.875rem;text-align:right}.success-message{padding:.75rem 1rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;color:#16a34a;font-size:.875rem;text-align:right}.loading-spinner-inline{display:flex;align-items:center;justify-content:center;gap:.5rem}.spinner-icon{width:1rem;height:1rem;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.user-status{display:flex;align-items:center;justify-content:space-between;padding:1rem;background:#fff;border-radius:12px;margin-bottom:1rem;box-shadow:0 1px 3px #0000001a}.user-info{display:flex;align-items:center;gap:.75rem}.user-avatar{width:40px;height:40px;background:#3b82f6;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:1rem}.user-details h3{font-size:1rem;font-weight:600;color:#000;margin:0;text-align:right}.user-details p{font-size:.875rem;color:#6b7280;margin:0;text-align:right}.logout-button{padding:.5rem 1rem;background:transparent;color:#dc2626;border:1px solid #fecaca;border-radius:8px;font-size:.875rem;cursor:pointer;transition:all .2s ease}.logout-button:hover{background:#fef2f2;border-color:#fca5a5}.user-profile{display:flex;flex-direction:column;gap:1.5rem}.user-info-section{text-align:center;padding:1.5rem}.user-avatar-large{width:80px;height:80px;background:#3b82f6;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:2rem;margin:0 auto 1rem}.user-info-section h3{font-size:1.25rem;font-weight:600;color:#000;margin-bottom:.5rem;text-align:center}.user-info-section p{font-size:1rem;color:#6b7280;text-align:center}
