/* Premium Auth Styling - CashMore */
:root {
    --auth-primary: #FF6B00;
    --auth-primary-dark: #E66000;
    --auth-primary-soft: rgba(255, 107, 0, 0.1);
    --auth-gradient: linear-gradient(135deg, #FF6B00 0%, #FF9E5E 100%);
    --auth-bg-gradient: radial-gradient(circle at top right, rgba(255, 107, 0, 0.08), transparent 40%),
        radial-gradient(circle at bottom left, rgba(255, 107, 0, 0.08), transparent 40%);
    --auth-glass: rgba(255, 255, 255, 0.9);
    --auth-glass-border: rgba(255, 255, 255, 0.4);
    --auth-text-main: #1A1A1A;
    --auth-text-muted: #64748B;
    --auth-radius: 24px;
    --auth-radius-sm: 12px;
}

.auth-layout {
    font-family: 'Outfit', sans-serif;
    color: var(--auth-text-main);
    background-color: #F8FAFC;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--auth-bg-gradient);
    padding: 24px;
}

.glass-card {
    background: var(--auth-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--auth-glass-border);
    border-radius: var(--auth-radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
}

.glass-card.narrow {
    max-width: 450px;
}

.auth-form-side {
    flex: 1 1 500px;
    padding: 60px;
    display: flex;
    flex-direction: column;
}

.auth-art-side {
    flex: 1 1 400px;
    background: var(--auth-gradient);
    padding: 60px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-art-side::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.auth-art-side::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.text-logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--auth-primary);
    text-decoration: none !important;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--auth-text-main);
}

.auth-subtitle {
    color: var(--auth-text-muted);
    font-size: 16px;
    margin-bottom: 40px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--auth-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: var(--auth-radius-sm);
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.2s ease;
    height: auto;
}

.form-control:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px var(--auth-primary-soft);
    outline: none;
}

.btn-auth {
    background: var(--auth-gradient);
    color: white;
    border: none;
    border-radius: var(--auth-radius-sm);
    padding: 14px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 12px;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(255, 107, 0, 0.4);
    color: white;
}

.btn-auth:active {
    transform: translateY(0);
}

.btn-auth:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-auth.loading {
    color: transparent !important;
    position: relative;
    pointer-events: none;
}

.btn-auth.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spinner 0.6s linear infinite;
}

@keyframes auth-spinner {
    to {
        transform: rotate(360deg);
    }
}

.auth-link {
    color: var(--auth-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

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

.alert-auth {
    background: #FFF5F5;
    border-left: 4px solid #F56565;
    color: #C53030;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 24px;
}

.account-type-toggle {
    display: flex;
    background: #F1F5F9;
    padding: 4px;
    border-radius: 100px;
    margin-bottom: 30px;
}

.account-type-btn {
    flex: 1;
    border: none;
    padding: 10px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    color: var(--auth-text-muted);
}

.account-type-btn.active {
    background: white;
    color: var(--auth-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {
    .auth-art-side {
        display: none;
    }

    .auth-form-side {
        padding: 40px 30px;
    }
}