/* =========================================================
   BEN'S LINE DANCE
   SUGGÉRÉES — PAGE + VOTES
   ========================================================= */


.suggerees-page {

    --sage: #6F8A6A;
    --sage-dark: #5C7358;
    --sage-light: #E9EFE5;

    --cream: #FAF8F4;
    --beige: #F4EFE7;

    --brown: #5A4634;
    --brown-light: #806B57;

    --white: #FFFFFF;

    --border: rgba(90, 70, 52, 0.12);

    --shadow:
        0 14px 40px rgba(65, 49, 35, 0.10);

    background:
        var(--cream);

    color:
        var(--brown);

    min-height:
        100vh;

}


/* =========================================================
   WRAPPER
   ========================================================= */

.suggerees-wrapper {

    width:
        100%;

    overflow:
        hidden;

}


/* =========================================================
   CONTAINER
   ========================================================= */

.suggerees-container {

    width:
        min(1180px, calc(100% - 40px));

    margin:
        0 auto;

}


/* =========================================================
   HERO
   ========================================================= */

.suggerees-hero {

    position:
        relative;

    min-height:
        330px;

    display:
        flex;

    align-items:
        center;

    background:
        linear-gradient(
            135deg,
            #5C7358 0%,
            #6F8A6A 48%,
            #7D9277 100%
        );

    overflow:
        hidden;

}


.suggerees-hero::before {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        radial-gradient(
            circle at 15% 40%,
            rgba(255,255,255,0.13),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(255,255,255,0.08),
            transparent 30%
        );

}


.suggerees-hero-overlay {

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            90deg,
            rgba(40, 54, 38, 0.24),
            transparent 70%
        );

}


.suggerees-hero-content {

    position:
        relative;

    z-index:
        2;

    padding:
        65px 0;

    color:
        #FFFFFF;

}


.suggerees-hero-icon {

    width:
        58px;

    height:
        58px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin-bottom:
        20px;

    border:
        1px solid rgba(255,255,255,0.25);

    border-radius:
        18px;

    background:
        rgba(255,255,255,0.12);

    backdrop-filter:
        blur(10px);

    font-size:
        23px;

}


.suggerees-eyebrow {

    display:
        block;

    margin-bottom:
        10px;

    font-size:
        12px;

    font-weight:
        800;

    letter-spacing:
        2.5px;

    opacity:
        0.82;

}


.suggerees-hero h1 {

    margin:
        0 0 12px;

    font-size:
        clamp(38px, 5vw, 62px);

    line-height:
        1.05;

    font-weight:
        800;

    letter-spacing:
        -1.5px;

}


.suggerees-hero p {

    max-width:
        680px;

    margin:
        0;

    font-size:
        17px;

    line-height:
        1.7;

    color:
        rgba(255,255,255,0.88);

}


/* =========================================================
   ALERTES
   ========================================================= */

.suggerees-alert {

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    margin:
        28px 0 0;

    padding:
        15px 18px;

    border-radius:
        14px;

    font-size:
        14px;

    font-weight:
        700;

}


.suggerees-alert i {

    font-size:
        18px;

}


.suggerees-alert-success {

    background:
        #E6F1E3;

    color:
        #49613B;

    border:
        1px solid #CBDDC5;

}


.suggerees-alert-already {

    background:
        #EEF1EC;

    color:
        #5C7358;

    border:
        1px solid #D9E1D6;

}


.suggerees-alert-error {

    background:
        #F6E7E2;

    color:
        #8A493D;

    border:
        1px solid #E8CFC8;

}


/* =========================================================
   STATS
   ========================================================= */

.suggerees-stats {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        16px;

    margin:
        35px 0 22px;

}


.suggerees-stat {

    display:
        flex;

    align-items:
        center;

    gap:
        15px;

    padding:
        20px;

    background:
        #FFFFFF;

    border:
        1px solid var(--border);

    border-radius:
        18px;

    box-shadow:
        0 7px 24px rgba(65,49,35,0.06);

}


.suggerees-stat-icon {

    flex:
        0 0 46px;

    width:
        46px;

    height:
        46px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        14px;

    background:
        var(--sage-light);

    color:
        var(--sage-dark);

}


.suggerees-stat strong {

    display:
        block;

    font-size:
        25px;

    line-height:
        1;

    color:
        var(--brown);

}


.suggerees-stat span {

    display:
        block;

    margin-top:
        5px;

    color:
        var(--brown-light);

    font-size:
        12px;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.7px;

}


/* =========================================================
   TOOLBAR
   ========================================================= */

.suggerees-toolbar {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    margin:
        22px 0 15px;

}


