forked from janavipandole/Cara
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforgotPassword.css
More file actions
174 lines (150 loc) · 2.97 KB
/
forgotPassword.css
File metadata and controls
174 lines (150 loc) · 2.97 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
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
/* ===== FORGOT PASSWORD PAGE ===== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
#forgot-section {
min-height: calc(100vh - 200px);
display: flex;
justify-content: center;
align-items: center;
padding: 100px 20px 60px 20px; /* ← changed */
background: var(--bg, #f9f9f9);
}
.auth-card {
width: 100%;
max-width: 480px;
background: var(--card-bg, #ffffff);
border-radius: 16px;
padding: 48px 40px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
border: 1px solid rgba(8, 129, 120, 0.08);
opacity: 0;
transform: translateY(80px);
animation: slideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes slideUp {
to {
opacity: 1;
transform: translateY(0);
}
}
.auth-card h2 {
font-family: 'Spartan', sans-serif;
font-size: 32px;
text-align: center;
color: var(--text, #222);
margin-bottom: 8px;
font-weight: 700;
}
.auth-card .subtitle {
text-align: center;
color: #777;
font-size: 15px;
margin-bottom: 32px;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
font-size: 14px;
font-weight: 600;
color: var(--text, #222);
margin-bottom: 8px;
}
.form-group input {
width: 100%;
padding: 14px 16px;
border: 1px solid #e0e0e0;
border-radius: 8px;
font-size: 15px;
font-family: inherit;
background: transparent;
color: var(--text, #222);
transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group input:focus {
outline: none;
border-color: #088178;
box-shadow: 0 0 0 3px rgba(8, 129, 120, 0.12);
}
.btn-primary {
width: 100%;
padding: 15px;
background: #088178;
color: #fff;
border: none;
border-radius: 8px;
font-size: 15px;
font-weight: 700;
letter-spacing: 1px;
cursor: pointer;
transition: background 0.25s, transform 0.15s;
margin-top: 8px;
}
.btn-primary:hover {
background: #065f5a; /* ← changed */
transform: translateY(-1px);
}
.switch-auth {
text-align: center;
margin-top: 24px;
font-size: 14px;
color: #666;
}
.switch-auth a {
color: #088178;
font-weight: 700;
text-decoration: none;
}
.switch-auth a:hover {
color: #065f5a; /* ← changed */
}
/* ===== TOAST ===== */
.toast {
position: fixed;
bottom: 30px;
left: 50%;
transform: translateX(-50%) translateY(100px);
background: #088178;
color: #fff;
padding: 14px 24px;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
opacity: 0;
transition: all 0.4s ease;
z-index: 10000;
}
.toast.show {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
/* ===== DARK MODE ===== */
body.dark #forgot-section {
background: #1a1a1a;
}
body.dark .auth-card {
background: #242424;
border-color: rgba(8, 129, 120, 0.2);
}
body.dark .auth-card h2,
body.dark .form-group label {
color: #f0f0f0;
}
body.dark .form-group input {
background: #1a1a1a;
border-color: #3a3a3a;
color: #f0f0f0;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 540px) {
.auth-card {
padding: 36px 24px;
}
.auth-card h2 {
font-size: 26px;
}
}