Spaces:
Sleeping
Sleeping
| /* login_style.css */ | |
| body { | |
| background: #203667; | |
| margin: 0; | |
| padding: 0; | |
| font-family: 'Cairo', sans-serif; | |
| overflow-x: hidden; | |
| /* Enable vertical scrolling */ | |
| min-height: 100vh; | |
| } | |
| /* Split Layout Container */ | |
| .split-container { | |
| display: flex; | |
| width: 100%; | |
| min-height: 100vh; | |
| /* Allow expanding */ | |
| } | |
| /* Login Layout: Form Left, Image Right */ | |
| /* HTML structure: [Form] [Image] */ | |
| .login-layout { | |
| flex-direction: row; | |
| } | |
| /* Signup Layout: Image Left, Form Right */ | |
| /* HTML structure: [Image] [Form] */ | |
| /* Since HTML is already ordered Image then Form, we just need row direction */ | |
| .signup-layout { | |
| flex-direction: row; | |
| } | |
| /* Sides */ | |
| .form-side { | |
| flex: 1; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| background: #203667; | |
| padding: 40px; | |
| z-index: 2; | |
| } | |
| .image-side { | |
| flex: 1; | |
| position: relative; | |
| background-image: url('../images/auth-bg.jpg'); | |
| background-size: cover; | |
| background-position: center bottom; | |
| background-repeat: no-repeat; | |
| min-height: 100vh; | |
| } | |
| /* Specific background positioning for different layouts if needed */ | |
| .login-layout .image-side { | |
| background-position: left bottom; | |
| /* Show left/center part of image on the right side? */ | |
| } | |
| .signup-layout .image-side { | |
| background-position: right bottom; | |
| /* Show right/center part of image on the left side? */ | |
| } | |
| .image-overlay { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| } | |
| /* Form Content */ | |
| .form-content { | |
| width: 100%; | |
| max-width: 480px; | |
| color: #fff; | |
| margin: auto; | |
| /* Ensure centering vertically if flex allows */ | |
| } | |
| .auth-title { | |
| font-family: 'Cairo', sans-serif; | |
| font-weight: 700; | |
| font-size: 64px; | |
| color: #FFFFFF; | |
| margin: 0; | |
| line-height: 1.1; | |
| letter-spacing: 1px; | |
| } | |
| .auth-subtitle { | |
| font-family: 'Cairo', sans-serif; | |
| font-size: 24px; | |
| color: #E0E0E0; | |
| margin: 10px 0 40px 0; | |
| font-weight: 400; | |
| } | |
| /* Form Elements */ | |
| .auth-form { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 24px; | |
| } | |
| .input-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| .input-group label { | |
| font-family: 'Cairo', sans-serif; | |
| font-weight: 700; | |
| font-size: 16px; | |
| color: #FFFFFF; | |
| margin-left: 5px; | |
| } | |
| .input-group input { | |
| height: 60px; | |
| background: #FFFBE6; | |
| /* Light Cream */ | |
| border-radius: 12px; | |
| border: none; | |
| padding: 0 20px; | |
| font-family: 'Cairo', sans-serif; | |
| font-size: 16px; | |
| color: #203667; | |
| outline: none; | |
| transition: all 0.3s ease; | |
| } | |
| .input-group input:focus { | |
| box-shadow: 0 0 0 3px rgba(253, 197, 84, 0.4); | |
| } | |
| .submit-btn { | |
| height: 60px; | |
| background: #FDC554; | |
| border-radius: 30px; | |
| border: none; | |
| font-family: 'Cairo', sans-serif; | |
| font-weight: 700; | |
| font-size: 20px; | |
| color: #203667; | |
| cursor: pointer; | |
| margin-top: 20px; | |
| transition: transform 0.2s, box-shadow 0.2s; | |
| box-shadow: 0 4px 15px rgba(253, 197, 84, 0.2); | |
| } | |
| .submit-btn:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 6px 20px rgba(253, 197, 84, 0.3); | |
| } | |
| /* Footer Links */ | |
| .auth-footer { | |
| text-align: center; | |
| margin-top: 30px; | |
| padding-bottom: 20px; | |
| /* Ensure space at bottom for scrolling */ | |
| } | |
| .auth-footer p { | |
| color: #B0B8C8; | |
| font-size: 14px; | |
| } | |
| .auth-footer a { | |
| color: #FDC554; | |
| text-decoration: none; | |
| font-weight: 700; | |
| margin-left: 5px; | |
| } | |
| .auth-footer a:hover { | |
| text-decoration: underline; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 900px) { | |
| .split-container { | |
| flex-direction: column ; | |
| /* Force column stack on mobile */ | |
| height: auto; | |
| } | |
| .image-side { | |
| height: 300px; | |
| /* shorter image header */ | |
| min-height: 300px; | |
| flex: none; | |
| } | |
| .form-side { | |
| padding: 40px 20px; | |
| flex: auto; | |
| } | |
| .auth-title { | |
| font-size: 48px; | |
| } | |
| /* Ensure proper stacking order if needed */ | |
| .login-layout .image-side { | |
| order: -1; | |
| /* Image Top */ | |
| } | |
| .signup-layout .image-side { | |
| order: -1; | |
| /* Image Top */ | |
| } | |
| } |