@keyframes authModalSlideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes authSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes authFadeInDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes authSpin{0%{transform:rotate(0deg)}to{transform:rotate(360deg)}}.auth-modal-overlay{position:fixed!important;top:0!important;left:0!important;width:100vw!important;height:100vh!important;background:rgba(0,0,0,.75)!important;backdrop-filter:blur(8px)!important;z-index:9999!important;display:none!important;opacity:0!important;transition:opacity .3s ease!important;overflow:hidden!important;align-items:center;justify-content:center}.auth-modal-overlay.active{display:flex!important;opacity:1!important}.auth-modal-content{background:#fff!important;backdrop-filter:blur(20px)!important;border-radius:20px!important;padding:0!important;width:92%!important;max-width:480px!important;max-height:90vh!important;box-shadow:0 20px 60px rgba(17,47,191,.2)!important;border:1px solid rgba(17,47,191,.1)!important;animation:authModalSlideUp .4s cubic-bezier(.16,1,.3,1)!important;margin:20px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;position:relative}.auth-modal-content.auth-modal-wide{max-width:550px!important}.auth-modal-close{position:absolute;top:20px;right:20px;background:rgba(17,47,191,.1);border:0;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;font-size:24px;color:#112fbf;z-index:10;font-weight:300;line-height:1}.auth-modal-close:hover{background:rgba(17,47,191,.2);transform:rotate(90deg)}.auth-modal-body{flex:1;padding:40px 35px 35px;overflow-y:auto;overflow-x:hidden}.auth-modal-header{text-align:center;margin-bottom:30px}.auth-modal-header h2{font-size:2rem;font-weight:700;margin-bottom:10px;color:#0f172a}.auth-modal-header p{color:#64748b;font-size:1rem;margin:0}.auth-flash-messages{margin-bottom:20px}.auth-alert{display:flex;align-items:center;gap:10px;padding:15px;border-radius:10px;margin-bottom:10px;animation:authSlideIn .3s ease}.auth-alert-success{background:rgba(16,185,129,.1);border:1px solid rgba(16,185,129,.3);color:#059669}.auth-alert-error{background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.3);color:#dc2626}.auth-alert-close{margin-left:auto;background:0 0;border:0;font-size:1.2rem;cursor:pointer;opacity:.7;transition:opacity .3s ease}.auth-alert-close:hover{opacity:1}.auth-form,.auth-form-group{display:flex;flex-direction:column;gap:20px}.auth-form-group{gap:8px}.auth-form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.auth-form-label{font-weight:600;color:#0f172a;font-size:.95rem}.auth-required-asterisk{color:#112fbf;margin-left:3px}.auth-form-note{font-size:.8rem;color:#64748b;margin-top:5px}.auth-input-wrapper{position:relative;display:flex;align-items:center}.auth-form-input{width:100%;padding:14px 45px 14px 15px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:10px;color:#0f172a;font-size:1rem;transition:all .3s ease}.auth-form-input:focus{outline:0;border-color:#112fbf;background:#fff;box-shadow:0 0 0 3px rgba(17,47,191,.1)}.auth-form-input::placeholder{color:#94a3b8}.auth-eye-icon,.auth-password-toggle{display:flex;align-items:center;justify-content:center}.auth-password-toggle{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:0 0;border:0;color:#94a3b8;cursor:pointer;transition:color .3s ease;z-index:10;padding:0;width:24px;height:24px}.auth-password-toggle:hover{color:#112fbf}.auth-eye-icon{width:100%;height:100%}.auth-eye-icon:not(.closed)::before{content:"👁";font-size:18px}.auth-eye-icon.closed::before{content:"—";font-size:18px;font-weight:700}.auth-input-status{position:absolute;right:50px;top:50%;transform:translateY(-50%);font-size:1.1rem;opacity:0;transition:opacity .3s ease;z-index:9}.auth-input-status.success{color:#059669;opacity:1}.auth-input-status.error{color:#dc2626;opacity:1}.auth-input-status.loading{opacity:1;animation:authSpin 1s linear infinite}.auth-phone-input-wrapper{display:flex;position:relative;width:100%}.auth-country-selector{position:relative;flex-shrink:0}.auth-country-dropdown-btn{display:flex;align-items:center;gap:8px;padding:14px;background:#f8fafc;border:2px solid #e2e8f0;border-right:none;border-radius:10px 0 0 10px;color:#0f172a;cursor:pointer;transition:all .3s ease;min-width:110px;height:51px}.auth-country-dropdown-btn:hover{background:#f1f5f9}.auth-country-dropdown-btn:focus{outline:0;border-color:#112fbf;background:#fff}.auth-country-code{font-size:.9rem;font-weight:600}.auth-dropdown-arrow{font-size:.7rem;transition:transform .3s ease}.auth-country-dropdown-btn.active .auth-dropdown-arrow{transform:rotate(180deg)}.auth-country-dropdown{position:absolute;top:calc(100% + 5px);left:0;width:300px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;z-index:2000;display:none;box-shadow:0 10px 30px rgba(17,47,191,.15);overflow:hidden;max-height:320px}.auth-country-dropdown.active{display:block;animation:authFadeInDown .3s ease}.auth-country-search-wrapper{padding:12px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.auth-country-search{width:100%;padding:10px 12px;border:2px solid #e2e8f0;border-radius:8px;font-size:.9rem;color:#0f172a;background:#fff;transition:all .3s ease;outline:0}.auth-country-search:focus{border-color:#112fbf;box-shadow:0 0 0 3px rgba(17,47,191,.1)}.auth-country-list{max-height:250px;overflow-y:auto}.auth-country-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;cursor:pointer;transition:all .3s ease;border-bottom:1px solid #f1f5f9}.auth-country-option:last-child{border-bottom:none}.auth-country-option:hover{background:rgba(17,47,191,.08);transform:translateX(2px)}.auth-country-name{flex:1;font-size:.9rem;color:#0f172a;font-weight:500}.auth-country-option .auth-country-code{font-size:.85rem;color:#64748b;font-weight:600;min-width:50px;text-align:right}.auth-phone-input{flex:1;border-radius:0 10px 10px 0!important;border-left:none!important;min-width:0}.auth-phone-input-wrapper .auth-input-status{right:15px}.auth-form-feedback{font-size:.85rem;margin-top:5px;opacity:0;transition:opacity .3s ease}.auth-form-feedback.success{color:#059669;opacity:1}.auth-form-feedback.error{color:#dc2626;opacity:1}.auth-remember-forgot{display:flex;justify-content:space-between;align-items:center;gap:15px}.auth-checkbox-wrapper{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:.9rem}.auth-checkbox-wrapper input[type=checkbox]{display:none}.auth-checkmark{width:18px;height:18px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:4px;position:relative;transition:all .3s ease;flex-shrink:0}.auth-checkmark.checked{background:#112fbf;border-color:#112fbf}.auth-checkmark.checked::after{content:"✓";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:.7rem;font-weight:700}.auth-checkbox-text{color:#64748b}.auth-link{color:#112fbf;text-decoration:none;transition:color .3s ease;font-weight:500}.auth-link:hover{color:#0d2599;text-decoration:underline}.auth-submit-btn{border:0}.auth-submit-btn,.auth-training-btn{width:100%;padding:16px;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.auth-submit-btn{background:linear-gradient(135deg,#112fbf,#0d2599);color:#fff}.auth-submit-btn:hover,.auth-training-btn:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(17,47,191,.3)}.auth-training-btn{background:#f8fafc;border:2px solid #e2e8f0;color:#0f172a}.auth-training-btn:hover{background:#f1f5f9;border-color:#112fbf;box-shadow:0 8px 20px rgba(17,47,191,.15)}.auth-submit-btn:disabled,.auth-training-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.auth-btn-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.auth-spinner{width:20px;height:20px;border:2px solid rgba(255,255,255,.3);border-top:2px solid #fff;border-radius:50%;animation:authSpin 1s linear infinite}.auth-form-footer{text-align:center;margin-top:10px;padding-top:20px;border-top:1px solid #e2e8f0}.auth-form-footer p{color:#64748b;font-size:.9rem;margin:0}.auth-sub-modal-overlay{position:fixed!important;top:0!important;left:0!important;width:100vw!important;height:100vh!important;background:rgba(0,0,0,.85)!important;backdrop-filter:blur(5px)!important;z-index:10000!important;display:none!important;opacity:0!important;transition:opacity .3s ease!important;align-items:center;justify-content:center}.auth-sub-modal-overlay.active{display:flex!important;opacity:1!important}.auth-sub-modal-content{background:#fff;border-radius:16px;width:92%;max-width:420px;max-height:80vh;box-shadow:0 20px 40px rgba(17,47,191,.3);animation:authModalSlideUp .3s ease;overflow:hidden;display:flex;flex-direction:column}.auth-sub-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#f8fafc,#fff)}.auth-sub-modal-header h3{font-size:1.3rem;font-weight:600;color:#0f172a;margin:0}.auth-sub-modal-close{background:#f1f5f9;border:2px solid #e2e8f0;color:#0f172a;font-size:1.4rem;font-weight:600;cursor:pointer;transition:all .3s ease;padding:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;line-height:1}.auth-sub-modal-close:hover{background:#112fbf;color:#fff;border-color:#112fbf;transform:rotate(90deg)}.auth-sub-modal-close i{font-size:18px;font-weight:700}.auth-sub-modal-body{padding:25px;overflow-y:auto}.auth-sub-modal-description{color:#64748b;font-size:.9rem;margin-bottom:20px;line-height:1.5}.auth-sub-modal-buttons{display:flex;gap:15px;justify-content:flex-end;margin-top:25px}.auth-sub-modal-cancel,.auth-sub-modal-confirm{padding:12px 20px;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;position:relative}.auth-sub-modal-cancel{background:#f8fafc;border:1px solid #e2e8f0;color:#0f172a}.auth-sub-modal-cancel:hover{background:#f1f5f9}.auth-sub-modal-confirm{background:linear-gradient(135deg,#112fbf,#0d2599);border:0;color:#fff}.auth-sub-modal-confirm:hover{transform:translateY(-1px);box-shadow:0 5px 15px rgba(17,47,191,.3)}.auth-sub-modal-confirm:disabled{opacity:.7;cursor:not-allowed;transform:none}.auth-contact-options{display:flex;flex-direction:column;gap:14px}.auth-contact-option,.auth-option-icon{border-radius:14px;display:flex;align-items:center}.auth-contact-option{gap:16px;padding:18px 22px;background:linear-gradient(135deg,#f8fafc,#fff);border:2px solid #e2e8f0;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1)}.auth-contact-option:hover{background:linear-gradient(135deg,#fff,#f8fafc);border-color:#112fbf;transform:translateY(-3px);box-shadow:0 8px 20px rgba(17,47,191,.15)}.auth-contact-option:active{transform:translateY(-1px);box-shadow:0 4px 12px rgba(17,47,191,.2)}.auth-option-icon{width:56px;height:56px;background:linear-gradient(135deg,#112fbf,#0d2599);justify-content:center;font-size:24px;color:#fff!important;flex-shrink:0;box-shadow:0 4px 12px rgba(17,47,191,.25)}.auth-option-icon i{color:#fff!important;font-size:24px;display:block}.auth-option-text{flex:1;text-align:left}.auth-option-text h4{font-size:1.1rem;font-weight:600;color:#0f172a;margin:0 0 4px}.auth-option-text p{font-size:.85rem;color:#64748b;margin:0}.auth-loading-placeholder{display:flex;flex-direction:column;align-items:center;gap:15px;padding:35px 20px;text-align:center}.auth-loading-placeholder .auth-spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top:3px solid #112fbf}.auth-country-list::-webkit-scrollbar,.auth-modal-body::-webkit-scrollbar,.auth-sub-modal-body::-webkit-scrollbar{width:6px}.auth-country-list::-webkit-scrollbar-track,.auth-modal-body::-webkit-scrollbar-track,.auth-sub-modal-body::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.auth-country-list::-webkit-scrollbar-thumb,.auth-modal-body::-webkit-scrollbar-thumb,.auth-sub-modal-body::-webkit-scrollbar-thumb{background:rgba(17,47,191,.3);border-radius:3px}.auth-country-list::-webkit-scrollbar-thumb:hover,.auth-modal-body::-webkit-scrollbar-thumb:hover,.auth-sub-modal-body::-webkit-scrollbar-thumb:hover{background:rgba(17,47,191,.5)}@media (max-width:768px){.auth-modal-content{max-width:95%!important;margin:15px!important;max-height:95vh!important}.auth-modal-body{padding:35px 25px 25px}.auth-modal-close{top:15px;right:15px;width:32px;height:32px;font-size:20px}.auth-modal-header h2{font-size:1.7rem}.auth-form-row{grid-template-columns:1fr;gap:20px}.auth-country-dropdown-btn{min-width:95px;padding:14px 10px}.auth-country-dropdown{width:280px}.auth-sub-modal-content{max-width:95%}.auth-sub-modal-buttons{flex-direction:column;gap:10px}.auth-sub-modal-cancel,.auth-sub-modal-confirm{width:100%}}@media (max-width:480px){.auth-modal-body{padding:30px 20px 20px}.auth-modal-header h2{font-size:1.5rem}.auth-form-input{padding:12px 40px 12px 12px}.auth-country-dropdown-btn{padding:12px 8px;min-width:85px;height:46px}.auth-country-dropdown{width:260px}.auth-submit-btn,.auth-training-btn{padding:14px;font-size:.95rem}}