/* EzzyFinda — Login / register layout styles (moved from layouts/auth.blade.php) */

:root {
        --ef-blue:      #0D3B8C;
        --ef-blue-dark: #071F4E;
        --ef-blue-mid:  #1A55CC;
        --ef-blue-pale: #E8F0FB;
        --ef-orange:    #F26722;
        --ef-orange-dk: #C8521A;
        --ef-surface:   #F5F7FA;
        --ef-border:    #E2E8F0;
        --ef-text:      #0D1B2A;
        --ef-muted:     #64748B;
    }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
        height: 100%;
        font-family: 'Jost', sans-serif;
        font-weight: 400;
        color: var(--ef-text);
        -webkit-font-smoothing: antialiased;
        overflow: hidden;
    }

h1,h2,h3,h4,h5,h6 { font-family: 'Jost', sans-serif; font-weight: 700; }

/* ── Two-column wrapper ────────────────────────────────── */
.auth-wrap {
        display: flex;
        height: 100vh;
        overflow: hidden;
    }

/* ── Left panel ────────────────────────────────────────── */
.auth-left {
        position: relative;
        width: 45%;
        flex-shrink: 0;
        overflow: hidden;
    }

/* Background image slider fills the panel */
.auth-left-swiper {
        position: absolute;
        inset: 0;
    }

.auth-left-swiper .swiper-slide {
        background-size: cover;
        background-position: center;
    }

/* Dark gradient overlay on the left panel */
.auth-left-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(
            160deg,
            rgba(7,31,78,.92) 0%,
            rgba(13,59,140,.82) 55%,
            rgba(7,31,78,.88) 100%
        );
    }

/* Orange accent bar along the right edge of the left panel */
.auth-left-accent {
        position: absolute;
        top: 0; right: 0; bottom: 0;
        width: 4px;
        z-index: 3;
        background: linear-gradient(180deg, var(--ef-orange) 0%, #FFB347 100%);
    }

/* Content sitting on top of overlay */
.auth-left-content {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 2.5rem 2.75rem;
    }

.auth-brand {
        font-family: 'Jost', sans-serif;
        font-weight: 900;
        font-size: 1.75rem;
        color: #fff;
        letter-spacing: -.03em;
        text-decoration: none;
    }

.auth-brand span { color: var(--ef-orange); }

.auth-left-headline {
        font-size: clamp(1.6rem, 2.8vw, 2.4rem);
        font-weight: 900;
        color: #fff;
        letter-spacing: -.025em;
        line-height: 1.18;
        margin-bottom: 1rem;
    }

.auth-left-headline em {
        color: var(--ef-orange);
        font-style: normal;
    }

.auth-left-sub {
        color: rgba(255,255,255,.7);
        font-size: .93rem;
        line-height: 1.75;
        margin-bottom: 2rem;
        font-weight: 400;
    }

.auth-feature-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 1rem;
    }

.auth-feature-icon {
        width: 36px; height: 36px;
        border-radius: 9px;
        background: rgba(255,255,255,.12);
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
        font-size: 1rem;
        color: var(--ef-orange);
    }

.auth-feature-title {
        font-size: .88rem;
        font-weight: 600;
        color: #fff;
        margin-bottom: 2px;
    }

.auth-feature-desc {
        font-size: .78rem;
        color: rgba(255,255,255,.6);
        line-height: 1.5;
    }

.auth-left-footer {
        font-size: .75rem;
        color: rgba(255,255,255,.4);
    }

/* Slide indicator dots */
.auth-swiper-pagination .swiper-pagination-bullet {
        background: rgba(255,255,255,.4);
        opacity: 1;
        width: 6px; height: 6px;
    }

.auth-swiper-pagination .swiper-pagination-bullet-active {
        background: var(--ef-orange);
        width: 20px;
        border-radius: 3px;
    }

/* ── Right panel ───────────────────────────────────────── */
.auth-right {
        flex: 1;
        background: #fff;
        overflow-y: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem 1.5rem;
    }

.auth-form-wrap {
        width: 100%;
        max-width: 420px;
    }

/* Back to site link */
.auth-back-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: .82rem;
        font-weight: 500;
        color: var(--ef-muted);
        text-decoration: none;
        margin-bottom: 2rem;
        transition: color .15s;
    }

.auth-back-link:hover { color: var(--ef-blue); }

/* Page heading */
.auth-page-title {
        font-size: 1.75rem;
        font-weight: 800;
        color: var(--ef-text);
        letter-spacing: -.02em;
        margin-bottom: .4rem;
    }

.auth-page-sub {
        font-size: .9rem;
        color: var(--ef-muted);
        margin-bottom: 1.75rem;
        font-weight: 400;
    }

