.sa-login-page {
    color: #343434;
    background: #ffffff;
    font-family: inherit;
}

.sa-login-page * {
    box-sizing: border-box;
}

.sa-login-container {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.sa-login-hero {
    position: relative;
    padding: 30px 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(63, 192, 149, 0.16), transparent 34%),
        radial-gradient(circle at 78% 28%, rgba(63, 192, 149, 0.11), transparent 36%),
        linear-gradient(180deg, #f3fbf8 0%, #ffffff 94%);
    border-bottom: 1px solid #e5edf0;
    overflow: hidden;
}

.sa-login-hero::before {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    right: -260px;
    top: 40px;
    border: 1px solid rgba(63, 192, 149, 0.13);
    pointer-events: none;
}

.sa-login-hero::after {
    content: "";
    position: absolute;
    width: 980px;
    height: 980px;
    border-radius: 50%;
    right: 140px;
    top: 190px;
    border: 1px solid rgba(63, 192, 149, 0.10);
    pointer-events: none;
}

.sa-login-grid {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 72px;
    align-items: start;
}

.sa-login-left {
    max-width: 650px;
}

.sa-login-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(63, 192, 149, 0.14);
    color: #3fc095;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 22px;
}

.sa-login-badge-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sa-login-badge svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #3fc095;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sa-login-left h1 {
    max-width: 680px;
    margin: 0;
    color: #343434;
    font-size: 40px;
    line-height: 1.06;
    letter-spacing: -0.055em;
    font-weight: 700;
}

.sa-login-intro {
    margin: 24px 0 0;
    color: #343434;
    font-size: 14px;
    line-height: 1.75;
    max-width: 610px;
}

.sa-login-checklist {
    margin-top: 36px;
    display: grid;
    gap: 16px;
}

.sa-login-check {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sa-login-check span {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #3fc095;
    box-shadow: 0 10px 22px rgba(63, 192, 149, 0.22);
}

.sa-login-check svg {
    width: 10px;
    height: 10px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sa-login-check p {
    margin: 0;
    color: #343434;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.sa-login-card {
    position: relative;
    z-index: 2;
    width: 500px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(229, 237, 240, 0.95);
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    backdrop-filter: blur(10px);
}

.sa-login-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(63, 192, 149, 0.13));
    z-index: -1;
}

.sa-login-card-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(63, 192, 149, 0.14);
}

.sa-login-card-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #3fc095;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sa-login-card-title {
    text-align: center;
    margin-bottom: 28px;
}

.sa-login-card-title h2 {
    margin: 0;
    color: #343434;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.sa-login-card-title p {
    margin: 10px auto 0;
    max-width: 330px;
    color: #343434;
    font-size: 14px;
    line-height: 1.55;
}

/* Ultimate Member */
.sa-login-form .um:not(.um-admin) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.sa-login-form .um-form {
    width: 100%;
}

.sa-login-form .um-field {
    padding: 0 0 15px !important;
}

.sa-login-form .um-field-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 8px !important;
}

.sa-login-form .um-field-label label {
    color: #343434 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 501;
}

.sa-login-form .um span.um-req {
    color: #3fc095 !important;
    font-weight: 900 !important;
}

.sa-login-form .um-field-label::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3fc095;
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
}

.sa-login-form .um input[type="text"],
.sa-login-form .um input[type="email"],
.sa-login-form .um input[type="password"] {
    color: #343434 !important;
    border-radius: 5px;
    font-size: 14px !important;
}

.sa-login-form .um input[type="text"]::placeholder,
.sa-login-form .um input[type="email"]::placeholder,
.sa-login-form .um input[type="password"]::placeholder {
    color: #9aa5b1 !important;
}

.sa-login-form .um input[type="text"]:focus,
.sa-login-form .um input[type="email"]:focus,
.sa-login-form .um input[type="password"]:focus {
    border-color: #3fc095 !important;
    box-shadow: 0 0 0 4px rgba(63, 192, 149, 0.12) !important;
}

.sa-login-form .sa-auth-actions {
    margin-top: 3px;
}

.sa-login-form .sa-auth-remember {
    margin-bottom: 0;
}

.sa-login-form .um-field-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer;
    margin: 0 !important;
}

.sa-login-form .um-field-checkbox input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    accent-color: #3fc095 !important;
}

