151 lines
2.7 KiB
CSS
Raw Normal View History

2026-05-10 09:08:12 +02:00
.auth-page {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
2026-05-11 05:30:51 +02:00
background: var(--bg-gradient);
2026-05-10 09:08:12 +02:00
padding: 1rem;
}
.auth-card {
width: 100%;
max-width: 420px;
background: var(--bg-modal);
border: 1px dashed var(--border-light);
border-radius: var(--radius-xl);
padding: 2.5rem;
box-shadow: var(--shadow-lg);
}
.auth-card h2 {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 0.25rem;
text-align: center;
}
.auth-card .subtitle {
color: var(--text-secondary);
font-size: 0.875rem;
text-align: center;
margin-bottom: 1.5rem;
}
.auth-form {
display: flex;
flex-direction: column;
gap: 1rem;
}
.auth-field label {
display: block;
font-size: 0.8125rem;
font-weight: 600;
color: var(--text-secondary);
margin-bottom: 0.375rem;
}
.auth-field .input-wrap {
position: relative;
}
.auth-field .input-wrap input {
padding-right: 2.5rem;
}
.auth-toggle-pw {
position: absolute;
right: 0.5rem;
top: 50%;
transform: translateY(-50%);
padding: 0.25rem;
color: var(--text-muted);
font-size: 1rem;
line-height: 1;
}
.auth-toggle-pw:hover {
color: var(--text-secondary);
}
.auth-options {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 0.8125rem;
}
.auth-options label {
display: flex;
align-items: center;
gap: 0.375rem;
color: var(--text-secondary);
cursor: pointer;
}
.auth-options input[type="checkbox"] {
width: auto;
accent-color: var(--accent);
}
.auth-options a {
font-size: 0.8125rem;
}
.auth-submit {
padding: 0.75rem;
font-size: 1rem;
font-weight: 700;
background: var(--accent);
color: #fff;
border-radius: var(--radius);
transition: all 0.2s;
}
.auth-submit:hover {
background: var(--accent-hover);
}
.auth-footer {
text-align: center;
margin-top: 1rem;
font-size: 0.875rem;
color: var(--text-secondary);
}
.auth-footer a {
font-weight: 600;
}
.auth-back {
display: block;
text-align: center;
margin-bottom: 1rem;
font-size: 0.875rem;
color: var(--text-secondary);
}
.auth-error {
background: rgba(229, 57, 53, 0.1);
border: 1px solid var(--danger);
border-radius: var(--radius);
padding: 0.75rem;
font-size: 0.8125rem;
color: var(--danger);
margin-bottom: 0.5rem;
}
.auth-error li {
list-style: none;
}
2026-05-11 05:30:51 +02:00
.auth-success {
background: rgba(76, 175, 80, 0.1);
border: 1px solid var(--success);
border-radius: var(--radius);
padding: 0.75rem;
font-size: 0.8125rem;
color: var(--success);
margin-bottom: 0.5rem;
}