* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
sans-serif;
background: #f5f5f5;
color: #333;
min-height: 100vh;
}
.container {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 1rem;
}
.card {
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
padding: 2rem;
width: 100%;
max-width: 400px;
text-align: center;
}
h1 {
font-size: 1.5rem;
margin-bottom: 0.25rem;
}
.subtitle {
color: #666;
font-size: 0.875rem;
margin-bottom: 1.5rem;
}
.field {
margin-bottom: 1rem;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 0.75rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1rem;
transition: border-color 0.2s;
}
input[type="text"]:focus,
input[type="password"]:focus {
outline: none;
border-color: #4a90d9;
}
button {
width: 100%;
padding: 0.75rem;
background: #4a90d9;
color: #fff;
border: none;
border-radius: 4px;
font-size: 1rem;
cursor: pointer;
transition: background 0.2s;
margin-top: 0.5rem;
}
button:hover:not(:disabled) {
background: #357abd;
}
button:disabled {
background: #a0c4e8;
cursor: not-allowed;
}
.error {
color: #d32f2f;
font-size: 0.875rem;
margin-bottom: 0.5rem;
}
.success {
color: #2e7d32;
font-size: 0.875rem;
margin-bottom: 0.5rem;
}
.toggle {
margin-top: 1rem;
margin-bottom: 0;
font-size: 0.875rem;
color: #666;
}
.toggle a {
color: #4a90d9;
text-decoration: none;
}
.toggle a:hover {
text-decoration: underline;
}
p {
margin-bottom: 1.5rem;
line-height: 1.5;
}