/* Form controls */
.auth-label {
        font-size: .82rem;
        font-weight: 600;
        color: var(--ef-text);
        margin-bottom: .4rem;
        display: block;
    }

.auth-input {
        display: block;
        width: 100%;
        padding: .72rem 1rem;
        font-family: 'Jost', sans-serif;
        font-size: .92rem;
        font-weight: 400;
        color: var(--ef-text);
        background: var(--ef-surface);
        border: 1.5px solid var(--ef-border);
        border-radius: 10px;
        outline: none;
        transition: border-color .18s, box-shadow .18s;
    }

.auth-input:focus {
        border-color: var(--ef-blue);
        box-shadow: 0 0 0 3px rgba(13,59,140,.1);
        background: #fff;
    }

.auth-input.is-invalid {
        border-color: #DC2626;
    }

.auth-input-wrap {
        position: relative;
        margin-bottom: 1rem;
    }

.auth-input-icon {
        position: absolute;
        left: .9rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--ef-muted);
        font-size: 1rem;
        pointer-events: none;
    }

.auth-input-wrap .auth-input { padding-left: 2.6rem; }

.auth-pw-toggle {
        position: absolute;
        right: .9rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        padding: 0;
        color: var(--ef-muted);
        cursor: pointer;
        font-size: 1rem;
    }

/* Primary button */
.btn-auth {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: .78rem 1rem;
        font-family: 'Jost', sans-serif;
        font-size: .95rem;
        font-weight: 700;
        color: #fff;
        background: var(--ef-blue);
        border: none;
        border-radius: 10px;
        cursor: pointer;
        transition: background .15s, transform .1s, box-shadow .15s;
        letter-spacing: -.01em;
    }

.btn-auth:hover {
        background: var(--ef-blue-mid);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(13,59,140,.25);
    }

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

.btn-auth.orange  { background: var(--ef-orange); }

.btn-auth.orange:hover { background: var(--ef-orange-dk); box-shadow: 0 6px 20px rgba(242,103,34,.3); }

/* Divider */
.auth-divider {
        display: flex;
        align-items: center;
        gap: .75rem;
        margin: 1.25rem 0;
        color: var(--ef-muted);
        font-size: .78rem;
        font-weight: 500;
    }

.auth-divider::before,
    .auth-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--ef-border);
    }

/* Social buttons */
.btn-social {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: .68rem 1rem;
        font-family: 'Jost', sans-serif;
        font-size: .88rem;
        font-weight: 600;
        border-radius: 10px;
        cursor: pointer;
        transition: opacity .15s, box-shadow .15s;
        text-decoration: none;
        margin-bottom: .6rem;
    }

.btn-social:hover { opacity: .9; box-shadow: 0 2px 10px rgba(0,0,0,.12); }

.btn-social-google { background: #fff; color: #3C4043; border: 1.5px solid var(--ef-border); }

.btn-social-facebook { background: #1877F2; color: #fff; border: none; }

.btn-social-apple    { background: #000;    color: #fff; border: none; }

/* Alert */
.auth-alert {
        padding: .8rem 1rem;
        border-radius: 10px;
        font-size: .85rem;
        margin-bottom: 1rem;
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

.auth-alert.danger  { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

.auth-alert.success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }

.auth-alert.info    { background: var(--ef-blue-pale); color: var(--ef-blue); border: 1px solid #BFDBFE; }

/* Footer text */
.auth-footer-text {
        text-align: center;
        font-size: .84rem;
        color: var(--ef-muted);
        margin-top: 1.25rem;
    }

.auth-footer-text a {
        color: var(--ef-blue);
        font-weight: 600;
        text-decoration: none;
    }

.auth-footer-text a:hover { color: var(--ef-blue-mid); }

.auth-footer-text a.orange { color: var(--ef-orange); }

.auth-footer-text a.orange:hover { color: var(--ef-orange-dk); }

/* ── Mobile — stack columns ────────────────────────────── */
@media (max-width: 900px) {
        html, body { overflow: auto; }
        .auth-wrap { flex-direction: column; height: auto; min-height: 100vh; overflow: auto; }
        .auth-left {
            width: 100%;
            height: 220px;
            flex-shrink: 0;
        }
        .auth-left-content {
            padding: 1.5rem 1.5rem;
            justify-content: space-between;
        }
        .auth-left-headline { font-size: 1.35rem; }
        .auth-features-block { display: none; }
        .auth-left-footer { display: none; }
        .auth-right { align-items: flex-start; padding: 1.75rem 1.25rem 2.5rem; }
        .auth-left-accent { top: auto; right: 0; bottom: 0; left: 0; width: auto; height: 4px; }
    }