.sa-login-form .um-field-checkbox-option {
    color: #343434 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin: 0;
}

.um-field-checkbox-state i {
    font-size: 20px !important;
    color: #343434 !important;
}

.sa-login-form .sa-auth-primary {
    margin-bottom: 14px;
}

.sa-login-form .um input[type="submit"].um-button,
.sa-login-form .um .um-button {
    background: #3fc095 !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    font-weight: 501 !important;
    padding: 15px 0 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(63, 192, 149, 0.22) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

.sa-login-form .um input[type="submit"].um-button:hover,
.sa-login-form .um input[type="submit"].um-button:focus,
.sa-login-form .um .um-button:hover,
.sa-login-form .um .um-button:focus {
    background: #343434 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(63, 192, 149, 0.28) !important;
}

.sa-login-form .sa-auth-forgot {
    text-align: center;
    margin: 0 0 18px;
}

.sa-login-form .sa-auth-forgot .um-link-alt {
    color: #343434 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 501 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.sa-login-form .sa-auth-forgot .um-link-alt:hover {
    color: #3fc095 !important;
}

.sa-login-form .sa-auth-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 18px 0;
    color: #8a94a3;
    font-size: 14px;
    line-height: 1;
}

.sa-login-form .sa-auth-separator::before,
.sa-login-form .sa-auth-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dbe5e8;
}

.sa-login-form .sa-auth-secondary {
    margin-top: 0;
}

.sa-login-form .sa-auth-secondary .um-button.um-alt {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #343434 !important;
    color: #343434 !important;
    box-shadow: none !important;
}

.sa-login-form .sa-auth-secondary .um-button.um-alt:hover {
    color: #3fc095 !important;
    border-color: #3fc095 !important;
}

/* Messages Ultimate Member */
.sa-login-form .um .um-field-error,
.sa-login-form .um .um-error-block {
    border-radius: 5px !important;
}

.sa-login-form .um-notice {
    border-radius: 5px !important;
}

/* Strip réassurance */
.sa-login-reassurance {
    position: relative;
    z-index: 2;
    margin: 30px auto 0;
    padding: 22px 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid #e5edf0;
    border-radius: 5px;
    box-shadow: 0 20px 55px rgba(23, 32, 51, 0.08);
}

.sa-login-reassurance-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    align-items: center;
    padding: 0 26px;
}

.sa-login-reassurance-item:not(:last-child) {
    border-right: 1px solid #3fc095;
}

.sa-login-reassurance-icon {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: rgba(63, 192, 149, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sa-login-reassurance-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: #3fc095;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sa-login-reassurance h3 {
    margin: 0 0 5px;
    color: #343434;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
}

.sa-login-reassurance p {
    margin: 0;
    color: #343434;
    font-size: 14px;
    line-height: 1.45;
}

/* Nettoyage Astra */
.site-content {
    background: #ffffff;
}

.site-content .ast-container {
    max-width: 100%;
    padding: 0;
}

.entry-content {
    margin: 0;
}

.sa-login-page form .um-row {
    margin: 0 !important;
}

/* Responsive */
@media (max-width: 1050px) {
    .sa-login-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sa-login-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .sa-login-intro {
        margin-left: auto;
        margin-right: auto;
    }

    .sa-login-checklist {
        width: min(520px, 100%);
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .sa-login-card {
        width: min(520px, 100%);
        margin: 0 auto;
    }

    .sa-login-reassurance {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sa-login-reassurance-item {
        border-right: 0 !important;
        padding: 0;
    }

    .sa-login-reassurance-item:not(:last-child) {
        padding-bottom: 20px;
        border-bottom: 1px solid #3fc095;
    }
}

@media (max-width: 767px) {
    .sa-login-hero {
        padding: 20px;
    }

    .sa-login-left h1 {
        font-size: 30px;
    }

    .sa-login-card {
        padding: 20px;
    }

    .sa-login-intro {
        margin: 15px 0 0;
    }

    .sa-login-checklist {
        margin-top: 15px;
        gap: 10px;
    }

    .sa-login-container {
        width: 100%;
    }
}

@media (max-width: 920px) {
    .sa-login-container.sa-login-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .sa-login-left {
        text-align: center;
        margin: 0 auto;
    }

}
