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
|
/* General Body Styles */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f0f2f5;
margin: 0;
padding: 1rem;
box-sizing: border-box;
}
/* General Container for forms and content */
.container {
background-color: #fff;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
width: 100%;
box-sizing: border-box;
}
/* Centered page content (login, register) */
.form-container {
max-width: 420px;
}
/* Wider content (account page) */
.content-container {
max-width: 500px;
}
/* Headings */
h1, h2 {
text-align: center;
margin-top: 0;
margin-bottom: 1.5rem;
color: #333;
}
/* Forms */
.form-group {
margin-bottom: 1rem;
}
label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: #555;
}
input[type="text"],
input[type="password"],
input[type="email"] {
width: 100%;
padding: 0.75rem;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
font-size: 1rem;
}
/* Buttons */
button {
width: 100%;
padding: 0.75rem;
border: none;
border-radius: 4px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
color: #fff;
background-color: #007bff;
transition: background-color 0.2s;
}
button:hover {
background-color: #0056b3;
}
button.btn-success {
background-color: #28a745;
}
button.btn-success:hover {
background-color: #218838;
}
/* Links */
.form-link {
text-align: center;
margin-top: 1rem;
}
a {
text-decoration: none;
color: #007bff;
}
a:hover {
text-decoration: underline;
}
/* Messages */
.error, .message.error {
color: #dc3545;
text-align: center;
margin-top: 1rem;
min-height: 1em;
}
.message.success {
color: #28a745;
text-align: center;
margin-top: 1rem;
}
/* Lists */
ul {
list-style: none;
padding: 0;
}
li {
margin-bottom: 1rem;
}
|