/* AUTH MODULE STYLES */

/* Social Auth Buttons */
.auth-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.btn-social {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #FFFFFF;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-social:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.btn-social svg {
    width: 20px;
    height: 20px;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.auth-divider::before {
    margin-right: 10px;
}

.auth-divider::after {
    margin-left: 10px;
}

/* Auth Progressive Modal Styles */
.auth-register-modal {
    width: 440px;
    max-width: 90%;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    animation: authModalFadeScale 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    z-index: 104;
}

@keyframes authModalFadeScale {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.auth-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0 24px;
    border-bottom: none;
}

.auth-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin: 0;
}

.auth-modal-subtitle {
    margin-top: 6px;
    color: #64748b;
    font-size: 14px;
    text-align: center;
    margin-bottom: 24px;
}

.auth-modal-body {
    padding: 0 24px 24px 24px;
}

.auth-modal-back,
.auth-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    position: absolute;
    top: 14px;
}

.auth-modal-back {
    left: 14px;
}

.auth-modal-close {
    right: 14px;
}

.auth-modal-back:hover,
.auth-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.auth-steps-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.auth-steps-container {
    display: flex;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    width: 300%;
}

.auth-step {
    width: 33.333333%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.auth-form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 6px;
}

.auth-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
    transition: all 0.2s;
    background: #f8fafc;
    box-sizing: border-box;
}

.auth-form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.auth-input-prefix-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-prefix {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.auth-input-with-prefix {
    padding-left: 36px;
}

.auth-btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    justify-content: center;
    letter-spacing: 0.2px;
    transition: transform 0.1s, background-color 0.2s;
}

.auth-btn-primary:active {
    transform: translateY(1px);
}

.auth-btn-pwd-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-btn-pwd-toggle:hover svg {
    stroke: #0f172a;
}

.auth-error-msg {
    color: #dc2626;
    font-size: 13px;
    margin-top: 8px;
    margin-bottom: 12px;
    display: none;
}

.auth-form-actions {
    margin-top: 20px;
}

.auth-footer-link {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    margin-top: 16px;
}

.auth-link {
    color: #0f172a;
    font-weight: 500;
    text-decoration: underline;
}

.auth-link:hover {
    color: var(--primary);
}

.auth-text-center {
    text-align: center;
}

.auth-input-lg {
    font-size: 18px;
    letter-spacing: 4px;
    font-weight: 600;
}

.auth-help-text {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
}

.auth-text-bold {
    font-weight: 600;
    color: #0f172a;
}

.auth-country-hint {
    display: none;
    font-size: 11px;
    color: #94A3B8;
    margin-top: 6px;
}

.auth-field-stack-gap {
    margin-top: 14px;
}

.auth-danger-zone {
    margin-top: 40px;
    border: 1px solid #fecaca;
    background: #fff7f7;
    border-radius: 10px;
    padding: 16px;
}

.auth-danger-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #991b1b;
}

.auth-danger-copy {
    font-size: 13px;
    color: #7f1d1d;
    margin: 0 0 14px;
}

.auth-danger-actions {
    display: flex;
    justify-content: flex-end;
}

.auth-btn-danger {
    background: #dc2626;
    color: #fff;
}
