.auth-page-container{min-height:calc(100vh - 120px - 200px);display:flex;align-items:center;justify-content:center;padding:40px 20px;}
.auth-page{min-height:calc(100vh - 200px);display:flex;align-items:center;justify-content:center;padding:40px 20px;background:linear-gradient(135deg,#000 0%,#1a1a1a 50%,#000 100%);position:relative;overflow:hidden;}
.auth-page::before{content:'';position:absolute;top:-50%;right:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,0.1) 1px,transparent 1px);background-size:50px 50px;animation:authMoveBackground 20s linear 1;}
@keyframes authMoveBackground{0%{transform:translate(0,0);}
100%{transform:translate(50px,50px);}
}
.floating-shapes{position:absolute;width:100%;height:100%;top:0;left:0;pointer-events:none;overflow:hidden;}
.floating-shape{position:absolute;border-radius:50%;opacity:0.1;animation:authFloat 15s ease-in-out 1;}
.floating-shape:nth-child(1){width:80px;height:80px;background:rgba(255,102,0,0.2);top:10%;left:10%;animation-delay:0s;}
.floating-shape:nth-child(2){width:120px;height:120px;background:rgba(255,133,51,0.15);top:70%;left:80%;animation-delay:2s;}
.floating-shape:nth-child(3){width:60px;height:60px;background:rgba(229,90,0,0.2);top:40%;left:90%;animation-delay:4s;}
.floating-shape:nth-child(4){width:100px;height:100px;background:rgba(255,102,0,0.15);top:80%;left:5%;animation-delay:1s;}
@keyframes authFloat{0%,100%{transform:translateY(0) rotate(0deg);}
50%{transform:translateY(-30px) rotate(180deg);}
}
.auth-container{max-width:480px;width:100%;position:relative;z-index:1;animation:authSlideUp 0.6s ease-out;}
@keyframes authSlideUp{from{opacity:0;transform:translateY(30px);}
to{opacity:1;transform:translateY(0);}
}
.auth-box{background:var(--bg-card);border-radius:16px;padding:40px;width:100%;max-width:480px;box-shadow:0 8px 32px rgba(0,0,0,0.3);border:1px solid var(--border-primary);transition:opacity 0.3s ease,transform 0.3s ease,background-color 0.3s ease,color 0.3s ease;}
.auth-box:hover{box-shadow:0 12px 48px rgba(255,102,0,0.2);border-color:rgba(255,102,0,0.3);}
.auth-page .auth-box{background:rgba(34,34,34,0.98);border-radius:20px;padding:30px;box-shadow:0 20px 60px rgba(0,0,0,0.5);border:1px solid rgba(255,102,0,0.2);}
.auth-header{text-align:center;margin-bottom:32px;}
.auth-page .auth-header{margin-bottom:20px;}
.auth-header h1{font-size:28px;color:var(--text-primary);margin-bottom:8px;display:flex;align-items:center;justify-content:center;gap:10px;}
.auth-page .auth-header h1{font-size:26px;font-weight:700;color:#fff;gap:8px;}
.auth-header h1 svg{width:32px;height:32px;fill:var(--primary-color);}
.auth-page .auth-header h1 svg{width:28px;height:28px;color:#f60;}
.auth-header p{color:var(--text-secondary);font-size:14px;}
.auth-page .auth-header p{color:#ccc;font-size:13px;}
.progress-steps{display:flex;justify-content:space-between;margin-bottom:20px;padding:0 20px;}
.progress-step{flex:1;text-align:center;position:relative;}
.progress-step:not(:last-child)::after{content:'';position:absolute;top:15px;left:50%;width:100%;height:2px;background:#333;z-index:-1;}
.progress-step.active:not(:last-child)::after{background:linear-gradient(90deg,#f60,#ff8533);}
.step-circle{width:30px;height:30px;border-radius:50%;background:#333;color:#999;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;margin-bottom:5px;transition:opacity 0.3s,transform 0.3s,background-color 0.3s,color 0.3s;}
.progress-step.active .step-circle{background:linear-gradient(135deg,#f60,#ff8533);color:white;transform:scale(1.1);box-shadow:0 4px 12px rgba(255,102,0,0.4);}
.step-label{font-size:11px;color:#999;}
.progress-step.active .step-label{color:#f60;font-weight:600;}
.auth-form{margin-bottom:24px;}
.auth-page .auth-form{margin-top:0;margin-bottom:0;}
.form-group{margin-bottom:20px;}
.auth-page .form-group{margin-bottom:16px;animation:authFadeInUp 0.5s ease-out backwards;}
.auth-page .form-group:nth-child(1){animation-delay:0.1s;}
.auth-page .form-group:nth-child(2){animation-delay:0.2s;}
.auth-page .form-group:nth-child(3){animation-delay:0.3s;}
.auth-page .form-group:nth-child(4){animation-delay:0.4s;}
.auth-page .form-group:nth-child(5){animation-delay:0.5s;}
@keyframes authFadeInUp{from{opacity:0;transform:translateY(20px);}
to{opacity:1;transform:translateY(0);}
}
.form-group label{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:var(--text-primary);margin-bottom:8px;}
.auth-page .form-group label{font-weight:600;color:#fff;margin-bottom:6px;font-size:13px;}
.form-group label svg{width:16px;height:16px;fill:var(--primary-color);}
.auth-page .form-group label svg{width:14px;height:14px;color:#f60;}
.form-group input[type="text"],.form-group input[type="email"],.form-group input[type="password"]{width:100%;padding:12px 16px;border:2px solid var(--border-primary);border-radius:10px;font-size:14px;transition:opacity 0.3s,transform 0.3s,background-color 0.3s,color 0.3s;background:var(--bg-input);color:var(--text-primary);outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;}
.auth-page .form-group input[type="text"],.auth-page .form-group input[type="email"],.auth-page .form-group input[type="password"]{padding:10px 14px;border:2px solid #333;border-radius:8px;background:#1a1a1a;color:#fff;}
.form-group input:focus{background:var(--bg-card);border-color:var(--primary-color);box-shadow:0 0 0 4px rgba(255,102,0,0.1) !important;transform:translateY(-2px);outline:none !important;}
.auth-page .form-group input:focus{outline:none !important;border-color:#f60;box-shadow:0 0 0 4px rgba(255,102,0,0.1) !important;}
.form-group input.valid{border-color:var(--like-color,#4caf50);}
.form-group input.invalid{border-color:var(--dislike-color,#f44336);}
.form-group input::placeholder{color:var(--text-meta);opacity:1;transition:color 0.3s,opacity 0.3s;}
.auth-page .form-group input::placeholder{color:#666;}
.form-group input:focus::placeholder{color:var(--text-muted);opacity:0.5;}
.auth-page .form-group input:focus::placeholder{color:#999;}
.form-group input:-webkit-autofill,.form-group input:-webkit-autofill:hover,.form-group input:-webkit-autofill:focus,.form-group input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px var(--bg-input) inset !important;-webkit-text-fill-color:var(--text-primary) !important;caret-color:var(--text-primary);transition:background-color 5000s ease-in-out 0s;border:2px solid var(--border-primary) !important;}
.form-group input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 30px var(--bg-card) inset !important;border:2px solid var(--primary-color) !important;}
.auth-page .form-group input:-webkit-autofill,.auth-page .form-group input:-webkit-autofill:hover,.auth-page .form-group input:-webkit-autofill:focus,.auth-page .form-group input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #1a1a1a inset !important;-webkit-text-fill-color:#fff !important;caret-color:#fff;border:2px solid #333 !important;}
.auth-page .form-group input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 30px #1a1a1a inset !important;border:2px solid #f60 !important;}
.form-group input:-moz-autofill,.form-group input:-moz-autofill-preview{filter:none;background-color:var(--bg-input) !important;color:var(--text-primary) !important;}
.auth-page .form-group input:-moz-autofill,.auth-page .form-group input:-moz-autofill-preview{background-color:#1a1a1a !important;color:#fff !important;}
.form-group input:-internal-autofill-selected{appearance:none !important;background-image:none !important;background-color:var(--bg-input) !important;color:var(--text-primary) !important;}
.auth-page .form-group input:-internal-autofill-selected{background-color:#1a1a1a !important;color:#fff !important;}
.form-hint{display:block;font-size:12px;color:var(--text-meta);margin-top:6px;}
.auth-page .form-hint{font-size:11px;color:#999;margin-top:4px;}
.validation-message{font-size:11px;margin-top:4px;display:flex;align-items:center;gap:4px;}
.validation-message.success{color:#4caf50;}
.validation-message.error{color:#f44336;}
.validation-message svg{width:12px;height:12px;}
.form-checkbox{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;}
.auth-page .form-checkbox{margin-top:12px;margin-bottom:0;display:block;}
.form-checkbox label{display:flex;align-items:center;gap:8px;cursor:pointer;margin-bottom:0;}
.auth-page .form-checkbox label{align-items:flex-start;font-weight:normal;color:#ccc;font-size:13px;}
.form-checkbox input[type="checkbox"]{width:18px;height:18px;cursor:pointer;accent-color:var(--primary-color);}
.auth-page .form-checkbox input[type="checkbox"]{margin-top:2px;width:16px;height:16px;}
.form-checkbox span{font-size:14px;color:var(--text-secondary);}
.form-checkbox a{color:var(--primary-color);text-decoration:none;font-weight:600;}
.form-checkbox a:hover{color:var(--primary-color-hover);text-decoration:underline;}
.forgot-link{font-size:14px;color:var(--primary-color);text-decoration:none;transition:color 0.3s;}
.forgot-link:hover{color:var(--primary-color-hover);text-decoration:underline;}
.btn-submit{width:100%;padding:14px;background:linear-gradient(135deg,var(--primary-color),var(--primary-color-hover));border:none;border-radius:10px;color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:opacity 0.3s,transform 0.3s,background-color 0.3s,color 0.3s;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 15px rgba(255,102,0,0.4);}
.btn-submit:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(255,102,0,0.5);}
.btn-submit:active{transform:translateY(0);}
.btn-submit:disabled{opacity:0.6;cursor:not-allowed;transform:none;}
.btn-submit svg{width:20px;height:20px;fill:#fff;}
.btn-submit.loading::before{content:'';width:18px;height:18px;border:2px solid #fff;border-top-color:transparent;border-radius:50%;animation:authSpin 0.6s linear infinite;margin-right:8px;}
.auth-page .btn-block{width:100%;padding:12px;font-size:15px;font-weight:600;border:none;border-radius:8px;background:linear-gradient(135deg,#f60 0%,#e55a00 100%);color:white;cursor:pointer;transition:opacity 0.3s,transform 0.3s,background-color 0.3s,color 0.3s;margin-top:18px;display:flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 4px 15px rgba(255,102,0,0.4);}
.auth-page .btn-block:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(255,102,0,0.6);}
.auth-page .btn-block:active{transform:translateY(0);}
.auth-page .btn-block:disabled{opacity:0.6;cursor:not-allowed;transform:none;}
.auth-page .btn-block.loading::after{content:'';width:16px;height:16px;border:2px solid rgba(255,255,255,0.3);border-top-color:white;border-radius:50%;animation:authSpin 0.6s linear infinite;margin-left:8px;}
@keyframes authSpin{to{transform:rotate(360deg);}
}
.alert{padding:12px 16px;border-radius:10px;margin-bottom:20px;display:flex;align-items:center;gap:10px;font-size:14px;animation:authSlideDown 0.4s ease-out;}
@keyframes authSlideDown{from{opacity:0;transform:translateY(-10px);}
to{opacity:1;transform:translateY(0);}
}
.alert-error{background:#ffebee;color:#c62828;border:1px solid #ef5350;}
.alert-success{background:#e8f5e9;color:#2e7d32;border:1px solid #66bb6a;}
.alert svg{width:18px;height:18px;flex-shrink:0;}
.auth-footer{text-align:center;margin-top:20px;}
.auth-page .auth-footer{margin-top:18px;padding-top:16px;border-top:1px solid #333;font-size:13px;color:#999;}
.auth-footer p{font-size:14px;color:var(--text-secondary);}
.auth-footer a{color:var(--primary-color);text-decoration:none;font-weight:500;transition:color 0.3s;}
.auth-page .auth-footer a{font-weight:600;}
.auth-footer a:hover{color:var(--primary-color-hover);text-decoration:underline;}
.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.8);display:flex;align-items:center;justify-content:center;z-index:9999;animation:authFadeIn 0.3s ease-out;}
@keyframes authFadeIn{from{opacity:0;}
to{opacity:1;}
}
.modal-box{background:var(--bg-card,#222);border-radius:15px;padding:30px;max-width:400px;width:90%;box-shadow:0 20px 60px rgba(0,0,0,0.5);border:1px solid var(--border-primary,#333);animation:authScaleIn 0.3s ease-out;}
@keyframes authScaleIn{from{opacity:0;transform:scale(0.9);}
to{opacity:1;transform:scale(1);}
}
.modal-header{display:flex;align-items:center;gap:15px;margin-bottom:20px;}
.modal-icon{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.modal-icon.success{background:rgba(76,175,80,0.2);color:#4caf50;}
.modal-icon.error{background:rgba(244,67,54,0.2);color:#f44336;}
.modal-icon svg{width:30px;height:30px;}
.modal-title{flex:1;}
.modal-title h3{font-size:20px;font-weight:600;color:var(--text-primary,#fff);margin-bottom:5px;}
.modal-title p{font-size:14px;color:var(--text-secondary,#ccc);margin:0;}
.modal-body{margin-bottom:25px;color:var(--text-secondary,#ccc);font-size:14px;line-height:1.6;}
.modal-footer{display:flex;gap:10px;justify-content:flex-end;}
.modal-btn{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:opacity 0.3s,transform 0.3s,background-color 0.3s,color 0.3s;}
.modal-btn-primary{background:linear-gradient(135deg,#f60 0%,#e55a00 100%);color:white;}
.modal-btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(255,102,0,0.4);}
.modal-btn-secondary{background:var(--bg-input,#333);color:var(--text-primary,#fff);}
.modal-btn-secondary:hover{background:var(--bg-hover,#2a2a2a);}
[data-theme="light"] .auth-page-container .auth-box{background:#fff;border-color:rgba(0,0,0,0.1);box-shadow:0 8px 32px rgba(0,0,0,0.08);}
[data-theme="light"] .auth-page-container .auth-box:hover{box-shadow:0 12px 48px rgba(255,102,0,0.15);border-color:rgba(255,102,0,0.3);}
[data-theme="light"] .auth-page{background:linear-gradient(135deg,#f5f5f5 0%,#e8e8e8 50%,#f5f5f5 100%);}
[data-theme="light"] .floating-shape:nth-child(1),[data-theme="light"] .floating-shape:nth-child(2),[data-theme="light"] .floating-shape:nth-child(3),[data-theme="light"] .floating-shape:nth-child(4){background:rgba(255,102,0,0.08);}
[data-theme="light"] .auth-page .auth-box{background:rgba(255,255,255,0.95);border-color:rgba(255,102,0,0.15);box-shadow:0 20px 60px rgba(0,0,0,0.1);}
[data-theme="light"] .auth-page .auth-header h1,[data-theme="light"] .auth-page .form-group label{color:#1a1a1a;}
[data-theme="light"] .auth-page .auth-header p{color:#666;}
[data-theme="light"] .progress-step:not(:last-child)::after{background:#e0e0e0;}
[data-theme="light"] .step-circle{background:#e0e0e0;}
[data-theme="light"] .form-group input[type="text"],[data-theme="light"] .form-group input[type="email"],[data-theme="light"] .form-group input[type="password"]{background:#f5f5f5;border-color:#ddd;color:#1a1a1a;}
[data-theme="light"] .form-group input:focus{background:#fff;border-color:var(--primary-color);box-shadow:0 0 0 4px rgba(255,102,0,0.15) !important;}
[data-theme="light"] .form-group input::placeholder{color:#999;}
[data-theme="light"] .form-group input:focus::placeholder{color:#bbb;}
[data-theme="light"] .form-group input:-webkit-autofill,[data-theme="light"] .form-group input:-webkit-autofill:hover,[data-theme="light"] .form-group input:-webkit-autofill:focus,[data-theme="light"] .form-group input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #f5f5f5 inset !important;-webkit-text-fill-color:#1a1a1a !important;caret-color:#1a1a1a;border:2px solid #ddd !important;}
[data-theme="light"] .form-group input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 30px #fff inset !important;border:2px solid var(--primary-color) !important;}
[data-theme="light"] .form-group input:-moz-autofill,[data-theme="light"] .form-group input:-moz-autofill-preview{background-color:#f5f5f5 !important;color:#1a1a1a !important;}
[data-theme="light"] .form-group input:autofill{background-color:#f5f5f5 !important;color:#1a1a1a !important;}
[data-theme="light"] .form-group input:-internal-autofill-selected{background-color:#f5f5f5 !important;color:#1a1a1a !important;}
[data-theme="light"] .form-hint{color:#666;}
[data-theme="light"] .auth-page .form-checkbox label{color:#333;}
[data-theme="light"] .auth-page .auth-footer{border-top-color:#e0e0e0;color:#666;}
[data-theme="light"] .modal-box{background:#fff;border-color:rgba(255,102,0,0.15);}
[data-theme="light"] .modal-title h3{color:#1a1a1a;}
[data-theme="light"] .modal-title p,[data-theme="light"] .modal-body{color:#666;}
[data-theme="light"] .modal-btn-secondary{background:#e0e0e0;color:#1a1a1a;}
[data-theme="light"] .modal-btn-secondary:hover{background:#d0d0d0;}
@media (max-width:640px){.auth-page-container{padding:20px 15px;}
.auth-box{padding:30px 20px;}
.auth-page .auth-box{padding:30px 20px;border-radius:15px;}
.auth-header h1{font-size:24px;}
.auth-header h1 svg{width:28px;height:28px;}
.progress-steps{padding:0 10px;}
.step-circle{width:24px;height:24px;font-size:11px;}
.step-label{font-size:10px;}
.form-group{margin-bottom:18px;}
.form-group input{padding:11px 14px;font-size:13px;}
.btn-submit{padding:12px;font-size:15px;}
.modal-box{padding:25px 20px;}
.modal-header{flex-direction:column;text-align:center;}
.modal-footer{flex-direction:column;}
.modal-btn{width:100%;}
}
