/* ═══════════════════════════════════════════════════════════════
   BRIO STUDIOS — Inscription
   Design system: black/white + #C55A36 orange accent
   ═══════════════════════════════════════════════════════════════ */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f7f5f3;
    font-family: 'Lato', sans-serif;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
}

/* ── Header ──────────────────────────────────────────────────── */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #eee;
    z-index: 50;
}

.center_header {
    display: flex;
    align-items: center;
    gap: 6px;
}

header h1 {
    font-size: 26px;
    font-weight: 800;
    color: #000;
    font-family: var(--font-family-logo, 'Lato', sans-serif);
    letter-spacing: -2px;
    text-transform: uppercase;
    cursor: pointer;
}

header img {
    width: 32px;
    height: 32px;
}

.gotoquit {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gotoquit span {
    font-size: 18px;
    color: #555;
}

.gotoquit:hover {
    background: #f0ebe8;
    color: #000;
}

.gotoquit:hover span {
    color: #000;
}

/* ── Container ───────────────────────────────────────────────── */

.center_container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 48px 24px;
    min-height: 75vh;
}

/* ── Sections (cards) ────────────────────────────────────────── */

section {
    display: block;
    position: relative;
    width: 680px;
    max-width: 100%;
    margin: 0 auto;
    padding: 36px 44px;
    background: #fff;
    border: 1px solid #e8e3df;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

/* ── Section header ──────────────────────────────────────────── */

.section_header {
    text-align: center;
    margin-bottom: 8px;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0a0a0a;
    padding-bottom: 4px;
    text-align: center;
}

.section_subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

/* ── Progress bar ────────────────────────────────────────────── */

.progress-container {
    width: 100%;
    height: 4px;
    background: #ebe6e2;
    border-radius: 10px;
    margin-bottom: 32px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-orange), #e8845f);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.twenty  { width: 25%; }
.fifty   { width: 50%; }
.seventy { width: 75%; }
.ninety  { width: 92%; }

/* ── Choicers (step 0) ───────────────────────────────────────── */

.blc_choice {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 0;
}

.choicer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border: 1.5px solid #e8e3df;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.choicer:hover {
    border-color: var(--color-orange);
    box-shadow: 0 4px 16px rgba(197, 90, 54, 0.08);
    transform: translateY(-1px);
}

.choicer_left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.choicer_icon {
    font-size: 28px;
    color: var(--color-orange);
    background: rgba(197, 90, 54, 0.08);
    padding: 10px;
    border-radius: 12px;
}

.choicer_title {
    font-size: 15px;
    font-weight: 600;
    color: #0a0a0a;
}

.choicer_desc {
    font-size: 13px;
    color: #888;
    margin-top: 2px;
}

.choicer > span {
    color: #ccc;
    font-size: 20px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.choicer:hover > span {
    color: var(--color-orange);
    transform: translateX(3px);
}

/* ── Form inputs ─────────────────────────────────────────────── */

.inptblc {
    display: block;
    width: 100%;
    padding: 8px 0;
}

.inptblc label,
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.optional_tag {
    font-weight: 400;
    color: #aaa;
    font-size: 12px;
}

.inptblc input,
.inptblc input.inpt {
    display: block;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    border: none;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    font-size: 14px;
    padding: 11px 14px;
    color: #1a1a1a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.inptblc input.inptborder{
	border: 1.5px solid #ddd;
}

.inptblc input:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(197, 90, 54, 0.1);
}

.inptblc input::placeholder {
    color: #bbb;
}

/* Input with icon */
.input_with_icon {
    display: flex;
    align-items: center;
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 0 14px;
    background: #fff;
    box-shadow: 0 0 0 1.5px #e8e3df;
    transition: box-shadow 0.2s ease;
}

.input_with_icon:focus-within {
    box-shadow: 0 0 0 2px var(--color-orange), 0 0 0 5px rgba(197, 90, 54, 0.1);
}

.input_with_icon span {
    font-size: 20px;
    color: #bbb;
    margin-right: 10px;
    flex-shrink: 0;
}

.input_with_icon:focus-within span {
    color: var(--color-orange);
}

.input_with_icon input {
    border: none;
    padding: 11px 0;
    flex: 1;
    background: transparent;
}

.input_with_icon input:focus {
    box-shadow: none;
}

/* Form grid (prénom / nom) */
.form_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ── Error messages ──────────────────────────────────────────── */

.error_msg {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    min-height: 16px;
}

/* ── Radio buttons ───────────────────────────────────────────── */

.form-group {
    padding: 12px 0;
}

.radio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
}

.radio-input {
    position: relative;
    width: 16px;
    height: 16px;
    accent-color: var(--color-orange);
    cursor: pointer;
}

