/* LEFT PANEL */
.left-panel-lcp {
    position: relative;
    background: url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=600&q=80")
        center/cover no-repeat;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 24px 28px;
}
.left-panel-lcp::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.55) 100%
    );
}
.left-panel-lcp .tagline {
    position: relative;
    z-index: 1;
    color: #fff;
    font-style: italic;
    font-size: 1.35rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.left-panel-lcp .benefits {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}
.left-panel-lcp .benefits li {
    color: #fff;
    font-size: 0.82rem;
    padding: 4px 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}
.left-panel-lcp .benefits li::before {
    content: "•";
    font-size: 1rem;
    line-height: 1.3;
    flex-shrink: 0;
}

/* RIGHT PANEL */
.right-panel-lcp {
    padding: 36px 36px 32px;
    background: #fff;
    position: relative;
}

.modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.btn-close-custom {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #555;
    cursor: pointer;
    line-height: 1;
    padding: 4px 6px;
}
.btn-close-custom:hover {
    color: #000;
}

.sign-in-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.title-underline {
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg, #1a56db, #3b82f6);
    border-radius: 2px;
    margin-bottom: 20px;
}

/* Alerts */
.showalert,
.showerralert {
    display: none;
    font-size: 0.83rem;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

/* Inputs */
.form-control-custom {
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 14px 10px 42px;
    font-size: 0.92rem;
    color: #374151;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    background-color: #fff;
    width: 100%;
    outline: none;
}
.form-control-custom::placeholder {
    color: #9ca3af;
}
.form-control-custom:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.form-control-custom.error {
    border-color: #ef4444 !important;
}

.input-wrapper {
    position: relative;
    margin-bottom: 4px;
}
.input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 0.88rem;
}

/* jQuery Validate error labels */
span.error,
label.error {
    color: #ef4444;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 8px;
    margin-top: 2px;
}

/* OTP & T&C — hidden by default */
.otpshow {
    display: none;
}

.acceptloginTnC {
    display: none;
    margin-top: 6px;
    margin-bottom: 14px;
}
.acceptloginTnC label {
    font-size: 0.78rem;
    color: #374151;
    cursor: pointer;
}
.acceptloginTnC a {
    color: #1a56db;
}

/* Buttons */
.btn-getotp {
    width: 100%;
    padding: 11px;
    background: #22c55e;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.1s;
    margin-bottom: 10px;
}
.btn-getotp:hover {
    background: #16a34a;
    transform: translateY(-1px);
}
.btn-getotp:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submitotp {
    width: 100%;
    padding: 11px;
    background: #1a56db;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.1s;
    margin-bottom: 12px;
    display: none;
}
.btn-submitotp:hover {
    background: #1e40af;
    transform: translateY(-1px);
}
.btn-submitotp:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* bottom section divider */
.login-extra-info {
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
    margin-top: 16px;
}

/* support text */
.login-support {
    text-align: center;
    font-size: 0.83rem;
    color: #4b5563;
    margin-bottom: 12px;
}

.login-support a {
    color: #16a34a;
    font-weight: 600;
    text-decoration: none;
}

.login-support a:hover {
    text-decoration: underline;
}

/* safety section */
.login-safety-lgc {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.82rem;
    color: #374151;
    text-align: center;
    margin-top: 6px;
}

.login-safety-lgc span {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f0fdf4;
    padding: 3px 8px;
    border-radius: 6px;
}

.login-safety-lgc i {
    color: #16a34a;
    font-size: 0.8rem;
}

.login-safety-lgc .dot {
    display: none;
}

@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px;
        max-width: 100%;
    }

    .modal-content {
        border-radius: 14px;
    }

    .right-panel-lcp {
        padding: 24px 20px 20px;
    }

    .sign-in-title {
        font-size: 1.4rem;
    }

    .title-underline {
        margin-bottom: 16px;
    }

    .form-control-custom {
        font-size: 0.9rem;
        padding: 10px 12px 10px 40px;
    }

    .btn-getotp,
    .btn-submitotp {
        font-size: 0.9rem;
        padding: 12px;
    }

    .login-safety-lgc {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
    }

    .login-safety-lgc span {
        font-size: 0.75rem;
        padding: 5px 10px;
        border-radius: 20px;
        background: #ecfdf5;
        border: 1px solid #d1fae5;
    }

    .login-safety-lgc i {
        font-size: 0.75rem;
    }

    .login-support {
        font-size: 0.78rem;
        margin-bottom: 10px;
    }

    .btn-getotp {
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(34, 197, 94, 0.25);
    }
}