.suggerees-search {

    position:
        relative;

    flex:
        1;

}


.suggerees-search i {

    position:
        absolute;

    left:
        18px;

    top:
        50%;

    transform:
        translateY(-50%);

    color:
        var(--sage-dark);

}


.suggerees-search input {

    width:
        100%;

    height:
        54px;

    padding:
        0 18px 0 48px;

    border:
        1px solid var(--border);

    border-radius:
        15px;

    background:
        #FFFFFF;

    color:
        var(--brown);

    font-size:
        14px;

    outline:
        none;

    box-sizing:
        border-box;

    transition:
        0.2s ease;

}


.suggerees-search input:focus {

    border-color:
        rgba(111,138,106,0.65);

    box-shadow:
        0 0 0 4px rgba(111,138,106,0.10);

}


.suggerees-result {

    min-width:
        155px;

    text-align:
        right;

}


.suggerees-result strong {

    display:
        block;

    font-size:
        24px;

    color:
        var(--sage-dark);

}


.suggerees-result span {

    font-size:
        11px;

    font-weight:
        800;

    text-transform:
        uppercase;

    letter-spacing:
        0.7px;

    color:
        var(--brown-light);

}


/* =========================================================
   FILTRES
   ========================================================= */

.suggerees-filters {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        9px;

    margin:
        0 0 25px;

}


.suggerees-filter {

    padding:
        10px 17px;

    border:
        1px solid var(--border);

    border-radius:
        999px;

    background:
        #FFFFFF;

    color:
        var(--brown-light);

    font-size:
        12px;

    font-weight:
        800;

    cursor:
        pointer;

    transition:
        all 0.2s ease;

}


.suggerees-filter:hover {

    border-color:
        var(--sage);

    color:
        var(--sage-dark);

}


.suggerees-filter.active {

    background:
        var(--sage-dark);

    color:
        #FFFFFF;

    border-color:
        var(--sage-dark);

}


/* =========================================================
   GRID
   ========================================================= */

.suggerees-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        20px;

}


/* =========================================================
   CARTE CHANSON
   ========================================================= */

.suggerees-song-card {

    background:
        #FFFFFF;

    border:
        1px solid var(--border);

    border-radius:
        22px;

    overflow:
        hidden;

    box-shadow:
        var(--shadow);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.suggerees-song-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 18px 46px rgba(65,49,35,0.13);

}


/* =========================================================
   HEADER CHANSON
   ========================================================= */

.suggerees-song-header {

    display:
        grid;

    grid-template-columns:
        auto 1fr auto;

    align-items:
        center;

    gap:
        16px;

    padding:
        22px;

    background:
        linear-gradient(
            135deg,
            #F4EFE7,
            #FAF8F4
        );

    border-bottom:
        1px solid var(--border);

}


.suggerees-song-number {

    width:
        46px;

    height:
        46px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        14px;

    background:
        var(--sage-dark);

    color:
        #FFFFFF;

    font-size:
        12px;

    font-weight:
        900;

    letter-spacing:
        1px;

}


.suggerees-song-title span {

    display:
        block;

    margin-bottom:
        4px;

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        1.6px;

    color:
        var(--sage-dark);

}


.suggerees-song-title h2 {

    margin:
        0;

    font-size:
        20px;

    line-height:
        1.25;

    color:
        var(--brown);

}


.suggerees-song-title p {

    margin:
        6px 0 0;

    font-size:
        12px;

    color:
        var(--brown-light);

}


.suggerees-song-title p i {

    color:
        var(--sage);

    margin-right:
        4px;

}


.suggerees-dance-count {

    min-width:
        55px;

    text-align:
        center;

}


.suggerees-dance-count strong {

    display:
        block;

    font-size:
        25px;

    line-height:
        1;

    color:
        var(--sage-dark);

}


.suggerees-dance-count span {

    display:
        block;

    margin-top:
        4px;

    font-size:
        9px;

    font-weight:
        900;

    text-transform:
        uppercase;

    color:
        var(--brown-light);

}


/* =========================================================
   LISTE DES DANSES
   ========================================================= */

.suggerees-dances {

    padding:
        7px 20px;

}


.suggerees-dance {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;

    padding:
        15px 0;

    border-bottom:
        1px solid rgba(90,70,52,0.08);

}


.suggerees-dance:last-child {

    border-bottom:
        none;

}


.suggerees-dance-main {

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    min-width:
        0;

}


.suggerees-dance-icon {

    flex:
        0 0 36px;

    width:
        36px;

    height:
        36px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        11px;

    background:
        #F0F4ED;

    color:
        var(--sage-dark);

    font-size:
        14px;

}


