/* =====================================================
   Local Connect – Admin Login (split layout)
   Loaded only by Admin/auth/login.blade.php
   ===================================================== */
.lc-login {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    background: var(--lc-bg, #f4f6fb);
}

/* ---------- Left: brand panel ---------- */
.lc-login-brand {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 56px;
    color: #fff;
    background: linear-gradient(135deg, #2f43a0 0%, var(--lc-primary, #435ebe) 50%, var(--lc-primary-2, #657cf0) 100%);
}

.lc-login-brand::before,
.lc-login-brand::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    pointer-events: none;
}

.lc-login-brand::before {
    width: 420px;
    height: 420px;
    right: -140px;
    top: -140px;
}

.lc-login-brand::after {
    width: 300px;
    height: 300px;
    left: -110px;
    bottom: -120px;
}

.lc-login-brand > * {
    position: relative;
    z-index: 1;
}

.lc-login-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lc-login-logo .mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--lc-primary, #435ebe);
    background: #fff;
    box-shadow: 0 8px 20px rgba(10, 20, 70, .25);
}

.lc-login-logo b {
    display: block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.3px;
    line-height: 1.15;
}

.lc-login-logo small {
    display: block;
    font-size: 12px;
    opacity: .8;
    line-height: 1.3;
}

.lc-login-hero h1 {
    margin: 0 0 14px;
    font-size: 2.3rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.8px;
    color: #fff;
}

.lc-login-hero p {
    margin: 0 0 32px;
    max-width: 440px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
}

.lc-login-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    max-width: 440px;
}

.lc-login-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lc-login-features .ico {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(255, 255, 255, .18);
}

.lc-login-features strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.lc-login-features span {
    display: block;
    font-size: 12.5px;
    line-height: 1.4;
    opacity: .8;
}

.lc-login-copy {
    font-size: 12.5px;
    opacity: .75;
}

/* ---------- Right: form ---------- */
.lc-login-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.lc-login-card {
    width: 100%;
    max-width: 410px;
}

.lc-login-mobile-brand {
    display: none;
}

.lc-login-card h2 {
    margin: 0 0 6px;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.5px;
    color: var(--lc-text, #25396f);
}

.lc-login-card .sub {
    margin: 0 0 28px;
    font-size: 14.5px;
    color: var(--lc-muted, #7c8db5);
}

.lc-field {
    margin-bottom: 18px;
}

.lc-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--lc-text, #25396f);
}

.lc-input {
    position: relative;
}

.lc-input > .lead-ico {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    color: var(--lc-muted, #7c8db5);
    pointer-events: none;
    transition: color .2s;
}

.lc-input input {
    width: 100%;
    height: 50px;
    padding: 0 46px 0 46px;
    border: 1.5px solid var(--lc-border, #e8edf5);
    border-radius: 13px;
    background: #fff;
    color: var(--lc-text, #25396f);
    font-size: 15px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.lc-input input::placeholder {
    color: #aab4cf;
}

.lc-input input:focus {
    border-color: var(--lc-primary, #435ebe);
    box-shadow: 0 0 0 4px rgba(67, 94, 190, .12);
}

.lc-input input:focus ~ .lead-ico,
.lc-input:focus-within > .lead-ico {
    color: var(--lc-primary, #435ebe);
}

.lc-eye {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--lc-muted, #7c8db5);
    font-size: 18px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.lc-eye:hover {
    background: #eef2ff;
    color: var(--lc-primary, #435ebe);
}

.lc-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 24px;
}

.lc-login-row .form-check {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 0;
}

.lc-login-row .form-check-input {
    float: none;
    margin: 0;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid #c9d2ea;
    cursor: pointer;
}

.lc-login-row .form-check-input:checked {
    background-color: var(--lc-primary, #435ebe);
    border-color: var(--lc-primary, #435ebe);
}

.lc-login-row .form-check-label {
    font-size: 13.5px;
    color: var(--lc-text, #25396f);
    cursor: pointer;
}

.lc-login-row a {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--lc-primary, #435ebe);
    text-decoration: none;
}

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

.lc-login-btn {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--lc-primary, #435ebe), var(--lc-primary-2, #657cf0));
    color: #fff;
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: .2px;
    box-shadow: 0 10px 22px rgba(67, 94, 190, .3);
    cursor: pointer;
    transition: transform .15s, box-shadow .2s;
}

.lc-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(67, 94, 190, .38);
}

.lc-login-btn:active {
    transform: translateY(0);
}

.lc-login-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px dashed var(--lc-border, #e8edf5);
    font-size: 12.5px;
    color: var(--lc-muted, #7c8db5);
}

.lc-login-secure i {
    color: #1ea672;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .lc-login {
        grid-template-columns: 1fr;
    }

    .lc-login-brand {
        display: none;
    }

    .lc-login-form-wrap {
        padding: 0 20px 32px;
        align-items: flex-start;
    }

    .lc-login-card {
        padding-top: 0;
    }

    /* compact gradient header replaces the left panel */
    .lc-login-mobile-brand {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0 -20px 28px;
        padding: 22px 24px;
        color: #fff;
        background: linear-gradient(135deg, #2f43a0 0%, var(--lc-primary, #435ebe) 55%, var(--lc-primary-2, #657cf0) 100%);
    }

    .lc-login-mobile-brand .mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 21px;
        color: var(--lc-primary, #435ebe);
        background: #fff;
    }

    .lc-login-mobile-brand b {
        display: block;
        font-size: 18px;
        font-weight: 800;
        line-height: 1.15;
    }

    .lc-login-mobile-brand small {
        display: block;
        font-size: 12px;
        opacity: .8;
    }

    .lc-login-card h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .lc-login-brand {
        padding: 40px 36px;
    }

    .lc-login-hero h1 {
        font-size: 1.9rem;
    }
}

@media (max-width: 380px) {
    .lc-login-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
