@charset "UTF-8";

:root {
    --ombrage: 0 6px 10px -4px rgba(0, 0, 0, 0.25);
    --gris1: #f3f3f3;
    --gris2: #E6E6E6;
    --rouge: #d51217;
    --DarkGrey: #333;
}

hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
    margin: 20px 0;
}

.ombre {
    box-shadow: var(--ombrage);
}

.degrade {
    background: linear-gradient(to top, var(--gris2), var(--gris1));
}

body {
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
    color: var(--DarkGrey);
    margin: 0;
    padding: 0;
    font-weight: 300;
}

strong {
    font-weight: 500;
}

.prez-img {
    max-width: 1100px;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
}

.prez-img img {
    width: 100%;
    height: auto;
    display: block;
}

.registration-container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f3f3f3;
    border-radius: 8px;
    box-sizing: border-box;
}

h2.block-title {
    font-weight: 300;
    color: var(--rouge);
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 20px;
    letter-spacing: normal;
}

/* --- ACCORDEON (DETAILS/SUMMARY) --- */
details {
    background: #ffffff;
    margin-bottom: 12px;
    border-radius: 4px;
    border: none;
    overflow: hidden;
}

details[open] summary {
    background: var(--DarkGrey);
    color: #fff;
}

details[open] summary img {
    content: url("tournify-logo-blanc.png"); /* Remplace par le nom de ton autre image */
}

summary {
    background: #ffffff;
    padding: 15px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    color: var(--DarkGrey);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "\f0d7";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: 0.3s;
    color: var(--DarkGrey);
}

summary img {
    height: 1.2rem; /* Légèrement plus grand que le texte (1rem) pour l'équilibre visuel */
    width: auto;    /* Garde les proportions de ton logo */
    vertical-align: middle; /* Aligne l'image sur la ligne de base du texte */
    margin-right: 10px;    /* Espace entre le logo et le texte */
}

details[open] summary::after {
    transform: rotate(180deg);
    color: #fff;
}

.acc-content {
    padding: 20px;
    background: #ffffff;
}
.acc-content h2 {
    color: var(--rouge);
    font-size: 0.95rem;
}