.suggerees-dance-info {

    min-width:
        0;

}


.suggerees-dance-info h3 {

    margin:
        0;

    font-size:
        14px;

    font-weight:
        800;

    color:
        var(--brown);

}


.suggerees-dance-info span {

    display:
        block;

    margin-top:
        4px;

    font-size:
        11px;

    color:
        var(--brown-light);

}


.suggerees-dance-info span i {

    margin-right:
        4px;

    color:
        var(--sage);

}


.suggerees-dance-meta {

    display:
        flex;

    align-items:
        center;

    justify-content:
        flex-end;

    flex-wrap:
        wrap;

    gap:
        6px;

}


.suggerees-level {

    display:
        inline-flex;

    align-items:
        center;

    padding:
        5px 9px;

    border-radius:
        999px;

    font-size:
        9px;

    font-weight:
        900;

    text-transform:
        uppercase;

    white-space:
        nowrap;

}


.suggerees-level-debutant {

    background:
        #E5EEDC;

    color:
        #49613B;

}


.suggerees-level-novice {

    background:
        #E8EEE9;

    color:
        #4E6655;

}


.suggerees-level-intermediaire {

    background:
        #EEE8DA;

    color:
        #766044;

}


.suggerees-level-avance {

    background:
        #EDE1DD;

    color:
        #805449;

}


.suggerees-level-partenaire {

    background:
        #E7E3EE;

    color:
        #655B7B;

}


.suggerees-level-autre {

    background:
        #ECECEC;

    color:
        #626262;

}


.suggerees-year {

    font-size:
        10px;

    font-weight:
        700;

    color:
        var(--brown-light);

    white-space:
        nowrap;

}


/* =========================================================
   ZONE DE VOTE
   ========================================================= */

.suggerees-vote-area {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;

    padding:
        18px 20px;

    background:
        linear-gradient(
            135deg,
            #F6F3ED,
            #FFFFFF
        );

    border-top:
        1px solid var(--border);

}


.suggerees-vote-info {

    min-width:
        0;

}


.suggerees-vote-label {

    display:
        block;

    margin-bottom:
        5px;

    font-size:
        10px;

    font-weight:
        900;

    text-transform:
        uppercase;

    letter-spacing:
        0.8px;

    color:
        var(--brown-light);

}


.suggerees-vote-count {

    display:
        flex;

    align-items:
        center;

    gap:
        6px;

    color:
        var(--sage-dark);

}


.suggerees-vote-count i {

    font-size:
        15px;

}


.suggerees-vote-count strong {

    font-size:
        21px;

    line-height:
        1;

}


.suggerees-vote-count span {

    font-size:
        11px;

    font-weight:
        700;

    color:
        var(--brown-light);

}


/* =========================================================
   BOUTON VOTE
   ========================================================= */

.suggerees-vote-form {

    margin:
        0;

}


.suggerees-vote-button {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        9px;

    min-height:
        46px;

    padding:
        0 18px;

    border:
        none;

    border-radius:
        13px;

    background:
        var(--sage-dark);

    color:
        #FFFFFF;

    font-family:
        inherit;

    font-size:
        12px;

    font-weight:
        900;

    cursor:
        pointer;

    box-shadow:
        0 7px 18px rgba(92,115,88,0.20);

    transition:
        all 0.2s ease;

}


.suggerees-vote-button:hover {

    background:
        #4F674B;

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 23px rgba(92,115,88,0.28);

}


.suggerees-vote-button:active {

    transform:
        translateY(0);

}


.suggerees-vote-button-icon {

    width:
        28px;

    height:
        28px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        9px;

    background:
        rgba(255,255,255,0.15);

}


.suggerees-vote-button.is-loading {

    opacity:
        0.65;

    cursor:
        wait;

}


.suggerees-vote-button:disabled {

    pointer-events:
        none;

}


/* =========================================================
   EMPTY
   ========================================================= */

.suggerees-empty {

    display:
        none;

    padding:
        60px 20px;

    text-align:
        center;

}


.suggerees-empty-icon {

    width:
        64px;

    height:
        64px;

    margin:
        0 auto 16px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        20px;

    background:
        var(--beige);

    color:
        var(--sage-dark);

    font-size:
        22px;

}


.suggerees-empty h3 {

    margin:
        0 0 8px;

    font-size:
        20px;

}


