Files
no-copy-admin-panel-frontend/src/app/styles/module/login.module.scss
T
2026-04-06 17:04:53 +07:00

292 lines
3.9 KiB
SCSS

.login-container-wrapper {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
color: #333;
}
.login-container {
background: white;
border-radius: 20px;
padding: 40px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 500px;
&-language {
position: fixed;
right: 20px;
top: 20px;
}
}
.logo {
text-align: center;
margin-bottom: 30px;
h1 {
font-size: 28px;
font-weight: 700;
color: #1f2937;
margin-bottom: 5px;
}
p {
color: #6b7280;
font-size: 14px;
}
}
.form-wrapper {
max-width: 640px;
width: 100%;
padding: 20px;
}
.form-group {
margin-bottom: 18px;
}
.form-switcher {
display: flex;
justify-content: center;
gap: 10px;
margin-bottom: 10px;
&-button {
padding: 5px 15px;
background: linear-gradient(135deg, #6366f1, #8b5cf6);
color: white;
border: none;
border-radius: 10px;
transition: all 0.3s;
opacity: 0.6;
cursor: pointer;
&.active {
opacity: 1;
}
&:disabled {
opacity: 0.5;
}
&:hover:not(:disabled) {
transform: translateY(-2px);
}
}
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
}
.form-label {
display: block;
margin-bottom: 8px;
font-weight: 500;
color: #2563eb;
font-size: 14px;
}
.form-label.required::after {
content: ' *';
color: #dc2626;
}
.form-input {
width: 100%;
padding: 12px 16px;
border: 2px solid #e5e7eb;
border-radius: 10px;
font-size: 16px;
transition: all 0.3s;
background: #f9fafb;
&-hidden {
display: none;
}
&[type="password"]::-ms-reveal {
display: none;
}
&.password {
padding-right: 32px;
}
&:disabled {
opacity: 0.5;
}
&.valid-card {
border: 2px solid #2f9e44;
background: #ecf8ee;
}
}
.form-options {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 18px;
}
.form-error {
color: #fb2c36;
font-size: .875rem;
margin-bottom: 15px;
}
.form-checkbox {
display: flex;
align-items: center;
input {
width: 18px;
height: 18px;
margin-right: 10px;
accent-color: #6366f1;
}
label {
font-size: 14px;
color: #6b7280;
cursor: pointer;
a {
color: #6366f1;
text-decoration: none;
}
}
}
.forgot-password {
font-size: 14px;
color: #6366f1;
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
.btn {
width: 100%;
padding: 14px;
background: #2563eb;
color: white;
border: none;
border-radius: 10px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
margin-bottom: 18px;
margin: 20px 0 0 0;
&:hover:not(:disabled) {
background: #1d4ed8;
}
&:disabled {
opacity: 0.5;
background: linear-gradient(135deg, #414291, #4b3975);
&:hover {
transform: none;
}
}
&.refresh {
width: 100%;
display: flex;
justify-content: center;
gap: 3px;
white-space: nowrap;
}
}
.form-group-confrim-window {
min-width: 500px;
&-button-group {
justify-content: center;
gap: 10px;
display: grid;
grid-template-columns: 50% 50%;
}
@media (max-width: 550px) {
min-width: auto;
&-button-group {
flex-direction: column;
gap: 10px;
}
}
.btn {
margin: 0;
}
}
.register-link {
text-align: center;
margin-top: 18px;
a {
color: #6366f1;
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
}
.features {
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #e5e7eb;
}
.feature {
display: flex;
align-items: center;
margin-bottom: 10px;
font-size: 13px;
color: #6b7280;
}
.feature-icon {
width: 16px;
height: 16px;
margin-right: 8px;
color: #10b981;
}
.subscription-info {
background: #f0f9ff;
border: 1px solid #bae6fd;
border-radius: 10px;
padding: 15px;
margin-bottom: 18px;
h4 {
color: #0369a1;
font-size: 14px;
font-weight: 600;
margin-bottom: 8px;
}
p {
color: #0c4a6e;
font-size: 13px;
line-height: 1.4;
}
}
.password-wrapper {
position: relative;
}