.sifflet::before {
    content: "";
    display: inline-block;
    width: 1.2em;  /* Taille proportionnelle au texte */
    height: 1.2em;
    margin-right: 5px; /* Espace entre l'icône et le texte */
    vertical-align: middle;
    
    /* Ton code encodé ici */
    background-image: url("data:image/svg+xml,%3Csvg fill='%23d51217' version='1.0' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 200 130' style='enable-background:new 0 0 200 130;' xml:space='preserve'%3E%3Cpath d='M196.7,32.1l0-20.3c0-5.4-4.2-9.7-9.7-9.6l-34.1,0c-2.7,0-4.5,2.4-4.6,4.6c-0.1,5.7-4.4,9.9-9.9,9.8 c-5.3-0.1-9.4-4.3-9.5-9.8c-0.1-2.6-2.1-4.7-4.8-4.7l-57.8,0c-36.6,0-65,30.5-62.9,66.5c2,35.7,33.4,62.6,69.1,58.9 c35.3-3.6,60.9-35.9,55.8-71.6l60.3-13.2C193.8,41.6,196.9,37.2,196.7,32.1z M80.5,84.3c-8.4,6.4-20,6.6-28.6,0.1 C45.5,79.6,42,72.7,42,65.2c-0.1-7.6,3.4-14.5,9.5-19.3c8.5-6.7,20.4-6.8,29.1-0.2c6.2,4.7,9.7,11.6,9.8,19.1 C90.3,72.4,86.8,79.5,80.5,84.3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.tournify::before {
    content: "";
    display: inline-block;
    width: 1.2em;  /* Taille proportionnelle au texte */
    height: 1.2em;
    margin-right: 5px; /* Espace entre l'icône et le texte */
    vertical-align: middle;
    
    /* Ton code encodé ici */
    background-image: url("data:image/svg+xml,%3Csvg version='1.0' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 226.8 226.8' style='enable-background:new 0 0 226.8 226.8;' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M150,81.2L150,81.2H4.7c-1.4,0-2.4-1.6-1.6-2.9l34.6-60c0.6-0.9,1.4-1.4,2.5-1.4h72.7C145.9,16.9,166.6,52.6,150,81.2z'/%3E%3Cpath d='M188.9,19.8c-0.8-1.3-2.6-1.3-3.4,0L150,81.2l-37.1,64.3l0,0c16.5,28.6,57.7,28.6,74.3,0l0,0l36.3-62.9 c0.5-0.9,0.5-2,0-2.9L188.9,19.8z'/%3E%3Cpath d='M148.4,206.8L75.7,81.2l0,0c-33.1,0-53.7,35.7-37.1,64.3l0,0l36.3,62.9c0.5,0.9,1.4,1.4,2.5,1.4h69.3 C148.2,209.7,149.2,208.1,148.4,206.8z'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: contain;
}

.acc-content p {
    color: var(--DarkGrey);
    font-size: 0.85rem;
	margin-bottom:20px;
}

.acc-content ul li {
    color: var(--DarkGrey);
    font-size: 0.85rem;
	margin-bottom:0;
	line-height:1.25rem;
}

.acc-content p a {
    color: var(--DarkGrey);
    text-decoration: underline;
	font-weight:400;
}
.acc-content p a:hover {
    color: var(--rouge);
}
/* --- FORMULAIRES ET LABELS --- */
label {
    display: flex;
    flex-direction: column;
    margin-bottom: 7px;
    font-weight: 400;
    color: #666;
    font-size: 0.75rem;
    line-height: 1.2;
}

input,
textarea,
select {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.9rem;
    background-color: #fff;
    margin-top: 5px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row div {
    flex: 1;
}

/* --- SELECTEUR DE TOURNOI --- */
.tournoi-selector {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding: 15px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 4px;
}

.tournoi-opt {
    flex-direction: row !important;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--DarkGrey);
    cursor: pointer;
}

.tournoi-opt input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: #d51217;
}

.sous-label {
    display: block;
    font-weight: 400;
    color: #666;
    font-size: 0.7rem;
    margin-top: 2px;
}

/* --- TABLEAU DES JOUEURS --- */
.player-row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.num-col {
    flex: 0 0 35px;
    font-weight: 600;
    color: #d51217;
    padding-top: 8px;
    text-align: center;
}

.player-row div:not(.num-col):not(.del-col) {
    flex: 2;
}

.player-row div.small-col {
    flex: 0.6;
}

.player-row div.rd-col {
    flex: 0.8;
    text-align: center;
}

.rd-col label {
    display: flex;
    align-items: center;
}

.rd-col input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #d51217;
    margin-top: 8px;
}

.del-col {
    flex: 0 0 40px;
    padding-top: 18px;
    text-align: center;
}

/* --- BOUTONS --- */
.btn-del {
    background: #f3f3f3;
    border: none;
    color: #999;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-del:hover {
    background: #d51217;
    color: #fff;
}

.btn-add {
    background: #444;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin: 5px;
    font-weight: 500;
}

.btn-add:hover {
    background: #d51217;
}

.btn-valider {
    font-family: 'Poppins';
    background: #d51217;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    display: block;
    width: fit-content;
    min-width: 250px;
    margin: 0 auto 20px auto;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-valider:hover {
    background: #b10f14;
}

/* --- TOTAL BOX --- */
.total-box {
    padding: 15px;
    background: #fafafa;
    border-right: 4px solid #ccc;
    text-align: right;
}

.total-box p {
    font-size: 0.9rem;
    margin: 2px 0;
    color: #333;
}

.grand-total {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.total-final {
    color: #d51217;
    font-weight: 600;
}

/* --- RESPONSIVE (MOBILE) --- */
@media (max-width: 850px) {
    .prez-img {
        max-width: 92%;
        margin: 10px auto;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .registration-container {
        max-width: 92%;
        padding: 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .player-row {
        display: block;
        background: #fcfcfc;
        padding: 45px 15px 15px 15px;
        position: relative;
        border: 1px solid #eee;
        border-radius: 8px;
        margin-bottom: 15px;
    }

    .num-col {
        position: absolute;
        top: 12px;
        left: 15px;
        padding-top: 0;
    }

    .del-col {
        position: absolute;
        top: 8px;
        right: 8px;
        padding-top: 0;
    }

    .player-row div {
        width: 100% !important;
        margin-bottom: 12px;
    }

    .rd-col label {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .rd-col input {
        margin-top: 0;
    }

    .tournoi-selector {
        flex-direction: column;
        gap: 10px;
    }
}
.info-paiement {
	font-size:0.85rem;
	color: var(--rouge);
	font-weight : 600;
}
