sumaq/frontend/src/app/components/login/login.scss

107 lines
2.1 KiB
SCSS

.login-wrapper {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-main);
padding: 24px;
}
.login-card {
width: 100%;
max-width: 440px;
padding: 48px;
border-radius: 24px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
@media (max-width: 480px) {
padding: 32px 24px;
}
}
.login-header {
text-align: center;
margin-bottom: 40px;
.logo-wrapper {
width: 80px;
height: 80px;
background: #fffbeb;
border-radius: 24px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
color: var(--brand-primary);
}
h1 {
font-size: 1.5rem;
letter-spacing: 0.1em;
margin-bottom: 8px;
}
p {
color: var(--text-muted);
font-size: 0.95rem;
font-weight: 500;
}
}
.login-form {
display: flex;
flex-direction: column;
gap: 24px;
.form-group {
display: flex;
flex-direction: column;
gap: 8px;
label {
font-size: 0.75rem;
color: var(--text-muted);
font-weight: 700;
text-transform: uppercase;
padding-left: 4px;
}
input {
width: 100%;
background: var(--bg-main);
border: 1px solid var(--border-color);
padding: 14px 16px;
border-radius: 12px;
font-size: 1rem;
transition: all 0.2s;
&:focus {
outline: none;
border-color: var(--brand-primary);
background: var(--bg-surface);
box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.05);
}
}
}
.error-msg {
background: #fef2f2;
color: #ef4444;
padding: 12px;
border-radius: 10px;
font-size: 0.85rem;
font-weight: 600;
text-align: center;
border: 1px solid #fee2e2;
}
}
.login-footer {
margin-top: 40px;
text-align: center;
p {
font-size: 0.75rem;
color: var(--text-muted);
}
}