/*
|--------------------------------------------------------------------------
| LOGIN CSS
|--------------------------------------------------------------------------
*/
.login-wrapper {
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

/* ---------------------------------------------------------------
   Left Panel
   ------------------------------------------------------------ */
.login-left {
    width: 55%;
    position: relative;

    background:
      linear-gradient(
        rgba(255,255,255,.35),
        rgba(255,255,255,.35)
      ),
      url('/images/customer/login-bg.jpg');

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

.login-overlay {
    width: 100%;
    max-width: 560px;
    padding: 40px;
}

.brand {
    margin-bottom: 40px;
}

.brand-logo {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: linear-gradient(135deg, #0A84FF, #0066CC);

    color: white;
    font-size: 24px;
    font-weight: 700;

    margin-bottom: 0;
}

.brand h1 {
    margin: 0;
    font-size: 38px;
    font-weight: 800;
    color: #0F172A;
}

.brand h1 span {
    color: #0A84FF;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 24px;
}

.tagline {
    margin-top: 0;
    color: #64748B;
    font-size: 15px;
}

.hero-content h2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0F172A;
}

.hero-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 16px;
    font-weight: 500;
    color: #334155;
}

.feature-item::before {
    content: "✓";

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #DBEAFE;
    color: #2563EB;

    font-size: 13px;
    font-weight: bold;
}

/* ---------------------------------------------------------------
   Right Panel
   ------------------------------------------------------------ */
.login-right {
    width: 45%;
    background: #F8FAFC;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;

    min-height: 100vh;
    overflow-y: auto;
}

.login-card {
    width: 100%;
    margin: 0;
    max-width: 480px;

    background: white;
    border-radius: 24px;
    padding: 15px 30px;
    box-shadow: 0 20px 40px rgba(15,23,42,.08);
}

.login-card h2 {
    text-align: center;
    margin-bottom: 8px;
    color: #0F172A;
}

.login-avatar {
    width: 80px;
    height: 80px;

    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0A84FF, #0066CC);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: #64748B;
    margin-bottom: 20px;
}

/* ---------------------------------------------------------------
   Form
   ------------------------------------------------------------ */
.password-wrapper {
    position: relative;
}

.password-toggle {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    right: 16px;
    top: 45%;
    transform: translateY(-50%);

    border: none;
    background: transparent;
    cursor: pointer;

    color: #64748b;
}

.auth-submit {
    width: 100%;
}

/* ---------------------------------------------------------------
   Options
   ------------------------------------------------------------ */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.login-options a {
    text-decoration: none;
    color: #2563EB;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------------------------------------------------------------
   Authentication Messages
   ------------------------------------------------------------ */
.auth-message-icon {
    width: 72px;
    height: 72px;
    margin: 24px auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

.auth-message-icon.warning {
    background: #FEF3C7;
    color: #D97706;
}

.auth-message-text {
    margin: 0 0 24px;
    color: #64748B;
    line-height: 1.6;
}

.auth-message-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
}

.auth-message-actions .back-link {
    white-space: nowrap;
}

/* ---------------------------------------------------------------
   Authentication Links
   ------------------------------------------------------------ */
.auth-links {
    margin-top: 10px;
    text-align: center;
}

.back-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------------
   Support Box
   ------------------------------------------------------------ */
.support-box {
    margin-top: 15px;
    padding: 10px;
    border-radius: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.support-box p {
    margin: 0;
    color: #64748B;
    font-size: 14px;
}

/* ---------------------------------------------------------------
   Portal Footer
   ------------------------------------------------------------ */
.portal-footer {
    margin-top: 10px;
    text-align: center;
    color: #94A3B8;
    font-size: 14px;
}

/* ---------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 992px) {
    .login-left {
        width: 100%;
        min-height: 380px;
    }

    .login-right {
        width: 100%;
        padding: 30px 20px;
    }

    .hero-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .login-left {
        display: none;
    }

    .login-right {
        width: 100%;
        min-height: 100vh;
    }

    .login-card {
        padding: 30px 24px;
    }
}
