/* =========================================================
   SOLVYLA - WELCOME ASSOCIES
   Fichier : Welcome.css
   ========================================================= */

/* Overlay : meme univers graphique que Cookies */
.associate-welcome-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 20000 !important;
    background:
        linear-gradient(180deg, rgba(255,179,198,.50) 0%, rgba(179,199,255,.50) 100%),
        linear-gradient(75deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 35%, rgba(255,255,255,0) 70%),
        linear-gradient(135deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,.05) 40%, rgba(255,255,255,.20) 80%),
        repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.22) 0 2px, transparent 3px 8px);
    background-blend-mode: screen, lighten, overlay, soft-light;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* Fenetre centrale */
.associate-welcome {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    box-sizing: border-box !important;
    width: 90% !important;
    max-width: 480px !important;
    z-index: 20001 !important;
    padding: 25px !important;
    border: 2px solid var(--signature-color) !important;
    border-radius: 14px !important;
    background:
        linear-gradient(180deg, rgba(255,179,198,.72) 0%, rgba(142,197,255,.72) 100%),
        linear-gradient(75deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.38) 35%, rgba(255,255,255,0) 70%),
        linear-gradient(135deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,.05) 40%, rgba(255,255,255,.20) 80%),
        repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.18) 0 2px, transparent 3px 8px);
    box-shadow: 0 12px 40px rgba(0,0,0,.18) !important;
    font-family: 'Inter', sans-serif !important;
    color: #fff !important;
    text-align: center !important;
}

/* Ligne haute : logo + ESPACE ASSOCIE (ACF esp_ass_ln) */
.associate-welcome-header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
    margin-bottom: 26px !important;
}

.associate-welcome-logo {
    width: 30% !important;
    height: auto !important;
    max-width: none !important;
    object-fit: contain !important;
}

.associate-welcome-space-title {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 1.5vmin !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

/* Deuxieme ligne : Hello {prenom}, Welcome back */
.associate-welcome-title {
    margin: 0 0 28px !important;
    color: #fff !important;
    font-size: 1.4vmin !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    text-align: center !important;
}

/* Choix COU / BRCH */
.associate-welcome-choices {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 3vw !important;
    width: 100% !important;
}

.associate-choice {
    position: relative !important;
    overflow: hidden !important;
    flex: 1 1 0 !important;
    width: auto !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    min-height: 8vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.2vh 1.5vw !important;
    border: 1px solid rgba(255,255,255,.78) !important;
    border-radius: 9px !important;
    background: rgba(255,255,255,.04) !important;
    color: #fff !important;
    text-decoration: none !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: .01em !important;
    cursor: pointer !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.65),
        inset 0 -1px 0 rgba(255,255,255,.10),
        0 5px 12px rgba(41,65,105,.16),
        0 1px 2px rgba(255,255,255,.28) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.15) !important;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease !important;
}

/* Reflet brillant */
.associate-choice::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 8% !important;
    width: 84% !important;
    height: 46% !important;
    border-radius: 8px 8px 50% 50% !important;
    background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,0)) !important;
    pointer-events: none !important;
}

.associate-choice:hover,
.associate-choice:focus-visible {
    background: rgba(255,255,255,.12) !important;
    transform: translateY(-2px) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.80),
        inset 0 -1px 0 rgba(255,255,255,.12),
        0 8px 18px rgba(41,65,105,.22) !important;
    outline: none !important;
}

.associate-choice:active {
    transform: translateY(1px) !important;
    box-shadow:
        inset 0 2px 5px rgba(30,50,85,.18),
        0 2px 6px rgba(41,65,105,.14) !important;
}

    .associate-welcome {
        width: calc(100% - 28px) !important;
        padding: 22px 18px !important;
    }

    .associate-welcome-header {
        margin-bottom: 24px !important;
    }

    .associate-welcome-space-title,
    .associate-welcome-title {
        font-size: 18px !important;
    }

    .associate-welcome-choices {
        flex-direction: row !important;
        gap: 2vw !important;
    }

    .associate-choice {
        flex: 0 0 calc(50% - 1.5vw) !important;
        width: calc(50% - 1.5vw) !important;
        max-width: calc(50% - 1.5vw) !important;
        min-width: 0 !important;
        min-height: 62px !important;
    }

    /* =========================================================
   SOLVYLA - WELCOME ASSOCIES - BACK OFFICE
   A ajouter a la fin de Welcome.css
   ========================================================= */

.associate-backoffice {
    position: absolute !important;
    top: 16px !important;
    right: 18px !important;
    z-index: 10 !important;

    color: #1683e8 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;

    cursor: pointer !important;
    transition: color .18s ease, opacity .18s ease !important;
}

.associate-backoffice:hover,
.associate-backoffice:focus-visible {
    color: #0874d8 !important;
    opacity: .82 !important;
    text-decoration: none !important;
}