552 lines
9.0 KiB
CSS
552 lines
9.0 KiB
CSS
.auth-page-shell,
|
|
.auth-shell {
|
|
padding: calc(var(--ion-safe-area-top, 0px) + 18px) 20px
|
|
calc(var(--ion-safe-area-bottom, 0px) + 28px);
|
|
}
|
|
|
|
.auth-content {
|
|
--background: linear-gradient(180deg, #fafafa 0%, #f6f1ff 52%, #f4f0ff 100%);
|
|
}
|
|
|
|
.auth-shell--centered {
|
|
min-height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.auth-brand-block,
|
|
.auth-brand-intro {
|
|
background: transparent;
|
|
border-radius: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.auth-card {
|
|
background: rgba(255, 255, 255, 0.94);
|
|
border-radius: 24px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.auth-card--elevated {
|
|
box-shadow:
|
|
0 24px 60px rgba(109, 40, 217, 0.1),
|
|
0 8px 20px rgba(17, 24, 39, 0.05);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.auth-social-buttons,
|
|
.auth-form-fields {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.auth-form-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
.auth-divider {
|
|
color: rgba(17, 24, 39, 0.45);
|
|
font-size: 12px;
|
|
text-align: center;
|
|
position: relative;
|
|
margin: 20px 0 16px;
|
|
}
|
|
|
|
.auth-divider span {
|
|
background: rgba(255, 255, 255, 0.94);
|
|
padding: 0 12px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.auth-divider::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
background: rgba(17, 24, 39, 0.08);
|
|
}
|
|
|
|
.field-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.auth-field-label {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: rgba(17, 24, 39, 0.66);
|
|
}
|
|
|
|
.auth-text-input {
|
|
width: 100%;
|
|
min-height: 52px;
|
|
padding: 0 16px;
|
|
border: 1px solid rgba(17, 24, 39, 0.08);
|
|
border-radius: 12px;
|
|
background: #f8f7fb;
|
|
font-size: 15px;
|
|
color: #111827;
|
|
outline: none;
|
|
box-sizing: border-box;
|
|
transition:
|
|
border-color 0.18s ease,
|
|
background 0.18s ease,
|
|
box-shadow 0.18s ease;
|
|
}
|
|
|
|
.auth-text-input::placeholder {
|
|
color: rgba(17, 24, 39, 0.38);
|
|
}
|
|
|
|
.auth-text-input:focus {
|
|
border-color: rgba(109, 40, 217, 0.4);
|
|
background: #ffffff;
|
|
box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.08);
|
|
}
|
|
|
|
.auth-text-input:disabled {
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.auth-text-input.has-error {
|
|
border-color: rgba(220, 38, 38, 0.28);
|
|
background: rgba(254, 242, 242, 0.8);
|
|
}
|
|
|
|
.auth-password-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.auth-password-wrap .auth-text-input {
|
|
padding-right: 48px;
|
|
}
|
|
|
|
.auth-password-toggle {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 12px;
|
|
transform: translateY(-50%);
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 12px;
|
|
border: none;
|
|
background: transparent;
|
|
color: rgba(17, 24, 39, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
}
|
|
|
|
.auth-password-toggle ion-icon {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.auth-field-error {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: #dc2626;
|
|
}
|
|
|
|
.auth-submit-btn {
|
|
width: 100%;
|
|
min-height: 52px;
|
|
border: none;
|
|
border-radius: 999px;
|
|
background: #6d28d9;
|
|
color: #ffffff;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 0.18s ease,
|
|
opacity 0.18s ease;
|
|
}
|
|
|
|
.auth-submit-btn:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.auth-inline-message {
|
|
border-radius: 12px;
|
|
background: rgba(220, 38, 38, 0.08);
|
|
color: #dc2626;
|
|
padding: 12px 14px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
}
|
|
|
|
.auth-meta-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.auth-meta-hint {
|
|
font-size: 12px;
|
|
color: rgba(17, 24, 39, 0.45);
|
|
}
|
|
|
|
.auth-link-button {
|
|
border: none;
|
|
background: transparent;
|
|
padding: 0;
|
|
color: #6d28d9;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.auth-eyebrow {
|
|
margin: 0 0 4px 0;
|
|
font-size: 22px;
|
|
font-weight: 800;
|
|
color: #6d28d9;
|
|
line-height: 1.2;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.auth-heading {
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
color: #111827;
|
|
line-height: 1.12;
|
|
letter-spacing: -0.02em;
|
|
margin: 0;
|
|
}
|
|
|
|
.auth-subtitle {
|
|
font-size: 15px;
|
|
font-weight: 400;
|
|
color: rgba(17, 24, 39, 0.62);
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
}
|
|
|
|
.auth-mode-toggle {
|
|
background: #f7f4fb;
|
|
border-radius: 999px;
|
|
padding: 6px;
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.auth-toggle-pill {
|
|
flex: 1;
|
|
text-align: center;
|
|
padding: 11px 12px;
|
|
border: none;
|
|
border-radius: 999px;
|
|
font-size: 14px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.auth-toggle-pill.active {
|
|
background: #ffffff;
|
|
font-weight: 700;
|
|
color: #111827;
|
|
box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
|
|
}
|
|
|
|
.auth-toggle-pill.inactive {
|
|
background: transparent;
|
|
font-weight: 600;
|
|
color: rgba(17, 24, 39, 0.5);
|
|
}
|
|
|
|
.social-auth-button {
|
|
width: 100%;
|
|
min-height: 52px;
|
|
padding: 0 16px;
|
|
border: none;
|
|
border-radius: 999px;
|
|
background: #f8f7fb;
|
|
color: #111827;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition:
|
|
background 0.18s ease,
|
|
opacity 0.18s ease;
|
|
}
|
|
|
|
.social-auth-button:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.social-auth-button__icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.social-auth-button__label {
|
|
line-height: 1;
|
|
}
|
|
|
|
.login,
|
|
.register {
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.otp-input-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.otp-slot {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
}
|
|
|
|
.avatar-picker-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.avatar-preview-circle {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.auth-form-card {
|
|
background: #ffffff;
|
|
border-radius: 24px;
|
|
padding: 20px;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.auth-field {
|
|
--background: #fafafa;
|
|
--border-radius: 12px;
|
|
--padding-start: 16px;
|
|
--padding-end: 16px;
|
|
}
|
|
|
|
.auth-helper-text {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--ion-color-danger);
|
|
margin-left: 16px;
|
|
margin-top: -6px;
|
|
}
|
|
|
|
.auth-status-text {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.auth-primary-btn {
|
|
--background: var(--ion-color-primary);
|
|
--border-radius: 999px;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
margin-top: 8px;
|
|
height: 52px;
|
|
}
|
|
|
|
.auth-social-btn {
|
|
--background: #fafafa;
|
|
--border-radius: 999px;
|
|
--box-shadow: none;
|
|
--color: var(--ion-color-dark);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
height: 52px;
|
|
}
|
|
|
|
.auth-footer {
|
|
background: transparent;
|
|
margin: 16px 0 0 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.auth-footer-text {
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
color: var(--ion-color-medium);
|
|
}
|
|
|
|
.auth-footer-link {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: var(--ion-color-primary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.auth-intro-block {
|
|
background: transparent;
|
|
margin: 8px 0 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.auth-icon-container {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 24px;
|
|
background: rgba(109, 40, 217, 0.12);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--ion-color-primary);
|
|
font-size: 26px;
|
|
}
|
|
|
|
.auth-intro-heading {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: var(--ion-color-dark);
|
|
margin: 0;
|
|
}
|
|
|
|
.auth-intro-body {
|
|
font-size: 15px;
|
|
font-weight: 400;
|
|
color: var(--ion-color-medium);
|
|
margin: 0;
|
|
}
|
|
|
|
.auth-otp-row {
|
|
background: #ffffff;
|
|
border-radius: 24px;
|
|
padding: 20px;
|
|
margin: 0 0 20px;
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.auth-otp-input {
|
|
width: calc((100% - 60px) / 6);
|
|
height: 56px;
|
|
border-radius: 12px;
|
|
background: #fafafa;
|
|
border: 1px solid transparent;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: var(--ion-color-dark);
|
|
text-align: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.auth-otp-input:focus {
|
|
outline: none;
|
|
background: rgba(109, 40, 217, 0.1);
|
|
border-color: var(--ion-color-primary);
|
|
color: var(--ion-color-primary);
|
|
}
|
|
|
|
.auth-action-area {
|
|
background: transparent;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.auth-resend-btn {
|
|
--background: transparent;
|
|
--color: var(--ion-color-primary);
|
|
--box-shadow: none;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.auth-resend-btn[disabled] {
|
|
--color: #9ca3af;
|
|
}
|
|
|
|
.auth-success-card {
|
|
background: #ffffff;
|
|
border-radius: 24px;
|
|
padding: 20px;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
align-items: center;
|
|
}
|
|
|
|
.auth-success-title {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--ion-color-dark);
|
|
margin: 0;
|
|
}
|
|
|
|
.auth-success-body {
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
color: var(--ion-color-medium);
|
|
margin: 0;
|
|
}
|
|
|
|
.setup-avatar-container {
|
|
width: 88px;
|
|
height: 88px;
|
|
border-radius: 24px;
|
|
background: rgba(109, 40, 217, 0.1);
|
|
margin: 0 auto 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.setup-avatar-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.setup-avatar-icon {
|
|
font-size: 32px;
|
|
color: var(--ion-color-primary);
|
|
}
|
|
|
|
.setup-avatar-input {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
}
|