Spaces:
Runtime error
Runtime error
| /* Enhanced Signup Page Styles with Dark Mode Support */ | |
| /* Auth Hero Background */ | |
| .auth-hero { | |
| background: var(--background-color); | |
| min-height: 100vh; | |
| display: flex; | |
| align-items: center; | |
| position: relative; | |
| overflow: hidden; | |
| transition: background-color 0.3s ease; | |
| } | |
| /* Animated background elements */ | |
| .auth-hero::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: | |
| radial-gradient(circle at 30% 70%, rgba(5, 150, 105, 0.08) 0%, transparent 50%), | |
| radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.06) 0%, transparent 50%); | |
| animation: authFloat 20s ease-in-out infinite; | |
| } | |
| [data-theme="dark"] .auth-hero::before { | |
| background: | |
| radial-gradient(circle at 30% 70%, rgba(34, 197, 94, 0.15) 0%, transparent 50%), | |
| radial-gradient(circle at 70% 30%, rgba(5, 150, 105, 0.12) 0%, transparent 50%); | |
| } | |
| @keyframes authFloat { | |
| 0%, 100% { transform: translateY(0px) rotate(0deg); } | |
| 50% { transform: translateY(-10px) rotate(-1deg); } | |
| } | |
| .auth-container { | |
| position: relative; | |
| z-index: 2; | |
| width: 100%; | |
| padding: 2rem 0; | |
| } | |
| /* Enhanced Auth Card - Made Wider */ | |
| .auth-card { | |
| background: var(--card-bg); | |
| backdrop-filter: blur(20px); | |
| border-radius: 24px; | |
| box-shadow: var(--shadow-xl); | |
| max-width: 650px; /* Increased from 500px to 650px */ | |
| width: 100%; | |
| border: 1px solid var(--border-color); | |
| overflow: hidden; | |
| transition: all 0.3s ease; | |
| margin: 2rem auto; | |
| } | |
| [data-theme="dark"] .auth-card { | |
| background: rgba(15, 23, 42, 0.95); | |
| border: 1px solid var(--border-color-dark); | |
| box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05); | |
| } | |
| /* Modern Header Design */ | |
| .auth-header { | |
| background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); | |
| color: white; | |
| padding: 3rem 2rem 2rem; | |
| text-align: center; | |
| position: relative; | |
| } | |
| .auth-header::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05)); | |
| } | |
| .auth-header-content { | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .auth-title { | |
| font-size: 2rem; | |
| font-weight: 700; | |
| margin-bottom: 0.5rem; | |
| letter-spacing: -0.5px; | |
| } | |
| .auth-subtitle { | |
| font-size: 1rem; | |
| opacity: 0.9; | |
| margin-bottom: 0; | |
| font-weight: 400; | |
| } | |
| /* Enhanced Form Body - Increased padding for wider card */ | |
| .auth-body { | |
| padding: 3rem 4rem; /* Increased horizontal padding from 3rem to 4rem */ | |
| background: var(--card-bg); | |
| color: var(--text-primary); | |
| } | |
| /* Floating Form Fields */ | |
| .form-floating { | |
| margin-bottom: 1.5rem; | |
| position: relative; | |
| } | |
| .form-floating label { | |
| color: var(--text-secondary); | |
| font-weight: 500; | |
| transition: color 0.3s ease; | |
| } | |
| .form-control { | |
| background: var(--input-bg); | |
| border: 2px solid var(--border-color); | |
| border-radius: 12px; | |
| color: var(--text-primary); | |
| padding: 1rem 1.25rem; | |
| font-size: 1rem; | |
| transition: all 0.3s ease; | |
| font-weight: 500; | |
| } | |
| .form-control:focus { | |
| border-color: var(--primary-color); | |
| box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1); | |
| outline: none; | |
| background: var(--card-bg); | |
| transform: translateY(-2px); | |
| } | |
| .form-control::placeholder { | |
| color: var(--text-muted); | |
| font-weight: 400; | |
| } | |
| /* Enhanced Password Requirements */ | |
| .password-requirements { | |
| background: var(--card-bg); | |
| border: 1px solid var(--border-color); | |
| border-radius: 10px; | |
| padding: 1rem; | |
| margin-top: 0.75rem; | |
| font-size: 0.875rem; | |
| color: var(--text-primary); | |
| transition: all 0.3s ease; | |
| } | |
| [data-theme="dark"] .password-requirements { | |
| background: rgba(34, 197, 94, 0.05); | |
| border-color: rgba(34, 197, 94, 0.2); | |
| } | |
| .password-requirements strong { | |
| color: var(--primary-color); | |
| font-weight: 600; | |
| } | |
| .password-requirements ul { | |
| margin: 0.5rem 0 0 0; | |
| padding-left: 1.2rem; | |
| } | |
| .password-requirements li { | |
| margin-bottom: 0.25rem; | |
| color: var(--text-secondary); | |
| line-height: 1.4; | |
| } | |
| .password-requirements li::marker { | |
| color: var(--primary-color); | |
| } | |
| /* Enhanced Auth Button */ | |
| .btn-auth { | |
| background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); | |
| border: none; | |
| color: white; | |
| font-weight: 600; | |
| padding: 1rem 2rem; | |
| border-radius: 12px; | |
| width: 100%; | |
| font-size: 1rem; | |
| transition: all 0.3s ease; | |
| position: relative; | |
| overflow: hidden; | |
| letter-spacing: 0.5px; | |
| margin-bottom: 1rem; | |
| } | |
| .btn-auth::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); | |
| transition: left 0.6s ease; | |
| } | |
| .btn-auth:hover::before { | |
| left: 100%; | |
| } | |
| .btn-auth:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4); | |
| background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%); | |
| } | |
| .btn-auth:active { | |
| transform: translateY(-1px); | |
| } | |
| /* Modern Divider */ | |
| .divider { | |
| position: relative; | |
| text-align: center; | |
| margin: 2.5rem 0; | |
| } | |
| .divider::before { | |
| content: ''; | |
| position: absolute; | |
| top: 50%; | |
| left: 0; | |
| right: 0; | |
| height: 1px; | |
| background: var(--border-color); | |
| } | |
| .divider span { | |
| background: var(--card-bg); | |
| padding: 0 1.5rem; | |
| color: var(--text-secondary); | |
| font-size: 0.875rem; | |
| font-weight: 500; | |
| } | |
| /* Enhanced Auth Links */ | |
| .auth-links { | |
| text-align: center; | |
| line-height: 1.8; | |
| } | |
| .auth-link { | |
| color: var(--primary-color); | |
| text-decoration: none; | |
| font-weight: 600; | |
| font-size: 0.95rem; | |
| transition: all 0.3s ease; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| margin: 0.5rem 0; | |
| padding: 0.25rem 0; | |
| } | |
| .auth-link:hover { | |
| color: var(--primary-dark); | |
| text-decoration: none; | |
| transform: translateY(-1px); | |
| } | |
| .auth-link i { | |
| font-size: 0.875rem; | |
| transition: transform 0.3s ease; | |
| } | |
| .auth-link:hover i { | |
| transform: translateX(2px); | |
| } | |
| /* Enhanced Terms Notice */ | |
| .terms-notice { | |
| background: var(--card-bg); | |
| border: 1px solid var(--border-color); | |
| border-radius: 12px; | |
| padding: 1.25rem; | |
| margin-top: 2rem; | |
| text-align: center; | |
| transition: all 0.3s ease; | |
| } | |
| [data-theme="dark"] .terms-notice { | |
| background: rgba(34, 197, 94, 0.05); | |
| border-color: rgba(34, 197, 94, 0.2); | |
| } | |
| .terms-notice .text-muted { | |
| color: var(--text-secondary) ; | |
| font-size: 0.875rem; | |
| margin: 0; | |
| line-height: 1.5; | |
| } | |
| .terms-notice .auth-link { | |
| font-size: 0.875rem; | |
| font-weight: 600; | |
| } | |
| /* Enhanced Alerts */ | |
| .alert { | |
| border-radius: 12px; | |
| border: 1px solid var(--border-color); | |
| background: var(--card-bg); | |
| color: var(--text-primary); | |
| box-shadow: var(--shadow-sm); | |
| margin-bottom: 2rem; | |
| padding: 1rem 1.25rem; | |
| } | |
| .alert-danger { | |
| background: rgba(239, 68, 68, 0.1); | |
| border-color: rgba(239, 68, 68, 0.3); | |
| color: #dc2626; | |
| } | |
| [data-theme="dark"] .alert-danger { | |
| background: rgba(239, 68, 68, 0.15); | |
| border-color: rgba(239, 68, 68, 0.4); | |
| color: #fca5a5; | |
| } | |
| /* Form Validation */ | |
| .invalid-feedback { | |
| color: #dc2626; | |
| font-size: 0.875rem; | |
| margin-top: 0.5rem; | |
| font-weight: 500; | |
| } | |
| [data-theme="dark"] .invalid-feedback { | |
| color: #fca5a5; | |
| } | |
| .form-control.is-invalid { | |
| border-color: #dc2626; | |
| background: rgba(239, 68, 68, 0.05); | |
| } | |
| .form-control.is-invalid:focus { | |
| border-color: #dc2626; | |
| box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1); | |
| background: var(--card-bg); | |
| } | |
| [data-theme="dark"] .form-control.is-invalid { | |
| background: rgba(239, 68, 68, 0.1); | |
| } | |
| /* Loading State */ | |
| .btn-auth:disabled { | |
| opacity: 0.7; | |
| cursor: not-allowed; | |
| transform: none; | |
| } | |
| .btn-auth .spinner-border { | |
| width: 1rem; | |
| height: 1rem; | |
| margin-right: 0.5rem; | |
| } | |
| /* Focus Indicators for Accessibility */ | |
| .form-control:focus-visible, | |
| .btn-auth:focus-visible, | |
| .auth-link:focus-visible { | |
| outline: 2px solid var(--primary-color); | |
| outline-offset: 2px; | |
| } | |
| /* Enhanced Responsive Design */ | |
| @media (max-width: 768px) { | |
| .auth-hero { | |
| padding: 1rem; | |
| } | |
| .auth-card { | |
| margin: 1rem; | |
| max-width: none; | |
| border-radius: 20px; | |
| } | |
| .auth-header { | |
| padding: 2.5rem 1.5rem 1.5rem; | |
| } | |
| .auth-title { | |
| font-size: 1.75rem; | |
| } | |
| .auth-subtitle { | |
| font-size: 0.95rem; | |
| } | |
| .auth-body { | |
| padding: 2rem 1.5rem; /* Reduced padding on mobile */ | |
| } | |
| .form-floating { | |
| margin-bottom: 1.25rem; | |
| } | |
| .btn-auth { | |
| padding: 0.875rem 2rem; | |
| font-size: 1rem; | |
| } | |
| .password-requirements { | |
| font-size: 0.8125rem; | |
| } | |
| .terms-notice { | |
| padding: 1rem; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .auth-card { | |
| margin: 0.5rem; | |
| border-radius: 16px; | |
| } | |
| .auth-header { | |
| padding: 2rem 1rem 1rem; | |
| } | |
| .auth-title { | |
| font-size: 1.5rem; | |
| } | |
| .auth-body { | |
| padding: 1.5rem 1rem; | |
| } | |
| .form-control { | |
| padding: 0.875rem 1rem; | |
| } | |
| .password-requirements { | |
| padding: 0.875rem; | |
| font-size: 0.8rem; | |
| } | |
| .terms-notice { | |
| padding: 0.875rem; | |
| } | |
| } | |
| /* Animation Enhancements */ | |
| .auth-card { | |
| animation: slideUp 0.6s ease-out; | |
| } | |
| @keyframes slideUp { | |
| from { | |
| opacity: 0; | |
| transform: translateY(30px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| /* Hover Effects for Interactive Elements */ | |
| .form-floating:hover .form-control { | |
| border-color: var(--primary-color); | |
| } | |
| .password-requirements:hover { | |
| border-color: var(--primary-color); | |
| transform: translateY(-1px); | |
| } | |
| .terms-notice:hover { | |
| border-color: var(--primary-color); | |
| transform: translateY(-1px); | |
| } | |
| /* Enhanced Visual Hierarchy */ | |
| .auth-links > span { | |
| color: var(--text-secondary); | |
| font-size: 0.875rem; | |
| margin-right: 0.5rem; | |
| } | |
| /* Dark mode specific enhancements */ | |
| [data-theme="dark"] .form-control { | |
| background: rgba(15, 23, 42, 0.8); | |
| } | |
| [data-theme="dark"] .form-control:focus { | |
| background: var(--card-bg); | |
| box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15); | |
| } | |
| [data-theme="dark"] .btn-auth:hover { | |
| box-shadow: 0 15px 35px rgba(34, 197, 94, 0.3); | |
| } | |
| /* Password Strength Indicator (future enhancement) */ | |
| .password-strength { | |
| margin-top: 0.5rem; | |
| height: 4px; | |
| background: var(--border-color); | |
| border-radius: 2px; | |
| overflow: hidden; | |
| } | |
| .password-strength .strength-bar { | |
| height: 100%; | |
| transition: width 0.3s ease, background-color 0.3s ease; | |
| border-radius: 2px; | |
| } | |
| .password-strength .strength-weak { | |
| background: #ef4444; | |
| width: 25%; | |
| } | |
| .password-strength .strength-medium { | |
| background: #f59e0b; | |
| width: 50%; | |
| } | |
| .password-strength .strength-strong { | |
| background: var(--primary-color); | |
| width: 100%; | |
| } |