/**
 * Auth CSS (Login Style CRM)
 */

/* ============================================
   AUTH PAGE LAYOUT
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at top, rgba(247, 167, 54, 0.08), transparent),
        radial-gradient(ellipse at bottom, rgba(20, 20, 20, 0.05), transparent),
        #f2f2f3;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ============================================
   LEFT PANEL (Dark Brand)
   ============================================ */
.auth-left {
    background: linear-gradient(135deg, #151515 0%, #2b2b2b 100%);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(247, 167, 54, 0.15), transparent);
    border-radius: 50%;
}

.auth-brand {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
    position: relative;
}

.auth-brand-icon {
    width: 48px;
    height: 48px;
    background: rgba(247, 167, 54, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    z-index: 1;
    position: relative;
}

.auth-description {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    z-index: 1;
    position: relative;
}

/* ============================================
   RIGHT PANEL (Form)
   ============================================ */
.auth-right {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-lang-switch {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.auth-form-title {
    font-size: 28px;
    font-weight: 700;
    color: #141414;
    margin-bottom: 8px;
}

.auth-form-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 32px;
}

.auth-form {
    width: 100%;
}

.auth-form .form-group {
    margin-bottom: 24px;
}

.auth-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    margin-top: 8px;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* ============================================
   ALERTS ON AUTH PAGE
   ============================================ */
.auth-right .alert {
    margin-bottom: 24px;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .auth-left {
        padding: 40px 30px;
    }

    .auth-right {
        padding: 40px 30px;
    }

    .auth-brand {
        font-size: 28px;
    }

    .auth-title {
        font-size: 24px;
    }

    .auth-form-title {
        font-size: 24px;
    }

    .auth-lang-switch {
        margin-bottom: 18px;
    }
}