File size: 4,408 Bytes
01704b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
/* 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 !important;
        /* 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 */
    }
}