.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('/assets/customer/images/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;
}

.login-card {
    width: 100%;
    margin: 0;
    max-width: 620px;
    max-height: 91vh;

    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(15,23,42,.08);
}

.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;
}

.login-card h2 {
    text-align: center;
    margin-bottom: 8px;
    color: #0F172A;
}

.subtitle {
    text-align: center;
    color: #64748B;
    margin-bottom: 20px;
}

/* ==================================================
FORM
================================================== */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    font-size: 15px;
    transition: all .2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

.form-control:readonly {
    background: #f8fafc;
    color: #64748b;
}

.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;
    font-size: 20px;
}

.password-toggle svg {
    width: 18px;
    height: 18px;
    margin-top: 9px;
    stroke-width: 2;
}

/* ==================================================
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;
}

/* ==================================================
BUTTON
================================================== */
.btn-login {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 14px;
    background: linear-gradient(135deg, #0A84FF, #0066CC);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(10,132,255,.25);
}

.btn-forgot-password {
    width: 100%;
    background: #0A84FF;
    color: #FFFFFF;
    border: 0;
    padding: 12px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.btn-forgot-password:hover {
    background: #0066CC;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(10,132,255,.25);
}

/* ==================================================
SUPPORT BOX
================================================== */
.support-box {
    margin-top: 15px;
    padding: 10px;
    border-radius: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.support-box strong {
    display: block;
    margin-bottom: 8px;
}

.support-box p {
    margin: 0;
    color: #64748B;
    font-size: 14px;
}

.portal-footer {
    margin-top: 10px;
    text-align: center;
    color: #94A3B8;
    font-size: 14px;
}

/* ==================================================
ALERT
================================================== */
.alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #dcfce7;
    color: #166534;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-danger ul {
    margin: 0;
    padding-left: 18px;
}

/* ==================================================
RESPONSIVE
================================================== */
@media (max-width: 992px) {

  .login-wrapper {
    flex-direction: column;
  }

  .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;
  }
}

/* ==================================================
FORGOT PASSWORD
================================================== */
.auth-links {
    margin-top: 10px;
    text-align: center;
}

.back-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}
