/* Popup acquisition « Comment avez-vous connu BRIO ? »
   Partagé coach / pratiquant : includes/howknowing_popup.php + js/brio_howknowing.js */
.howknowing-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.45);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.howknowing-overlay.open { display: flex; }
.howknowing-popup {
    position: relative;
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 440px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.howknowing-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    padding: 4px;
    line-height: 0;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.15s ease;
}
.howknowing-close:hover { color: #1a1a1a; }
.howknowing-close .material-symbols-outlined { font-size: 20px; }
.howknowing-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 24px 4px 0;
}
.howknowing-subtitle {
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    margin: 0 0 18px 0;
}
.howknowing-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.howknowing-option {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    font-family: 'Mulish', sans-serif;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.howknowing-option:hover { border-color: #d1d5db; background: #fafafa; }
.howknowing-option.selected {
    border-color: var(--color-orange);
    background: #FFF6ED;
    font-weight: 600;
}
.howknowing-other-wrap { display: none; margin-top: 10px; }
.howknowing-other-wrap.open { display: block; }
.howknowing-other-input {
    width: 100%;
    /* Les navigateurs laissent les input[type=text] en content-box, à la
       différence des <button> voisins. Sans cette ligne, width:100% s'ajoute
       aux 28 px de padding et aux 2 px de bordure : le champ dépassait de la
       popup par la droite. */
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: #1a1a1a;
    font-family: 'Mulish', sans-serif;
    outline: none;
}
.howknowing-other-input:focus { border-color: var(--color-orange); }
.howknowing-error {
    font-size: 12px;
    color: var(--color-rouge);
    margin: 6px 0 0 0;
    min-height: 14px;
}
.howknowing-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}
.howknowing-skip {
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
    cursor: pointer;
    font-family: 'Mulish', sans-serif;
}
.howknowing-skip:hover { color: #6b7280; }
.howknowing-submit {
    background: var(--color-orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Mulish', sans-serif;
    transition: opacity 0.15s ease;
}
.howknowing-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
