.customer-login-page {
    --cl-green: #16a34a;
    --cl-green-dark: #15803d;
    --cl-green-light: #ecfdf5;
    --cl-text: #232323;
    --cl-muted: #6b7280;
    --cl-border: #e5e7eb;
    --cl-bg: #ffffff;
    position: relative;
    padding: 2.5rem 1rem 4rem;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
}

.customer-login-bg {
    display: none;
}

.customer-login-container {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
}

.customer-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
    border: 1px solid var(--cl-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.customer-login-aside {
    padding: 2rem 1.75rem;
    background: #fafafa;
    border-right: 1px solid var(--cl-border);
    color: var(--cl-text);
}

.customer-login-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: var(--cl-green-light);
    border: 1px solid #bbf7d0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cl-green-dark) !important;
}

.customer-login-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cl-green);
}

.customer-login-aside h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    font-weight: 600 !important;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--cl-green) !important;
}

.customer-login-aside p {
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    font-weight: 400 !important;
    line-height: 1.55;
    color: var(--cl-muted) !important;
}

.customer-login-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.customer-login-perks li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ececec;
    font-size: 0.82rem;
    font-weight: 500 !important;
    line-height: 1.4;
    color: #4b5563 !important;
}

.customer-login-perks li > span:last-child {
    color: #4b5563 !important;
}

.customer-login-perk-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cl-green-light);
    color: var(--cl-green) !important;
    font-size: 0.88rem;
}

.customer-login-perk-icon i {
    color: var(--cl-green) !important;
}

.customer-login-card {
    border: 0;
    border-radius: 0;
    background: #fff;
    padding: 2rem 1.85rem;
    box-shadow: none;
}

.customer-login-card-head {
    margin-bottom: 1.35rem;
}

.customer-login-card-head h2 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cl-text);
    letter-spacing: -0.02em;
}

.customer-login-card-head p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--cl-muted);
    line-height: 1.5;
}

.customer-login-alert {
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    font-size: 0.84rem;
    line-height: 1.45;
}

.customer-login-alert-success {
    background: var(--cl-green-light);
    border: 1px solid #bbf7d0;
    color: #166534;
}

.customer-login-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.customer-login-form {
    display: grid;
    gap: 1rem;
}

.customer-login-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
}

.customer-login-input-wrap {
    position: relative;
}

.customer-login-input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.92rem;
    pointer-events: none;
}

.customer-login-input-wrap input {
    width: 100%;
    height: 46px;
    padding: 0 2.75rem 0 2.55rem;
    border: 1px solid var(--cl-border);
    border-radius: 12px;
    background: #fff;
    color: var(--cl-text);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: none !important;
}

.customer-login-input-wrap input::placeholder {
    color: #9ca3af;
}

.customer-login-input-wrap input:focus {
    outline: none;
    border-color: var(--cl-green);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12) !important;
}

.customer-login-input-wrap input.is-invalid {
    border-color: #ef4444;
}

.customer-login-toggle-password {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
}

.customer-login-toggle-password:hover {
    color: var(--cl-text);
    background: #f3f4f6;
}

.customer-login-error {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.76rem;
    color: #dc2626;
}

.customer-login-error-block {
    margin-top: -0.35rem;
}

.customer-login-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.customer-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    cursor: pointer;
    font-size: 0.84rem;
    color: #4b5563;
}

.customer-login-remember input {
    width: 16px;
    height: 16px;
    accent-color: var(--cl-green);
}

.customer-login-forgot {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--cl-green);
    text-decoration: none !important;
}

.customer-login-forgot:hover {
    color: var(--cl-green-dark);
    text-decoration: underline !important;
}

.customer-login-captcha {
    display: flex;
    justify-content: flex-start;
}

.customer-login-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 0.25rem;
    border: 0;
    border-radius: 10px;
    background: var(--cl-green);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.customer-login-submit:hover:not(:disabled) {
    background: var(--cl-green-dark);
    transform: none;
    box-shadow: none;
}

.customer-login-submit:disabled {
    opacity: 0.85;
    cursor: wait;
}

.customer-login-submit-spinner {
    display: none;
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: customer-login-spin 0.7s linear infinite;
}

.customer-login-submit.is-loading .customer-login-submit-spinner {
    display: inline-block;
}

@keyframes customer-login-spin {
    to { transform: rotate(360deg); }
}

.customer-login-signup {
    margin: 1.25rem 0 0;
    padding-top: 1.15rem;
    border-top: 1px solid var(--cl-border);
    text-align: center;
    font-size: 0.86rem;
    color: var(--cl-muted);
}

.customer-login-signup a {
    color: var(--cl-green);
    font-weight: 600;
    text-decoration: none !important;
}

.customer-login-signup a:hover {
    color: var(--cl-green-dark);
    text-decoration: underline !important;
}

@media (max-width: 860px) {
    .customer-login-page {
        padding: 1.5rem 0.85rem 3rem;
    }

    .customer-login-shell {
        grid-template-columns: 1fr;
    }

    .customer-login-aside {
        padding: 1.35rem 1.2rem 1.15rem;
        border-right: 0;
        border-bottom: 1px solid var(--cl-border);
    }

    .customer-login-aside h1 {
        font-size: 1.45rem;
    }

    .customer-login-perks {
        gap: 0.5rem;
    }

    .customer-login-perks li {
        padding: 0.6rem 0.7rem;
        font-size: 0.8rem;
    }

    .customer-login-card {
        padding: 1.35rem 1.15rem;
    }
}

@media (max-width: 480px) {
    .customer-login-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .customer-login-captcha {
        overflow-x: auto;
    }
}
