blob: 98e55324f3ea5d132388ad7be1d7fe81b35f8823 [file] [log] [blame]
Krishya57cc17b2025-05-26 16:43:34 +08001/* .auth-container {
Krishya75e43c02025-04-05 21:16:30 +08002 display: flex;
3 align-items: center;
Krishya57cc17b2025-05-26 16:43:34 +08004 justify-content: flex-end;
Krishya75e43c02025-04-05 21:16:30 +08005 min-height: 100vh;
6 font-family: Arial, sans-serif;
Krishya57cc17b2025-05-26 16:43:34 +08007 background: #333;
8 padding: 0 2rem;
Krishya75e43c02025-04-05 21:16:30 +08009}
10
11.auth-container img {
12 margin-left: 250px;
13}
14
15.auth-form-section {
Krishya57cc17b2025-05-26 16:43:34 +080016 background: #E4D8C9;
Krishya75e43c02025-04-05 21:16:30 +080017 padding: 2rem;
18 border-radius: 10px;
19 box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
20 width: 300px;
21 margin: 0 auto;
Krishya57cc17b2025-05-26 16:43:34 +080022 max-width: 400px;
Krishya75e43c02025-04-05 21:16:30 +080023}
24
25.form-group {
26 margin-bottom: 1.2rem;
27 display: flex;
28 flex-direction: column;
29}
30
31label {
32 display: block;
33 font-size: 0.9rem;
34 margin-bottom: 0.5rem;
Krishya57cc17b2025-05-26 16:43:34 +080035 color: #4A3B34;
Krishya75e43c02025-04-05 21:16:30 +080036}
37
38.form-input {
39 width: 100%;
40 padding: 0.8rem;
41 border: 1px solid #ddd;
42 border-radius: 5px;
43 font-size: 0.9rem;
44 box-sizing: border-box;
45}
46
47.auth-button {
48 padding: 0.8rem 8.4rem;
Krishya57cc17b2025-05-26 16:43:34 +080049 background: #BA929A;
50 color: #4A3B34;
Krishya75e43c02025-04-05 21:16:30 +080051 border: none;
52 border-radius: 5px;
53 cursor: pointer;
54 font-size: 0.9rem;
55 display: inline-block;
56}
57
58.verify-button {
Krishya57cc17b2025-05-26 16:43:34 +080059 padding: 0.5rem 1rem;
60 background: #BA929A;
61 color: #4A3B34;
Krishya75e43c02025-04-05 21:16:30 +080062 border: none;
63 border-radius: 5px;
64 cursor: pointer;
Krishya57cc17b2025-05-26 16:43:34 +080065 font-size: 0.8rem;
Krishya75e43c02025-04-05 21:16:30 +080066 display: inline-block;
67}
68
69.link-button {
70 background: none;
71 border: none;
Krishya57cc17b2025-05-26 16:43:34 +080072 color: #4A3B34;
Krishya75e43c02025-04-05 21:16:30 +080073 cursor: pointer;
74 font-size: 0.8rem;
75 padding: 0;
76}
77
78.forgot-password {
79 position: absolute;
Krishya57cc17b2025-05-26 16:43:34 +080080 right: 10px;
81 bottom: 5px;
Krishya75e43c02025-04-05 21:16:30 +080082 font-size: 12px;
83 background: none;
84 border: none;
Krishya57cc17b2025-05-26 16:43:34 +080085 color: #4A3B34;
Krishya75e43c02025-04-05 21:16:30 +080086 cursor: pointer;
87 text-decoration: underline;
88}
89
Krishya75e43c02025-04-05 21:16:30 +080090.register-link, .login-link {
91 text-align: center;
92 font-size: 0.8rem;
93 margin-top: 1rem;
Krishya57cc17b2025-05-26 16:43:34 +080094} */
95
96
97 .auth-container {
98 display: flex;
99 align-items: center;
100 justify-content: flex-end; /* 使卡片靠右 */
101 min-height: 100vh;
102 font-family: Arial, sans-serif;
103 background: #333;
104 /* background: linear-gradient(180deg, #5F4437, #823c3c) */
105 padding: 0 2rem; /* 添加左右内边距 */
106}
107
108 .auth-card {
109 width: 100%;
110 max-width: 480px;
111 background-color: #E4D8C9;
112 border-radius: 8px;
113 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
114 overflow: hidden;
115 }
116
117 .auth-header {
118 display: flex;
119 border-bottom: 1px solid #eee;
120 }
121
122 .auth-tab {
123 flex: 1;
124 padding: 16px;
125 text-align: center;
126 font-size: 18px;
127 font-weight: 500;
128 cursor: pointer;
129 transition: all 0.3s ease;
130 }
131
132 .auth-tab.active {
133 color: #BA929A;
134 border-bottom: 2px solid #BA929A;
135 }
136
137 .auth-tab:not(.active) {
138 color: #888;
139 }
140
141 .auth-tab:hover:not(.active) {
142 background-color: #f9f9f9;
143 }
144
145 .auth-content {
146 padding: 30px;
147 }
148
149 .auth-form {
150 display: flex;
151 flex-direction: column;
152 gap: 20px;
153 }
154
155 .form-group {
156 display: flex;
157 flex-direction: column;
158 gap: 8px;
159 }
160
161 .form-group label {
162 font-weight: 500;
163 color: #333;
164 text-align: left;
165 align-self: flex-start;
166 }
167
168 .form-group input[type="text"],
169 .form-group input[type="email"],
170 .form-group input[type="password"] {
171 padding: 12px 16px;
172 border: 1px solid #ddd;
173 border-radius: 4px;
174 font-size: 16px;
175 transition: border-color 0.3s;
176 }
177
178 .form-group input:focus {
179 border-color: #BA929A;
180 outline: none;
181 }
182
183 .form-group-inline {
184 display: flex;
185 justify-content: space-between;
186 align-items: center;
187 }
188
189 .checkbox-container {
190 display: flex;
191 align-items: center;
192 gap: 8px;
193 }
194
195 .checkbox-container input[type="checkbox"] {
196 width: 18px;
197 height: 18px;
198 cursor: pointer;
199 }
200
201 .forgot-password {
202 color: #BA929A;
203 text-decoration: none;
204 font-size: 14px;
205 }
206
207 .forgot-password:hover {
208 text-decoration: underline;
209 }
210
211 .auth-button {
212 background-color: #BA929A;
213 color: white;
214 border: none;
215 border-radius: 4px;
216 padding: 14px;
217 font-size: 16px;
218 font-weight: 500;
219 cursor: pointer;
220 transition: background-color 0.3s;
221 }
222
223 .auth-button:hover {
224 background-color: #BA929A;
225 }
226
227 .social-login {
228 margin-top: 20px;
229 text-align: center;
230 }
231
232 .social-login p {
233 color: #666;
234 margin-bottom: 15px;
235 position: relative;
236 }
237
238 .social-login p::before,
239 .social-login p::after {
240 content: "";
241 position: absolute;
242 top: 50%;
243 width: 30%;
244 height: 1px;
245 background-color: #ddd;
246 }
247
248 .social-login p::before {
249 left: 0;
250 }
251
252 .social-login p::after {
253 right: 0;
254 }
255
256 .social-icons {
257 display: flex;
258 justify-content: center;
259 gap: 20px;
260 }
261
262 .social-icon {
263 width: 40px;
264 height: 40px;
265 border-radius: 50%;
266 display: flex;
267 align-items: center;
268 justify-content: center;
269 color: white;
270 font-size: 12px;
271 cursor: pointer;
272 }
273
274 .social-icon.wechat {
275 background-color: #07c160;
276 }
277
278 .social-icon.weibo {
279 background-color: #e6162d;
280 }
281
282 .social-icon.qq {
283 background-color: #12b7f5;
284 }
285
286 .terms-container {
287 flex-direction: column;
288 align-items: flex-start;
289 }
290
291 .terms-link {
292 color: #BA929A;
293 text-decoration: none;
294 }
295
296 .terms-link:hover {
297 text-decoration: underline;
298 }
299
300 .error-message {
301 color: #e53e3e;
302 font-size: 14px;
303 margin-top: 4px;
304 }
305
306 /* Responsive adjustments */
307 @media (max-width: 576px) {
308 .auth-card {
309 box-shadow: none;
310 border-radius: 0;
311 }
312
313 .auth-content {
314 padding: 20px;
315 }
316
317 .form-group-inline {
318 flex-direction: column;
319 align-items: flex-start;
320 gap: 10px;
321 }
322
323 .social-icons {
324 flex-wrap: wrap;
325 }
326 }
327