351 lines
6.3 KiB
CSS
351 lines
6.3 KiB
CSS
/* Auth Pages CSS */
|
|||
|
|
|
||
|
|
.auth-container {
|
||
|
|
min-height: 100vh;
|
||
|
|
width: 100%;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
position: relative;
|
||
|
|
overflow: hidden;
|
||
|
|
padding: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Background animated radiant orbs */
|
||
|
|
.auth-bg-decorations {
|
||
|
|
position: absolute;
|
||
|
|
inset: 0;
|
||
|
|
pointer-events: none;
|
||
|
|
overflow: hidden;
|
||
|
|
z-index: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-orb {
|
||
|
|
position: absolute;
|
||
|
|
border-radius: 50%;
|
||
|
|
filter: blur(80px);
|
||
|
|
opacity: 0.45;
|
||
|
|
animation: floatOrbs 18s ease-in-out infinite alternate;
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-orb-1 {
|
||
|
|
width: 480px;
|
||
|
|
height: 480px;
|
||
|
|
background: radial-gradient(circle, rgba(99, 102, 241, 0.6), transparent 70%);
|
||
|
|
top: -100px;
|
||
|
|
left: -100px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-orb-2 {
|
||
|
|
width: 420px;
|
||
|
|
height: 420px;
|
||
|
|
background: radial-gradient(circle, rgba(6, 182, 212, 0.5), transparent 70%);
|
||
|
|
bottom: -80px;
|
||
|
|
right: -80px;
|
||
|
|
animation-delay: -5s;
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-orb-3 {
|
||
|
|
width: 320px;
|
||
|
|
height: 320px;
|
||
|
|
background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%);
|
||
|
|
top: 40%;
|
||
|
|
right: 25%;
|
||
|
|
animation-delay: -9s;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Auth Card */
|
||
|
|
.auth-card {
|
||
|
|
width: 100%;
|
||
|
|
max-width: 460px;
|
||
|
|
position: relative;
|
||
|
|
z-index: 10;
|
||
|
|
background: var(--bg-glass-card);
|
||
|
|
backdrop-filter: blur(24px);
|
||
|
|
-webkit-backdrop-filter: blur(24px);
|
||
|
|
border: 1px solid var(--border-subtle);
|
||
|
|
border-radius: var(--radius-xl);
|
||
|
|
padding: 40px 36px;
|
||
|
|
box-shadow: var(--shadow-lg), 0 0 50px rgba(99, 102, 241, 0.12);
|
||
|
|
transition: all var(--transition-normal);
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-card:hover {
|
||
|
|
border-color: rgba(99, 102, 241, 0.25);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Auth Top Bar */
|
||
|
|
.auth-top-bar {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-brand {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-brand-icon {
|
||
|
|
width: 40px;
|
||
|
|
height: 40px;
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
background: var(--gradient-primary);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
color: #ffffff;
|
||
|
|
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-brand-name {
|
||
|
|
font-size: 1.35rem;
|
||
|
|
font-weight: 800;
|
||
|
|
letter-spacing: -0.03em;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Auth Header */
|
||
|
|
.auth-header {
|
||
|
|
margin-bottom: 28px;
|
||
|
|
text-align: left;
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-title {
|
||
|
|
font-size: 1.85rem;
|
||
|
|
font-weight: 700;
|
||
|
|
margin-bottom: 6px;
|
||
|
|
line-height: 1.2;
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-subtitle {
|
||
|
|
font-size: 0.925rem;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Quick Demo Bar */
|
||
|
|
.demo-quick-bar {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
background: rgba(99, 102, 241, 0.08);
|
||
|
|
border: 1px dashed rgba(99, 102, 241, 0.35);
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
padding: 10px 14px;
|
||
|
|
margin-bottom: 22px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.demo-quick-info {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
font-size: 0.8rem;
|
||
|
|
color: var(--color-primary-light);
|
||
|
|
}
|
||
|
|
|
||
|
|
.demo-quick-btn {
|
||
|
|
font-size: 0.775rem;
|
||
|
|
font-weight: 600;
|
||
|
|
color: #ffffff;
|
||
|
|
background: var(--color-primary);
|
||
|
|
padding: 4px 10px;
|
||
|
|
border-radius: var(--radius-sm);
|
||
|
|
transition: all var(--transition-fast);
|
||
|
|
}
|
||
|
|
|
||
|
|
.demo-quick-btn:hover {
|
||
|
|
background: var(--color-primary-hover);
|
||
|
|
transform: translateY(-1px);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Auth Form */
|
||
|
|
.auth-form {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 18px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-options {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
font-size: 0.85rem;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
margin-top: -4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-remember {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
cursor: pointer;
|
||
|
|
user-select: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-checkbox {
|
||
|
|
accent-color: var(--color-primary);
|
||
|
|
width: 16px;
|
||
|
|
height: 16px;
|
||
|
|
border-radius: 4px;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-link {
|
||
|
|
color: var(--color-primary-light);
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
|
||
|
|
.auth-link:hover {
|
||
|
|
text-decoration: underline;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Footer Switch */
|
||
|
|
.auth-footer {
|
||
|
|
margin-top: 28px;
|
||
|
|
text-align: center;
|
||
|
|
font-size: 0.9rem;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
border-top: 1px solid var(--border-subtle);
|
||
|
|
padding-top: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Step Wizard for Registration */
|
||
|
|
.register-stepper {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
margin-bottom: 24px;
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.register-stepper::before {
|
||
|
|
content: '';
|
||
|
|
position: absolute;
|
||
|
|
top: 50%;
|
||
|
|
left: 15%;
|
||
|
|
right: 15%;
|
||
|
|
height: 2px;
|
||
|
|
background: var(--border-subtle);
|
||
|
|
z-index: 1;
|
||
|
|
transform: translateY(-50%);
|
||
|
|
}
|
||
|
|
|
||
|
|
.stepper-step {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
gap: 6px;
|
||
|
|
position: relative;
|
||
|
|
z-index: 2;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stepper-badge {
|
||
|
|
width: 32px;
|
||
|
|
height: 32px;
|
||
|
|
border-radius: 50%;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
font-weight: 700;
|
||
|
|
font-size: 0.85rem;
|
||
|
|
background: var(--bg-surface-elevated);
|
||
|
|
border: 2px solid var(--border-subtle);
|
||
|
|
color: var(--text-muted);
|
||
|
|
transition: all var(--transition-normal);
|
||
|
|
}
|
||
|
|
|
||
|
|
.stepper-step.active .stepper-badge {
|
||
|
|
background: var(--color-primary);
|
||
|
|
border-color: var(--color-primary);
|
||
|
|
color: #ffffff;
|
||
|
|
box-shadow: 0 0 16px rgba(99, 102, 241, 0.45);
|
||
|
|
}
|
||
|
|
|
||
|
|
.stepper-step.completed .stepper-badge {
|
||
|
|
background: var(--color-success);
|
||
|
|
border-color: var(--color-success);
|
||
|
|
color: #ffffff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stepper-title {
|
||
|
|
font-size: 0.725rem;
|
||
|
|
font-weight: 600;
|
||
|
|
color: var(--text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.stepper-step.active .stepper-title {
|
||
|
|
color: var(--text-main);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* OTP Code Input Grid */
|
||
|
|
.otp-inputs {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
gap: 10px;
|
||
|
|
margin: 16px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.otp-box {
|
||
|
|
width: 48px;
|
||
|
|
height: 54px;
|
||
|
|
text-align: center;
|
||
|
|
font-size: 1.5rem;
|
||
|
|
font-weight: 700;
|
||
|
|
font-family: var(--font-heading);
|
||
|
|
background: var(--bg-input);
|
||
|
|
color: var(--text-main);
|
||
|
|
border: 1px solid var(--border-subtle);
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
outline: none;
|
||
|
|
transition: all var(--transition-normal);
|
||
|
|
}
|
||
|
|
|
||
|
|
.otp-box:focus {
|
||
|
|
border-color: var(--color-primary);
|
||
|
|
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
|
||
|
|
}
|
||
|
|
|
||
|
|
.otp-resend-row {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
font-size: 0.825rem;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
margin-top: 6px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.otp-resend-btn {
|
||
|
|
color: var(--color-primary-light);
|
||
|
|
font-weight: 600;
|
||
|
|
cursor: pointer;
|
||
|
|
background: none;
|
||
|
|
border: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.otp-resend-btn:disabled {
|
||
|
|
color: var(--text-muted);
|
||
|
|
cursor: not-allowed;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Grid form row */
|
||
|
|
.form-row {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 1fr 1fr;
|
||
|
|
gap: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 480px) {
|
||
|
|
.auth-card {
|
||
|
|
padding: 28px 20px;
|
||
|
|
}
|
||
|
|
.form-row {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
.otp-box {
|
||
|
|
width: 40px;
|
||
|
|
height: 48px;
|
||
|
|
font-size: 1.25rem;
|
||
|
|
}
|
||
|
|
}
|