.suggerees-empty p {

    margin:
        0;

    color:
        var(--brown-light);

    font-size:
        13px;

}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .suggerees-stats {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .suggerees-grid {

        grid-template-columns:
            1fr;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .suggerees-container {

        width:
            min(
                100% - 24px,
                1180px
            );

    }


    .suggerees-hero {

        min-height:
            300px;

    }


    .suggerees-hero-content {

        padding:
            50px 0;

    }


    .suggerees-hero h1 {

        font-size:
            38px;

    }


    .suggerees-hero p {

        font-size:
            14px;

        line-height:
            1.6;

    }


    .suggerees-stats {

        gap:
            10px;

        margin-top:
            20px;

    }


    .suggerees-stat {

        padding:
            14px;

        gap:
            10px;

    }


    .suggerees-stat-icon {

        flex-basis:
            38px;

        width:
            38px;

        height:
            38px;

        border-radius:
            11px;

    }


    .suggerees-stat strong {

        font-size:
            20px;

    }


    .suggerees-stat span {

        font-size:
            9px;

    }


    .suggerees-toolbar {

        display:
            block;

    }


    .suggerees-result {

        margin-top:
            10px;

        text-align:
            left;

    }


    .suggerees-filters {

        overflow-x:
            auto;

        flex-wrap:
            nowrap;

        padding-bottom:
            5px;

    }


    .suggerees-filter {

        flex:
            0 0 auto;

    }


    .suggerees-song-header {

        grid-template-columns:
            auto 1fr;

        padding:
            18px;

    }


    .suggerees-dance-count {

        display:
            none;

    }


    .suggerees-dances {

        padding:
            5px 16px;

    }


    .suggerees-dance {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            8px;

    }


    .suggerees-dance-meta {

        justify-content:
            flex-start;

        padding-left:
            48px;

    }


    .suggerees-vote-area {

        align-items:
            stretch;

        flex-direction:
            column;

        padding:
            16px;

    }


    .suggerees-vote-form {

        width:
            100%;

    }


    .suggerees-vote-button {

        width:
            100%;

    }

}


/* =========================================================
   TRÈS PETIT MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .suggerees-stats {

        grid-template-columns:
            1fr 1fr;

    }


    .suggerees-stat {

        min-width:
            0;

    }


    .suggerees-stat-icon {

        display:
            none;

    }


    .suggerees-song-header {

        gap:
            11px;

    }


    .suggerees-song-number {

        width:
            40px;

        height:
            40px;

        border-radius:
            12px;

    }


    .suggerees-song-title h2 {

        font-size:
            16px;

    }

}

/* =========================================================
   ADMIN — NIVEAUX DISPONIBLES
   ========================================================= */

.suggerees-admin-levels {
    margin: 0 0 30px;
    padding: 24px;
    background: #FAF8F4;
    border: 1px solid rgba(92, 115, 88, 0.18);
    border-left: 5px solid #6F8A6A;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(90, 70, 52, 0.08);
}

.suggerees-admin-levels-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.suggerees-admin-levels-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #6F8A6A;
    color: #FAF8F4;

    border-radius: 14px;
    font-size: 20px;
}

.suggerees-admin-levels-header span {
    display: block;
    margin-bottom: 4px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #6F8A6A;
}

.suggerees-admin-levels-header h2 {
    margin: 0;

    color: #5A4634;
    font-size: 21px;
}

.suggerees-admin-levels-header p {
    margin: 5px 0 0;

    color: #777;
    font-size: 14px;
}

.suggerees-level-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.suggerees-level-option {
    position: relative;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 11px 16px;

    background: #F4EFE7;
    border: 1px solid rgba(90, 70, 52, 0.12);
    border-radius: 12px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.suggerees-level-option:hover {
    transform: translateY(-1px);
    border-color: #6F8A6A;
}

.suggerees-level-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.suggerees-level-check {
    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    border: 2px solid #B9B3AA;
    border-radius: 6px;

    color: transparent;
    font-size: 11px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.suggerees-level-option input:checked
~ .suggerees-level-check {
    background: #6F8A6A;
    border-color: #6F8A6A;
    color: #fff;
}

.suggerees-level-label {
    color: #5A4634;
    font-size: 14px;
    font-weight: 700;
}

.suggerees-admin-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 12px 20px;

    border: 0;
    border-radius: 11px;

    background: #5C7358;
    color: #fff;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.suggerees-admin-save:hover {
    background: #4F654C;
    transform: translateY(-1px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .suggerees-admin-levels {
        padding: 18px;
    }

    .suggerees-admin-levels-header {
        align-items: flex-start;
    }

    .suggerees-admin-levels-header h2 {
        font-size: 18px;
    }

    .suggerees-level-checkboxes {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .suggerees-level-option {
        padding: 11px 12px;
    }

    .suggerees-admin-save {
        width: 100%;
    }

}