/* ==========================================================================
   Correctifs : les CSS d'origine reposent sur du CSS-in-JS (styled-components)
   dont les feuilles sont injectées à l'exécution. On rétablit ici l'essentiel
   pour que la maquette statique s'affiche comme le vrai site.
   ========================================================================== */

:root {
    --stable-bg: #ffffff;
    --contrast-bg: #f5f5f5;
}

html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: "Sarabun", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #000;
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin: 0;
}

button {
    font: inherit;
    cursor: pointer;
}

/* ---- Illustration de la carte (écran identifiant) ---- */
._image_13bm7_10 {
    display: block;
    width: 224px;
    height: 140px;
    margin: 1.25rem auto;
}

/* ---- Mise en page du formulaire ---- */
._container_13bm7_1,
._container_1s3pj_5 {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

._titleContainer_13bm7_16 {
    text-align: center;
    margin-bottom: 1rem;
}

._subTitle_13bm7_32 {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #4a4a4a;
    text-align: center;
}

._signInContainer_13bm7_42 {
    margin-top: 0.5rem;
}

/* ---- Boutons ---- */
._button_97edc65 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: filter 0.15s ease;
}

._button_97edc65:hover:not(:disabled) {
    filter: brightness(0.95);
}

._button_97edc65[data-variant="filled"] {
    color: #fff;
    background: #ff5f00;
    border-color: #ff5f00;
}

._button_97edc65[data-variant="filled"]:disabled {
    opacity: 0.78;
    cursor: not-allowed;
}

._button_97edc65[data-variant="ghost"] .icon {
    width: 20px;
    height: 20px;
    opacity: 0.85;
}

._notCustomerButton_17k6b_92 .icon {
    display: none;
}

._button_97edc65[data-variant="outline"] {
    color: #000;
    background: #fff;
    border-color: #c9c9c9;
    width: auto;
}

._button_97edc65[data-variant="ghost"] {
    color: #000;
    background: transparent;
    border-color: transparent;
    width: auto;
}

._button_97edc65[data-size="lg"] {
    margin-top: 1rem;
}

.icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

/* ---- Options secondaires de l'écran login ---- */
._additionalOptions_13bm7_51 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.sc-eFejbY label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.sc-bkkgYE,
.sc-fotPuT,
.sc-iNGDOz {
    background: transparent;
    border: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #000;
}

._notCustomer_17k6b_70 {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e3e3e3;
    text-align: center;
}

._notCustomerTitle_17k6b_87 {
    margin-bottom: 0.75rem;
    font-weight: 600;
}

._notCustomerButton_17k6b_92 {
    width: auto;
}

/* ---- Bannière info ---- */
._banner_ac9f04b {
    display: block;
    margin-top: 1.5rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    background: #f2f4f7;
    font-size: 0.85rem;
    text-align: left;
}

._banner_ac9f04b ._icon_60b75dc {
    width: 22px;
    height: 22px;
    display: block;
    margin-bottom: 0.4rem;
    color: #2563eb;
    fill: currentColor;
    background: #dbe6fb;
    border-radius: 4px;
    padding: 2px;
}

._bannerFirstLine_fd6qs_1 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* ---- Pied de page ---- */
._additionalOptionsContainer_17k6b_62 {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

/* ---- En-tête ---- */
._header_17k6b_15 {
    border-bottom: 1px solid #e3e3e3;
    padding: 0.75rem 1rem;
}

._headerContainer_17k6b_24 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    margin: 0 auto;
}

._brandNameContainer_17k6b_1 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

._logoContainer_17k6b_39 {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #000;
}

._separator_17k6b_56 {
    width: 1px;
    height: 22px;
    background: #d4d4d4;
}

._customerSpace_17k6b_9 {
    font-size: 0.95rem;
    font-weight: 600;
}

._main_17k6b_100 {
    padding: 2rem 1rem 3rem;
}

._content_17k6b_96 {
    max-width: 640px;
    margin: 0 auto;
}

._skipLinkContainer_f39gn_1 a {
    position: absolute;
    left: -9999px;
}

._skipLinkContainer_f39gn_1 a:focus {
    left: 1rem;
    top: 1rem;
    z-index: 10;
    padding: 0.5rem;
    background: #fff;
}

@media (max-width: 480px) {
    ._main_17k6b_100 {
        padding: 1.25rem 0.75rem 2rem;
    }

    ._image_13bm7_10 {
        max-width: 280px;
    }
}

/* ---- Formulaire email + mot de passe ---- */
.sc-efQVjI {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 0.5rem;
}

._field {
    border: 1px solid #b5b5b5;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    background: #fff;
}

._field:focus-within {
    border-color: #ff5f00;
    box-shadow: 0 0 0 2px rgba(255, 95, 0, 0.18);
}

._field .sc-jcFiBM {
    display: block;
    font-size: 0.7rem;
    color: #5a5a5a;
    letter-spacing: 0.02em;
}

._field .sc-cidDfp {
    display: block;
    width: 100%;
    border: 0;
    outline: 0;
    padding: 0.3rem 0;
    font-family: inherit;
    font-size: 1.05rem;
    background: transparent;
    color: #000;
}

._passwordRow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

._eye {
    flex: 0 0 auto;
    display: inline-flex;
    padding: 0;
    border: 0;
    background: none;
    color: #3c3c3c;
    cursor: pointer;
}

._formError {
    font-size: 0.85rem;
    color: #c62828;
}

._formError[hidden] {
    display: none;
}

/* ---- Indicateur de chargement du bouton ---- */
#submitLabel[hidden],
._loader[hidden] {
    display: none;
}

._loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: _spin 0.7s linear infinite;
}

@keyframes _spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    ._loader { animation-duration: 1.6s; }
}
