Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
53 lines (45 loc) · 2.45 KB
/
Copy pathstyle.css
File metadata and controls
53 lines (45 loc) · 2.45 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
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
display: flex; align-items: center; justify-content: center;
min-height: 100vh; background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
padding: 1rem;
}
.container {
width: 100%; max-width: 460px; background: #fff; border-radius: 24px;
padding: 2rem; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
animation: slideUp 0.5s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
h1 { text-align: center; font-size: 1.5rem; color: #1e293b; }
h1 i { color: #6366f1; margin-right: 0.5rem; }
.subtitle { text-align: center; color: #64748b; font-size: 0.85rem; margin: 0.5rem 0 1.5rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: #334155; margin-bottom: 0.4rem; }
.req { color: #ef4444; }
.field input {
width: 100%; padding: 0.85rem 1rem; border: 2px solid #e2e8f0; border-radius: 12px;
font-size: 1rem; font-family: inherit; transition: all 0.25s ease;
}
.field input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.field input.valid { border-color: #10b981; }
.field input.invalid { border-color: #ef4444; }
.msg { font-size: 0.8rem; margin-top: 0.35rem; min-height: 1.1rem; font-weight: 500; }
.msg.error { color: #ef4444; }
.msg.success { color: #10b981; }
.strength-bar { height: 5px; background: #e2e8f0; border-radius: 3px; overflow: hidden; margin-top: 0.5rem; }
.strength-fill { height: 100%; width: 0; border-radius: 3px; transition: all 0.3s ease; }
.submit-btn {
width: 100%; padding: 0.85rem; border: none; border-radius: 12px;
background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
font-size: 1rem; font-weight: 700; cursor: pointer; font-family: inherit;
transition: all 0.25s ease; margin-top: 0.5rem;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99,102,241,0.4); }
.submit-btn i { margin-right: 0.5rem; }
.success { text-align: center; padding: 2rem 0; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.success i { font-size: 4rem; color: #10b981; margin-bottom: 1rem; animation: bounce 0.6s ease; }
@keyframes bounce { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.success h2 { color: #1e293b; margin-bottom: 0.5rem; }
.success p { color: #64748b; }