File size: 2,664 Bytes
48322a4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* ===============================

   GLOBAL THEME

================================ */
:root {
    --dark-bg: #111827;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --text-light: #f9fafb;
    --text-muted: #9ca3af;
    --body-bg: #f3f4f6;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--body-bg);
}

/* ===============================

   LOGIN PAGE LAYOUT (Centering Fix)

================================ */
.auth-page-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ===============================

   LOGIN CARD

================================ */
.login-container {
    background: white;
    width: 100%;
    max-width: 460px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: var(--dark-bg);
    font-size: 1.7rem;
}

/* ===============================

   INPUT GROUPS & FLOATING LABELS

================================ */
.input-group {
    position: relative;
    margin-bottom: 24px;
}

.input {
    width: 100%;
    padding: 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    font-size: 1rem;
}

.input:focus {
    outline: none;
    border-color: var(--primary);
}

.user-label {
    position: absolute;
    left: 12px;
    top: 14px;
    color: var(--text-muted);
    transition: 0.2s;
    background: white;
    padding: 0 5px;
    pointer-events: none;
}

/* Label Floats up on Focus or when Text is present */
.input:focus ~ .user-label,
.input:not(:placeholder-shown) ~ .user-label {
    top: -10px;
    left: 8px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

/* ===============================

   BUTTONS & FOOTER

================================ */
.btn-auth {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg,#0f172a,#020617);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}