-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
71 lines (58 loc) · 1.63 KB
/
style.css
File metadata and controls
71 lines (58 loc) · 1.63 KB
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
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.card {
background: rgba(255, 255, 255, 0.95);
padding: 40px;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
width: 100%;
max-width: 400px; /* Desktop width */
text-align: center;
transition: transform 0.3s ease;
}
/* Responsive adjustment for small phones */
@media (max-width: 480px) {
.card { padding: 25px; }
h2 { font-size: 1.5rem; }
}
h2 { color: #333; margin-bottom: 8px; }
.subtitle { color: #777; margin-bottom: 24px; font-size: 0.9rem; }
.input-group { text-align: left; margin-bottom: 15px; position: relative; }
label { display: block; font-size: 0.85rem; margin-bottom: 5px; color: #555; font-weight: 600; }
input {
width: 100%;
padding: 12px;
border: 2px solid #eee;
border-radius: 8px;
outline: none;
transition: 0.3s;
}
input:focus { border-color: #764ba2; }
.error-msg { color: #e74c3c; font-size: 0.75rem; margin-top: 4px; display: block; min-height: 1em; }
button {
width: 100%;
padding: 12px;
background: #764ba2;
color: white;
border: none;
border-radius: 8px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background 0.3s;
margin-top: 10px;
}
button:hover { background: #5a378c; }
.hidden { display: none; }
.success-icon {
font-size: 50px;
color: #2ecc71;
margin-bottom: 15px;
}