/* Pages de connexion — extrait des vues Blade. */

/* ── auth ── */
html,
body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
}

body {
    background:
        radial-gradient(circle at top left, rgba(63, 169, 234, 0.12), transparent 32rem),
        linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
}

.auth-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(1rem, 3vw, 2rem);
    display: flex;
    align-items: center;
}

.auth-shell {
    width: min(1180px, 100%);
    min-height: min(720px, calc(100vh - 4rem));
    margin: 0 auto;
    overflow: hidden;

    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);

}

.auth-shell > .row,
.auth-shell > .row > [class*="col-"] {
    min-height: inherit;
}

.auth-form-panel {
    min-height: inherit;
    padding: clamp(1.5rem, 5vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: min(100%, 420px);
}

.auth-logo img {
    max-width: 300px;
    height: auto;
}

.auth-copy {
    max-width: 34rem;
}

.auth-image-card {
    position: relative;
    min-height: inherit;
    background: #18333D;
}

.auth-image-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.auth-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: clamp(2rem, 4vw, 3.5rem);

    color: #fff;
}

.auth-input {
    min-height: 46px;
}

[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .auth-copy,
[dir="rtl"] .auth-logo {
    text-align: right;
}

@media (max-width: 991.98px) {
    .auth-wrapper {
        align-items: stretch;
        padding: 0;
    }

    .auth-shell {
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-form-panel {
        min-height: 100dvh;
        padding: clamp(1.25rem, 7vw, 2.5rem);
    }
}

@media (max-width: 575.98px) {
    .auth-card {
        width: 100%;
    }

    .auth-logo,
    .auth-copy {
        text-align: center;
    }

    .auth-submit {
        min-height: 48px;
    }
}