.radio-label {
    margin-left: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

/* ── Sport tags ──────────────────────────────────────────────── */

.flexer_sport {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 16px 0;
    gap: 10px;
}

.flexer_title_comu {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    gap: 8px;
    color: #555;
    border: 1.5px solid #e8e3df;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.flexer_title_comu img {
    height: 22px;
}

.flexer_title_comu:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.flexeractive {
    color: #fff;
    background: var(--color-orange);
    border-color: var(--color-orange);
}

.flexeractive:hover {
    color: #fff;
    background: #ad4c2c;
}

/* ── Terms ────────────────────────────────────────────────────── */

.terms {
    margin-top: 20px;
    color: #888;
    font-size: 12px;
    line-height: 1.6;
}

.linkto {
    text-decoration: underline;
    color: var(--color-orange);
    font-weight: 500;
}

.linkto:hover {
    color: #ad4c2c;
}

/* ── Buttons ─────────────────────────────────────────────────── */

.primary_btn {
    display: block;
    width: 100%;
    background: var(--color-orange);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    padding: 14px;
    cursor: pointer;
    margin-top: 28px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.primary_btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.primary_btn:hover::after {
    transform: translateX(0);
}

.primary_btn:hover {
    background: #ad4c2c;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(197, 90, 54, 0.25);
}

.primary_btn:active {
    transform: scale(0.98);
}

.btn_link {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    width: auto;
    padding: 14px 48px;
}

/* ── Password strength ───────────────────────────────────────── */

#checkerstrength {
    margin-top: 8px;
    font-size: 12px;
}

/* ── Code input (activation) ─────────────────────────────────── */

#middle3 { display: none; }

.center_success {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    padding: 32px 0;
}

.activation_icon_holder,
.success_icon_holder,
.soon_icon_holder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activation_icon_holder {
    background: rgba(197, 90, 54, 0.08);
}

.activation_icon_holder span {
    font-size: 36px;
    color: var(--color-orange);
}

.success_icon_holder {
    background: #ecfdf5;
}

.success_icon_holder span {
    font-size: 40px;
    color: #16a34a;
}

.soon_icon_holder {
    background: rgba(197, 90, 54, 0.08);
}

.soon_icon_holder span {
    font-size: 36px;
    color: var(--color-orange);
}

.little_title_sucess {
    font-size: 13px;
    color: #888;
    text-align: center;
}

.title_sucess {
    font-size: 16px;
    font-weight: 700;
    color: #0a0a0a;
    text-align: center;
}

.success_sub {
    font-size: 14px;
    color: #888;
    text-align: center;
}

.gotoresend {
    color: var(--color-orange);
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.gotoresend:hover {
    color: #ad4c2c;
}

.code-input {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.code-input input {
    width: 52px;
    height: 60px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.2s ease;
    outline: none;
}

.code-input input:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(197, 90, 54, 0.12);
    background: #fff;
}

/* ── Pratiquant (middle5) ────────────────────────────────────── */

#middle5 { display: none; }

.centerdiv {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.centerdiv .larg_explain {
    font-size: 18px;
    font-weight: 700;
    color: #0a0a0a;
}

.centerdiv .little_explain {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    max-width: 380px;
}

/* ── Charte qualité (middle4bis) ─────────────────────────────── */

#middle4bis {
    display: none;
    max-width: 600px;
}

.charte_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-orange);
    background: rgba(197, 90, 54, 0.08);
    border: 1px solid rgba(197, 90, 54, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.charte_badge span {
    font-size: 16px;
    color: var(--color-orange);
}

.titlemiddle4bis {
    font-size: 20px;
    font-weight: 700;
    color: #0a0a0a;
    padding-bottom: 12px;
}

.chart_container_host,
.chart_container_coach {
    display: block;
    max-height: 420px;
    overflow-y: auto;
    padding: 20px;
    border-radius: 12px;
    border: 1.5px solid #e8e3df;
    background: #fafaf9;
}

.chart_container_coach::-webkit-scrollbar {
    width: 4px;
}

.chart_container_coach::-webkit-scrollbar-track {
    background: transparent;
}

.chart_container_coach::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.chart_container_coach strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 0 4px;
    color: #0a0a0a;
}

.chart_container_coach em {
    display: block;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    color: var(--color-orange);
    padding: 8px 0 4px;
}

.chart_container_coach p {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    padding: 4px 0;
}

.chart_container_coach ul {
    padding: 6px 0 6px 20px;
}

.chart_container_coach ul li {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    list-style-type: disc;
    padding: 2px 0;
}

.avertissement_chart {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0;
    font-size: 13px;
    color: #888;
    background: #f7f5f3;
    padding: 10px 14px;
    border-radius: 8px;
}

.avertissement_chart span {
    font-size: 18px;
    color: #bbb;
}

.line_flexer_btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.refused_btn {
    background: #f5f5f5;
    color: #aaa;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    cursor: default;
    transition: all 0.2s ease;
}

.accept_btn {
    background: var(--color-orange);
    color: #fff;
    border: 1.5px solid var(--color-orange);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inactivbtn {
    background: #f5f5f5;
    color: #d4a999;
    border-color: #e8d4cc;
    cursor: default;
}

.inactivbtn2 {
    background: #f5f5f5;
    color: #ccc;
    border-color: #e0e0e0;
    cursor: default;
}

.activbtn {
    background: var(--color-orange);
    color: #fff;
    border-color: var(--color-orange);
    cursor: pointer;
}

.activbtn:hover {
    background: #ad4c2c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 90, 54, 0.2);
}

/* ── Success / confirmation pages ────────────────────────────── */

#middle0 { padding-bottom: 36px; }
#middle1 { display: none; }
#middle2 { display: none; }
#middle4 { display: none; }
#middle6 { display: none; }
#middle7 { display: none; }

/* ── Footer fix ──────────────────────────────────────────────── */

#footer {
    width: calc(100% - 48px);
}

#footer p,
#footer a {
    color: #000;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media screen and (max-width: 850px) {

    header {
        padding: 12px 16px;
    }

    .center_container {
        padding: 32px 16px;
    }

    section {
        width: 100%;
        padding: 28px 20px;
        border-radius: 12px;
    }

    .form_grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    h2 {
        font-size: 22px;
    }

    .blc_choice {
        gap: 12px;
        padding: 16px 0;
    }

    .choicer {
        padding: 16px;
    }

    .choicer_icon {
        font-size: 24px;
        padding: 8px;
    }

    .code-input input {
        width: 48px;
        height: 56px;
        font-size: 22px;
    }

    .line_flexer_btn {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .refused_btn,
    .accept_btn {
        width: 100%;
        text-align: center;
    }

    .radio-container {
        flex-direction: column;
    }

    #middle4bis {
        max-width: 100%;
    }
}