* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: "Roboto", sans-serif; */
    font-family: 'Futura Std', sans-serif;
}

h1 {
    font-size: 2em;
}

p {
    font-size: 0.9em;
}

body {
    width: 100% !important;
    margin: 0;
    padding: 0;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
}

.navbar-toggler:focus,
.btn-close:focus {
    box-shadow: none;
    outline: none;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    border-color: transparent;
}

.logo-subtitle,
.logo-title {
    text-align: start;
    width: 100%;
}

.logo-title {
    color: #0e5b3a;
    font-size: 0.78em;
    font-weight: 900 !important;
}

.logo-subtitle {
    font-size: 0.6em;
}

.title-logo-container {
    line-height: 0.9em;
    margin-bottom: 0.5em;
}

.responsive-hide {
    display: block;
}

.responsive-show {
    display: none !important;
}

.nav-link {
    color: #666777;
    font-weight: 500;
    position: relative;
    font-size: 1em;
}



.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 580px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.image-supercup {
    width: 100%;
    object-fit: cover;
    height: 500px;
    position: relative;
    top: 5rem;
    display: block;
}

.container-topSection {
    position: relative;
    z-index: 1;
    top: -14vh;
    background-color: #fff;
    padding: 1.5em;
    width: 95%;
    left: 3%;
    clip-path: polygon(50% 0%, 80% 0, 100% 0, 100% 50%, 95% 100%, 50% 100%, 20% 100%, 0 100%, 0% 50%, 5% 0);
    /* clip-path: polygon(5% 0, 100% 0, 100% calc(48% - -11%), calc(100% - 4%) 100%, 0% 100%, 0% calc(103% - 0%), calc(96% - 100%) 100%, calc(100% - 104%) 100%); */
}

/* .uft-items-card {
    gap: 1em;
} */

.uft-title {
    color: #006f3a;
    font-size: 1.3rem;
    line-height: 1;
}

.adress-header {
    line-height: 0.8em;
    align-items: center;
}

.sub-title-uft {
    color: #666777;
    font-size: 1em;
    white-space: nowrap;
}

.sub-info-title {
    font-size: 0.9em;

}

.title-uft-info {
    line-height: 1.2;
    width: auto;
    /* margin-right: 1em; */
}

.bottom-container {
    height: 100%;
    background: -webkit-linear-gradient(180deg, #010403, #02150c, #00401e, #00401e, #04743a);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(180deg, #010403, #02150c, #00401e, #00401e, #04743a);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.top-nav-info {
    /* width: 70%;
    left: 15%;
    right: 15%; */
    position: relative;
    width: 80%;
    margin: auto;
    top: -10vh;
    clip-path: polygon(50% 0%, 80% 0, 100% 0, 100% 100%, 84% 100%, 50% 100%, 20% 100%, 0 100%, 0% 38%, 2% 0);
}

.top-nav-info0 {
    position: relative;
    top: -10vh;
    clip-path: polygon(50% 0%, 80% 0, 100% 0, 100% 100%, 84% 100%, 50% 100%, 20% 100%, 0 100%, 0% 38%, 2% 0);
}

.top-nav-container .nav-link {
    color: #006f3a;
    font-weight: 700;
    position: relative;
    text-transform: uppercase;
    font-size: 1.2em;
    width: 90%;
    text-align: center;

}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: #006f3a;
}


.title-info-nav {
    color: #006f3a;
    font-size: 1em;
    white-space: break-spaces;
    font-weight: bolder !important;
    width: 99%;
    text-align: center;
    line-height: 1;
}

.sub-container-dw {
    width: 100%;
    background-color: #8490be;
    border: none;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
        padding: 12px 30px;
    display: flex;
    gap: 0.5em;
    clip-path: polygon(21% 0, 100% 0, 100% 20%, 100% 67%, 96% 100%, 20% 100%, 0 100%, 0 0);
}

.flex-downloadbtn {
    position: relative;
    top: -2em;
}

.planning-btn {
    width: 40%;
}

.supp-info-container {
    background: -webkit-linear-gradient(180deg, #010403, #02150c, #001c0e, #00401e, #04743a);
    background: linear-gradient(180deg, #010403, #02150c, #001c0e, #00401e, #04743a);
    color: #fff;
    width: 26%;
    height: auto;
    clip-path: polygon(11% 0, 100% 0, 100% 20%, 100% 78%, 89% 100%, 20% 100%, 0 100%, 0 21%);
    padding: 2em;
    position: relative;
    top: 8px;
    left: 143px;
    margin: 0;
}

.supp-info-container0 {
    color: #fff;
    width: 100%;
    height: auto;
    clip-path: polygon(11% 0, 100% 0, 100% 20%, 100% 78%, 89% 100%, 20% 100%, 0 100%, 0 21%);
    padding: 2em;
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
}

.first-background {
    background: -webkit-linear-gradient(180deg, #010403, #02150c, #00401e, #00401e, #04743a);
    background: linear-gradient(180deg, #010403, #02150c, #00401e, #00401e, #04743a);
}

.second-background {
    background: -webkit-linear-gradient(180deg, #02080a, #122331, #234260, #336997);
    background: linear-gradient(180deg, #02080a, #122331, #234260, #336997);
}

.third-background {

    background: -webkit-linear-gradient(180deg, #060606, #1a1a1a, #414141, #7c7c7c);
    background: linear-gradient(180deg, #060606, #1a1a1a, #414141, #7c7c7c);

}

.btn-edit {
    position: absolute;
    top: 11px;
    right: 11px;
    color: #006f3a
}

.foot-logoball{
        font-size: 1.2em;
}

.details-container {
    font-size: 1.1em;
    background-color: #04743a;
    color: #fff;
    clip-path: polygon(6% 0, 100% 0, 100% 20%, 100% 88%, 94% 100%, 20% 100%, 0 100%, 0 12%);
    gap: 0.6em 0;
}

#btnAddSponsor span{
    font-size: 1em;
}

.sponsor-container {
    clip-path: polygon(6% 0, 100% 0, 100% 20%, 100% 88%, 94% 100%, 20% 100%, 0 100%, 0 12%);
}

.sponsors-title {
    color: #04743a;
    font-size: 2.5em;
    padding-bottom: 0.8em;
    font-weight: 700;
}

.table-container {
    background-color: #04743a;
    color: #fff;
    clip-path: polygon(3% 0, 100% 0, 100% 20%, 100% 93%, 97% 100%, 20% 100%, 0 100%, 0 8%);
    gap: 0.6em 0;
    padding: 2.5em;
}

.table-dark {
    --bs-table-color: #fff;
    --bs-table-bg: transparent;
    --bs-table-border-color: #fff;
    --bs-table-striped-bg: #fff;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #fff;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: transparent;
    --bs-table-hover-color: #fff;
}

.table-title {
    font-size: 1em;
    white-space: nowrap;
}

.masquer-btn {
    background-color: #fff;
    color: #006f3a;
    width: auto;
        padding: 12px 30px;
    clip-path: polygon(20% 0, 100% 0, 100% 20%, 100% 60%, 91% 100%, 20% 100%, 0 100%, 0 0);
    font-size: 1em;
    border: none;

}

.widget-title {
    white-space: nowrap;
    font-size: 1em;
    color: #fff;
}

.icons-footer {
    gap: 1em;
}

.input-group-text {
    background-color: #006f3a;
    border: #006f3a;
    border-radius: 0;
    color: #fff;
    clip-path: polygon(20% 0, 100% 0, 100% 20%, 100% 64%, 71% 100%, 20% 100%, 0 100%, 0 0);
}



.Newsletter-title {
    font-size: 2.5em;
}

.gap-footer {
    gap: 12em;
}

.p-padding-poule {
    padding: 6rem
}

.image-appstore {
    width: 15%
}

.image-playstore {
    width: 18%;
}

.carousel-control-next-icon {
    background-image: url('../../img/right-arrow.png');
    width: 40px;
    height: 40px;
    background-size: auto;
    background-color: #fff;
    border: none;
    opacity: 1;
    clip-path: polygon(20% 0, 100% 0, 100% 20%, 100% 68%, 79% 100%, 20% 100%, 0 100%, 0 0);
}

.carousel-control-prev-icon {
    background-image: url('../../img/left-arrow.png');
    width: 40px;
    height: 40px;
    background-size: auto;
    background-color: #fff;
    opacity: 1;
    border: none;
    clip-path: polygon(20% 0, 100% 0, 100% 20%, 100% 99%, 84% 100%, 13% 100%, 0 74%, 0 0);

}

/* Change the color of the arrows to black */
.carousel-control-next,
.carousel-control-prev {
    opacity: 1;
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    width: 45px;
    height: 45px;
    background-color: #fff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
    /* Center content horizontally */
    line-height: 10px;
    /* padding: 15px;  */
}

.btn-edit:hover {
    color: #001c0e;
}

.equipe-image0 {
    width: 13%;
    margin-right: .6em;
}

.first-slider .carousel-inner {
    padding: 1em;
}

.sponsors-subtitle {
    color: #006f3a;
    line-height: 1;
}

.no-photo-title {
    font-size: 3rem;
    width: 50%;
    text-align: center;
    padding: 1em 0 2em;
}

.no-classement-title {
    font-size: 3rem;
    width: 65%;
    text-align: center;
    padding: 1.5em 0;
}

.no-classement-container {
    background: -webkit-linear-gradient(180deg, #0a0905, #181405, #322d0f, #5f561f);
    background: linear-gradient(180deg, #0a0905, #181405, #322d0f, #5f561f);
    padding: 3em;
    clip-path: polygon(40px 0, calc(100% - 40px) 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 40px 100%, 0 100%, 0 40px);
    margin-bottom: 5em;
}

.btn-classement {
    background-color: #fff;
    color: #000;
    border: none;
    width: 100%;
    clip-path: polygon(12% 0, 80% 0%, 100% 0, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0 43%);
    padding: 0.1em 1.3em;
    font-size: 1.3em;
    text-align: center;

}

.btn-uft-participer {
    border: none;
    color: #fff;
    background-color: #006f3a;
    padding: 0.7em 1em;
    font-size: 1.6em;
    width: 160px;
    clip-path: polygon(20% 0, 100% 0, 100% 20%, 100% 60%, 91% 100%, 20% 100%, 0 100%, 0 0);
}



.wrapper {
    max-width: 1100px;
    width: 100%;
    position: relative;
}

.wrapper a {
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;
}

.wrapper a:active {
    transform: translateY(-50%) scale(0.85);
}

.wrapper a:first-child {
    left: -22px;
}

.wrapper a:last-child {
    right: -22px;
}

.wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel.no-transition {
    scroll-behavior: auto;
}

.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

.carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel .card {
    scroll-snap-align: start;
    height: 342px;
    list-style: none;
    background: transparent;
    cursor: pointer;
    border: none;
    /* padding-bottom: 15px;
    flex-direction: column;
    border-radius: 8px; */
}

/* .equipe-shild-container {
    width: 90%;
    height: 100%;
    background: rgba(134, 123, 123, 0.3);
    background: rgba(134, 123, 123, 0.3);
    border: 2px solid rgba(247, 243, 243, 0.3);
    margin: auto;
} */
.equipe-container {
    position: relative;
    width: 50%;
    /* background: rgba(247, 243, 243, 0.3);
    border: 1px solid rgba(247, 243, 243, 0.3); */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1;
}

.equipe-shild-container {
    width: calc(100% - 1px);
    height: 95%;
    background: rgba(134, 123, 123, 0.3);

}

.button-border {
    background: red;
    border: 1px solid red;
    width: fit-content;
    margin: auto;
}

.button-container {
    border: none;
    width: 130px;
    height: 35px;
    background: white;
    color: red;
    margin: auto;
    font-size: 1em;
    font-weight: 600 !important;
}

.polygon-btn-bottom {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.polygon-div-bottom {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 35px), calc(100% - 35px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 35px), calc(100% - 35px) 100%, 0 100%);
}

.top-polygon-btn {
    -webkit-clip-path: polygon(50% 0%, 80% 0, 100% 0, 100% 56%, 100% 100%, 50% 100%, 20% 100%, 0 100%, 0 40%, 20% 0);
    clip-path: polygon(50% 0%, 80% 0, 100% 0, 100% 56%, 100% 100%, 50% 100%, 20% 100%, 0 100%, 0 40%, 20% 0);
}

.top-tab-polygon-div {
    -webkit-clip-path: polygon(5% 0, 100% 0, 100% 20%, 100% 80%, 100% 100%, 20% 100%, 0 100%, 0 33%);
    clip-path: polygon(5% 0, 100% 0, 100% 20%, 100% 80%, 100% 100%, 20% 100%, 0 100%, 0 33%);
}

.polygan-tab-top {
    -webkit-clip-path: polygon(11% 0, 100% 0, 100% 20%, 100% 80%, 100% 100%, 20% 100%, 0 100%, 0 33%);
    clip-path: polygon(11% 0, 100% 0, 100% 20%, 100% 80%, 100% 100%, 20% 100%, 0 100%, 0 33%);

}

.polygan-div-top-bottom {
    -webkit-clip-path: polygon(11% 0, 100% 0, 100% 20%, 100% 80%, 100% 100%, 20% 100%, 0 100%, 0 33%);
    clip-path: polygon(11% 0, 100% 0, 100% 20%, 100% 80%, 100% 100%, 20% 100%, 0 100%, 0 33%);


}

.polygan-btn-top-bottom {
    -webkit-clip-path: polygon(10% 0%, 100% 0, 100% 20%, 100% 83%, 89% 100%, 20% 100%, 0 100%, 0% 19%);
    clip-path: polygon(10% 0%, 100% 0, 100% 20%, 100% 83%, 89% 100%, 20% 100%, 0 100%, 0% 19%);


}

.equipe-subname {
    font-size: 1em;
    text-align: center;
}

.btn-primary {
    border-radius: 0;
    background-color: #006f3a;
    border: none;
    padding: 0.6em 2em;
    font-size: 1.1em;
    font-weight: 900;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #006f3a;
}

.btn:first-child:active,
.btn:active {
    background-color: #006f3a
}

.btn-primary:active {
    background-color: #006f3a;
}

.title-equipe {
    color: #006f3a;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.2em;
}

.para-equipe {
    color: #808080;
}

.btn-carousel-equipe .carousel-control-next,
.btn-carousel-equipe .carousel-control-prev {
    position: relative;
    width: 9%;
}

.btn-carousel-equipe .carousel-control-prev-icon {
    background-image: url(../../img/left-arrow.png);
    width: 40px;
    height: 40px;
    background-size: auto;
    background-color: #fff;
    opacity: 1;
    border: none;
    clip-path: polygon(calc(100% - 33px) 0%, 100% 0, 100% 20%, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0% calc(100% - 26px));

    /* clip-path: polygon(20% 0, 100% 0, 100% 20%, 100% 99%, 84% 100%, 13% 100%, 0 74%, 0 0); */
}

.equipe-container .bi::before,
.equipe-container [class*=" bi-"]::before,
.equipe-container [class^=bi-]::before {
    font-weight: 700 !important;
    vertical-align: -0.15rem;
    font-size: 15px;
}

.sidebar .top-nav-container .nav-link {
    text-align: start;
    font-size: 1.05em;

}

.sidebar i {
    padding-right: 0.3em;
    font-size: 1.2em;

}

.sidebar-width {
    width: 100%
}

.deconnect-btn {
    background-color: #c8251f;
    color: #fff;
    font-size: 1.2em;
    text-align: center;
}

.text-label-info {
    color: #006f3a;
    font-size: 1em;
}

#body-light {
    background-color: #f0f1f3
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: #006f3a;
    box-shadow: 0 0 0 0.25rem rgba(0, 111, 58, .25);
}

.navbar .btn-check:checked+.btn,
.navbar .btn.active,
.navbar .btn.show,
.navbar .btn:first-child:active,
.navbar :not(.btn-check)+.btn:active {
    border-color: transparent;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active,
.form-check-input:checked {
    background-color: #006f3a;
    border-color: #006f3a;
}

.uft-c-dark-grey {
    color: #373759;
}

.uft-c-light-grey {
    color: #82829B;
}

.events-sidebar .form-check-input[type=checkbox] {
    border: 1px solid #c3c0c0;
}

.has-search .form-control {
    padding-left: 2.375rem;
    padding-right: 2.375rem;
    ;
}

.has-search .form-control-feedback,
.has-search .form-control-close {
    position: absolute;
    z-index: 3;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.has-search .form-control-close {
    right: 0;
    cursor: pointer;
}

.wrapper {
    position: relative;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.wrapper input[type="number"] {
    height: 30px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 700;
    text-align: center;

}

.wrapper .min-value {
    position: absolute;
    left: -16px;
    top: 25px;
}

.wrapper .max-value {
    position: absolute;
    right: -8px;
    top: 25px;
}

.wrapper input[type="number"]::-webkit-outer-spin-button,
.wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.wrapper .range-slider {
    height: 2px;
    border-radius: 5px;
    background: #c3c0c0;
    position: relative;
    width: 100%;
}

.range-slider .progress {
    height: 2px;
    background-color: #006f3a;
    left: 0;
    right: 0;
    border-radius: 5px;
    position: absolute;
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    top: 0px;
    height: 2px;
    width: 100%;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
}

.range-input input[type="range"]::-webkit-slider-thumb {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    -webkit-appearance: none;
    pointer-events: auto;
    background: #006f3a;
}

input[type="range"]::-moz-range-thumb {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    -moz-appearance: none;
    pointer-events: auto;
    background: #006f3a;
    border: none;
}

.min-value .euro-span {
    position: absolute;
    left: 31px;
    top: 3px;
}

.max-value .euro-span {
    position: absolute;
    right: -1px;
    top: 3px;
}

.size-placeholder {
    font-size: 0.8rem;
}

.polygon-small-btn-bottom {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.nav-tabs-event-container {
    padding: 0.7em;
}

.image-logo-event {
    width: 100%;
    margin: auto;
}

/* Égalise la hauteur des cartes tournoi d'une même ligne Bootstrap.
   - La col Bootstrap (.tournoi-item) devient flex-column.
   - La carte interne .supp-event-container occupe 100% de la hauteur dispo.
   - Bootstrap aligne déjà les .col-xl-4 d'une .row à la hauteur de la plus
     grande, donc toutes les cartes finissent à la même taille. */
.tournoi-item {
    display: flex;
    flex-direction: column;
}

.tournoi-item > .supp-event-container {
    flex: 1 1 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Uniformise la zone logo des cartes de la liste tournois : container carré
   (aspect-ratio 1:1), logo contenu sans déformation. Sans cela, la zone se
   redimensionne selon le ratio du logo → cartes hétérogènes. Scopé à
   .tournoi-item pour ne pas impacter les autres usages de
   .polygan-div-top-bottom (onglets, etc.). */
.tournoi-item .col-3.polygan-div-top-bottom {
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 0;
}

.tournoi-item .col-3.polygan-div-top-bottom .image-logo-event {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0;
    padding: 10px;
}

.polygan-div-top-bottom {
    clip-path: polygon(20% 0%, 100% 0, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0 100%, 0% 20%);

}

.size-card-subtitle {
    font-size: 0.9em;
}

.evenement-type0,
.evenement-type1,
.evenement-type2 {
    padding: 0.8em;
    margin: 0.9em 0;

}

.evenement-type0 {
    background-color: rgba(0, 111, 58, 0.6);
    width: 100%;
}

.evenement-type1 {
    background-color: rgb(178 35 35);
    width: 100%;
}

.evenement-type2 {
    background-color: rgba(26, 61, 120, 0.6);
    width: 100%;
}

.supp-event-container {
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 20%, 100% 78%, 80% 100%, 20% 100%, 0 100%, 0 20%);
    padding: 2em;
    margin: 0;
}

.attente-bg {
    background: -webkit-linear-gradient(180deg, #010403, #02150c, #001c0e, #00401e, #04743a);
    background: linear-gradient(180deg, #010403, #02150c, #001c0e, #00401e, #04743a);
}

.inscri-bg {
    background: -webkit-linear-gradient(180deg, #060608, #12121c, #31304f, #31304f);
    background: linear-gradient(180deg, #060608, #12121c, #31304f, #31304f);
}

.finish-bg {
    background: #3b8840
}

.space-sub-type {
    white-space: nowrap;
}

.input-container {
    position: relative;
    display: inline-block;
}

.input-container input[type="date"] {
    padding-right: 39px;
    padding-left: 54px;
    height: 40px;
    border: 1px solid #006f3a;
    border-radius: 0;
    clip-path: polygon(10% 0, 100% 0, 100% 20%, 100% 80%, 100% 100%, 20% 100%, 0 100%, 0 40%);
}

.input-container .calendar-icon,
.input-container .close-icon {
    position: absolute;
    top: 56%;
    transform: translateY(-50%);
}

.input-container .calendar-icon {
    left: 10px;
    /* adjust the left position as needed */
}

.input-container .close-icon {
    right: 10px;
    /* adjust the right position as needed */
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

#effect {
    width: 100%
}

#events-container {
    transition: width 0.3s ease;
    overflow-x: hidden;
    /* Hide content that overflows the container horizontally */
}

.filter-btn {
    margin-left: -19px;
    margin-right: 19px;
}

.input-date-container {
    background: #006f3a;
    border: 1px solid #006f3aed;
    width: fit-content;
    margin: auto;
    clip-path: polygon(calc(100% - 185px) 0, 80% 0%, 100% 0, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0 calc(100% - 27px));
}


.mobile-position-filter {
    position: absolute;
    top: 30vh;
}

.btn-primary {
    font-weight: 700 !important;
}

/* #effect {
    width: 40vh;
    display: none; 
}

#events-container {
    transition: width 0.5s ease-in-out;
    overflow: hidden; 
}

@keyframes slideLeft {
    from { transform: translateX(100%); } 
    to { transform: translateX(0); }
}

@keyframes slideRight {
    from { transform: translateX(0); }
    to { transform: translateX(100%); } 
}


.slide-left {
    animation: slideLeft 0.5s ease-in-out;
}

.slide-right {
    animation: slideRight 0.5s ease-in-out;
} */

.link-no-style {
    color: inherit;
    text-decoration: inherit;
}

.event-month-slider .carousel-inner {
    text-align: center;
}

.tournois-event-title {
    font-weight: 750;
}

.modal-content {
    border-radius: 0;
    padding: 1em;
    /*clip-path: polygon(6% 0, 100% 0, 100% 20%, 100% 93%, 94% 100%, 20% 100%, 0 100%, 0 7%);*/
    clip-path: polygon(35px 0, 100% 0, 100% 35px, 100% 100%, calc(100% - 35px) 100%, 35px 100%, 0 100%, 0 35px);
}

 .btn-close {
    --bs-btn-close-bg: url("data:image/svg+xml;utf8;base64,PHN2ZyBpZD0iU3ZnanNTdmcxMDQyIiB3aWR0aD0iMjg4IiBoZWlnaHQ9IjI4OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2ZXJzaW9uPSIxLjEiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczpzdmdqcz0iaHR0cDovL3N2Z2pzLmNvbS9zdmdqcyI+PGRlZnMgaWQ9IlN2Z2pzRGVmczEwNDMiPjwvZGVmcz48ZyBpZD0iU3ZnanNHMTA0NCI+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI4OCIgaGVpZ2h0PSIyODgiPjxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0wIDBoMjR2MjRIMFYweiI+PC9wYXRoPjxwYXRoIGQ9Ik0xOSA2LjQxTDE3LjU5IDUgMTIgMTAuNTkgNi40MSA1IDUgNi40MSAxMC41OSAxMiA1IDE3LjU5IDYuNDEgMTkgMTIgMTMuNDEgMTcuNTkgMTkgMTkgMTcuNTkgMTMuNDEgMTIgMTkgNi40MXoiIGZpbGw9IiNjMGMxZDMiIGNsYXNzPSJjb2xvcjAwMCBzdmdTaGFwZSI+PC9wYXRoPjwvc3ZnPjwvZz48L3N2Zz4=");
    background: #818299 var(--bs-btn-close-bg) center/1em auto no-repeat;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% 20%, 100% 75%, 75% 100%, 20% 100%, 0 100%, 0% 20%);
}

.modal-header {
    border-bottom: 0
}

.tournament-modal .modal-dialog {
    max-width: 60%;
}

.bootstrap-select .dropdown-toggle .filter-option {
    border: 1px solid #dee2e6;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,
.bootstrap-select>.dropdown-toggle.bs-placeholder:active {
    outline: none !important;
}

.button-border-primary {
    width: fit-content;
    margin: auto;
}

.button-container-primary {
    border: none;
    width: 100%;
    background: white;
    margin: auto;
}

.gray-bg-border {
    background: gray;
    border: 1px solid gray;
}

.green-primary-color {
    color: #006f3a !important;
}

.green-primary-bg {
    background-color: #006f3a;
}

.green-primary-border {
    border: 1px solid #006f3a;
}

.number-bg-light {
    background: #d7daeb
}

.number-bg-light0 {
    background: #838bc7
}

.form-switch .form-check-input {
    width: 2.7em;
    height: 1.5em;
}

.checked-card-modal {
    width: 45%;
}

.img-focus-border:hover,
.img-focus-border:focus,
.img-focus-border:active {
    background-color: #006f3a;
    border: 1px solid #006f3a;

}

.card-modal-invitaion:hover {
    background: #006f3a;
    color: #fff !important;
}

.card-modal-invitaion:hover h5,
.card-modal-invitaion:hover p {
    color: #fff !important;
}

.card-modal-invitaion:hover button {
    background: white;
    color: #006f3a;

}

iframe {
    filter: invert(100%);
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* EXCEPTION — IFRAMES STRIPE
   -------------------------------------------------------------------------
   La règle `iframe` ci-dessus est GLOBALE et inverse les couleurs de TOUTES
   les iframes de la page. Or Stripe rend ses champs de paiement dans des
   iframes : tout ce qu'il affiche ressortait donc en négatif. Des champs
   blancs demandés à Stripe apparaissaient NOIRS, des libellés blancs
   apparaissaient noirs, et aucun réglage de l'objet `appearance` ne pouvait
   y changer quoi que ce soit — l'inversion est appliquée après le rendu.

   Concerne les 6 intégrations Stripe du site, pas seulement /tournoi/new.

   Stripe nomme ses iframes `__privateStripeFrame…` et les enveloppe dans
   `.__PrivateStripeElement` : on couvre les deux, plus nos propres
   conteneurs, au cas où ces noms internes changeraient.
   `border-radius` est également neutralisé, les champs étant carrés. */
iframe[name^="__privateStripeFrame"],
.__PrivateStripeElement iframe,
#payment-element iframe,
#payment-element-extra-teams iframe,
#payment-element-manual-add iframe,
#payment-element-wait-list iframe,
#payment-element-single iframe,
#club-payment-element iframe {
    filter: none !important;
    border-radius: 0 !important;
}

.intl-tel-input .selected-flag {
    z-index: 4;
}

.attente-list-container {
    width: 50%;
    margin-bottom: 22vh;
    padding: 2em;
}

.bg-color-name-card {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5em 1em 0.5em 0.2em;
}

.attente-modal .modal-dialog {
    max-width: 85%;
}

.supp-event-container0 {
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 20%, 100% 78%, 90% 100%, 20% 100%, 0 100%, 0 20%);
    padding: 2em;
    margin: 0;
}

.poule-title {
    color: rgba(4, 116, 58, 0);
    -webkit-text-stroke: 0.7px #Fff;
    text-shadow: 0px 1px 4px rgba(4, 116, 58, 0);
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
}

.clip-path-parallelogram {
    clip-path: polygon(100% 0, 98% 100%, 0 100%, 2% 0);
    -webkit-clip-path: polygon(100% 0, 98% 100%, 0 100%, 2% 0);

}

.poules-container0 .table>:not(caption)>*>* {
    border-bottom-width: 0.6em !important;
    padding-left: 1.5rem;
}

.poules-container0 tr {
    border-color: transparent;
}

.margin-plan-title {
    margin-left: 10rem;
}

.btn-white {
    border-radius: 0;
    background-color: #fff;
    border: none;
    color: #006f3a;
    font-weight: 900;
}

.second-slider tr {
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-width: 0.1em !important;
}

.second-slider table>:not(caption)>*>* {
    border-bottom-width: 0 !important;
    font-weight: 500 !important; 
    font-size: 1.2em;
}

.equipe-slider-second-form .carousel-control-next,
.equipe-slider-second-form .carousel-control-prev {
    top: -55%;

}

.equipe-slider-second-form .carousel-control-prev {
    right: 50px;
    left: auto;
}

.equipe-slider-second-form0 .carousel-control-next,
.equipe-slider-second-form0 .carousel-control-prev {
    top: -130%;

}

.equipe-slider-second-form0 .carousel-control-prev {
    right: 50px;
    left: auto;
}

.match-result-div {
    width: 100%;
    clip-path: polygon(8% 0, 100% 0, 100% 20%, 100% 70%, 93% 100%, 20% 100%, 0 100%, 0 37%);

}

.text-devider {
    writing-mode: vertical-lr;
    transform: rotate(191.5deg);
    margin-left: 0.8em;
}

.date-poules-text {
    margin-left: 2%;
    font-size: 0.7em;
}

.icon-btn-pen {
    border-radius: 50%;
    border: 1px solid #00401e;
    background-color: #fff;
    color: #00401e;
    padding: 0.5em;
    width: 40px;
    height: 40px;
    text-align: center;
}

.pen-edit-btn {
    top: -14px;
    right: -14px;
}

.pen-edit-btn-modal {
    top: 43px;
    right: 32px;
}

.margin-menu-tab {
    margin-top: 16.5px;
}

.top-header-container-plan {
    background: -webkit-linear-gradient(180deg, #000000, #070b17, #0d152c, #274083, #274083);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(180deg, #000000, #070b17, #0d152c, #274083, #274083);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    margin: 0 2em;
    clip-path: polygon(0 0, 100% 0, 100% 20%, 100% 90%, 92% 100%, 20% 100%, 0 100%, 0 22%);
}

.padding-modal-center {
    padding: 2em 6em;
}

.valid-btn-modal .btn-close {

    --bs-btn-close-bg: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAmklEQVR4nO2V0QrCMAxF+xPK/P8PSW6gikxEdod+jtIXkTFkG21QyHnpU3NIyG1TCoJgAznf9gIeRYnkKVWQCj5Fh7OL1Oy6E3AoUgUfImMX0mrEeH97vAqeVHkp2duS03KuuftGwX5NgSrSuZEB90Py2l5bIG8WGfsib55Tm5G7PQ55sjxVFmkpky79fpmPzkvU+uadBsHf8gK8sVRUWrzRZwAAAABJRU5ErkJggg==");
    background: #006f3a var(--bs-btn-close-bg) center/1em auto no-repeat;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% 20%, 100% 75%, 75% 100%, 20% 100%, 0 100%, 0% 20%);
}

.close-btn-modal .btn-close {
    --bs-btn-close-bg: url("data:image/svg+xml;utf8;base64,PHN2ZyBpZD0iU3ZnanNTdmcxMDQyIiB3aWR0aD0iMjg4IiBoZWlnaHQ9IjI4OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2ZXJzaW9uPSIxLjEiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczpzdmdqcz0iaHR0cDovL3N2Z2pzLmNvbS9zdmdqcyI+PGRlZnMgaWQ9IlN2Z2pzRGVmczEwNDMiPjwvZGVmcz48ZyBpZD0iU3ZnanNHMTA0NCI+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI4OCIgaGVpZ2h0PSIyODgiPjxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0wIDBoMjR2MjRIMFYweiI+PC9wYXRoPjxwYXRoIGQ9Ik0xOSA2LjQxTDE3LjU5IDUgMTIgMTAuNTkgNi40MSA1IDUgNi40MSAxMC41OSAxMiA1IDE3LjU5IDYuNDEgMTkgMTIgMTMuNDEgMTcuNTkgMTkgMTkgMTcuNTkgMTMuNDEgMTIgMTkgNi40MXoiIGZpbGw9IiNjMGMxZDMiIGNsYXNzPSJjb2xvcjAwMCBzdmdTaGFwZSI+PC9wYXRoPjwvc3ZnPjwvZz48L3N2Zz4=");
    background: #818299 var(--bs-btn-close-bg) center/1em auto no-repeat;
    border-radius: 0;
    clip-path: polygon(19% 0, 100% 0, 100% 20%, 100% 100%, 86% 100%, 20% 100%, 0 100%, 0 40%);
}

.polygan-div-planQuars {
    clip-path: polygon(6% 0%, 100% 0, 100% 20%, 100% 82%, 93% 100%, 20% 100%, 0 100%, 0% 17%);
}

.plan-quarts-div {
    width: 70%;
}

.gray-color {
    color: #82829a;
}

.bg-gray-color {
    background-color: #82829a;
}

.event-section-container {
    padding-top: 9em;
}

.title-size {
    font-size: 3.5em;
}

.participant-container {
    background: #fff;
    padding: 2em;
    clip-path: polygon(11% 0, 80% 0%, 100% 0, 100% 77%, 89% 100%, 20% 100%, 0 100%, 0 20%);
    margin-bottom: 5em;
    width: 30%;
    height: 250px;
}

.bg-red {
    background-color: #c8251f;
}

.text-red {
    color: #c8251f;
}

.numero-form-container .input-group-text {
    background-color: #fff;
    border-radius: 0;
    color: #c7c7c9;
    border: 1px solid #dee2e6;
    clip-path: none;
    border-right: none;
}

.numero-form-container .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-left: none;
}

.numero-form-container .input-group {
    width: 100px;
}

.numero-form-container .form-control {
    border-radius: 0;
}

.bg-container-ajoute {
    background: -webkit-linear-gradient(180deg, #cecfe3, #dddcea, #e6e6f0);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(180deg, #cecfe3, #dddcea, #e6e6f0);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    clip-path: polygon(6% 0%, 100% 0, 100% 20%, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0% 25%);

}

.bg-title-add-j {
    background-color: #828398;
    padding: 0.3em 2.5em;
}

.add-j-container {
    width: 90%;
    margin: auto;
}

.second-j-container {
    width: 80%;
}

.poly-small-div-r {
    clip-path: polygon(20% 0%, 80% 0%, 100% 0, 100% 80%, 96% 100%, 20% 100%, 0 100%, 0 0);

}

.table-bordered {
    border: transparent;
}

.th-poule-Modal {
    background-color: #38385a;
    color: #fff;
    padding: 0.5em 1em;
    clip-path: polygon(11% 0, 80% 0%, 100% 0, 100% 100%, 96% 100%, 20% 100%, 0 100%, 0 33%);
    width: 100%;
    /* Max 2 lignes ; "..." si dépasse. Tooltip natif via title (cf. tournoi.js). */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    text-align: center;
    line-height: 1.15;
}

/* Flèches scroll pour le tableau quand il déborde (plus de poules que ce
   que le modal peut afficher). Injectées en JS au moment du show modal. */
.modal-table-scroll-wrapper {
    position: relative;
}
.modal-table-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background-color: #026633;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
    transition: background-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
    /* Carré avec petite découpe sur le coin HAUT-GAUCHE (~25% = 9 px sur 36 px).
       clip-path rogne toute déco extérieure (border, ombre tronquée), donc on
       garde fond + couleur sans bordure ni shadow. */
    border-radius: 0;
    -webkit-clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%, 0 25%);
    clip-path:         polygon(25% 0, 100% 0, 100% 100%, 0 100%, 0 25%);
}
.modal-table-scroll-arrow.left  { left: -14px; }
.modal-table-scroll-arrow.right { right: -14px; }
.modal-table-scroll-arrow:hover {
    background-color: #038a44;
    transform: translateY(-50%) scale(1.06);
}
.modal-table-scroll-arrow:active {
    transform: translateY(-50%) scale(0.95);
}
.modal-table-scroll-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}
.modal-table-scroll-arrow > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.table-form-container0 .table>:not(caption)>*>* {
    padding: 0.1rem 0.5rem;
}

/* Wrapper scrollable injecté en JS autour de chaque <table> du modal :
   contraint la largeur visible et active le scroll horizontal si beaucoup
   de poules. La table elle-même peut grandir au-delà via min-width:max-content. */
.modal-table-scroll-box {
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    /* Scrollbar discrète mais visible — l'utilisateur sait que c'est scrollable. */
    scrollbar-width: thin;
}
.modal-table-scroll-box::-webkit-scrollbar         { height: 6px; }
.modal-table-scroll-box::-webkit-scrollbar-thumb   { background-color: rgba(0,0,0,0.3); border-radius: 3px; }
.modal-table-scroll-box::-webkit-scrollbar-track   { background: transparent; }
.modal-table-scroll-box > table {
    min-width: max-content;
    margin-bottom: 0 !important;
}

.td-poule-number {
    background-color: #f1a43c;
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0.3em 1em;

}

.td-poule {
    padding: 0.5em;
}

.td-poule.selected {
    border: 1px solid #006f3aed;
}

.attente-modal .tournament-modal .modal-dialog {
    max-width: 70%;
}

.supp-event-container0 {
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 20%, 100% 74%, 87% 100%, 20% 100%, 0 100%, 0 20%);
    padding: 2em;
    margin: 0;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-info {
    margin: 0 15px;
}

.btn-secondary:disabled {
    cursor: not-allowed;
}

.prev-pagination {
    opacity: 1;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 0;
    clip-path: polygon(20% 0, 100% 0, 100% 20%, 100% 99%, 84% 100%, 13% 100%, 0 74%, 0 0);

}

.next-pagination {
    opacity: 1;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 0;
    clip-path: polygon(20% 0, 100% 0, 100% 20%, 100% 68%, 79% 100%, 20% 100%, 0 100%, 0 0);
}

.card-finales {
    border-radius: 0;
}

.card-finales .card-header:first-child {
    border-radius: 0;
}

.custom-col {
    position: relative;
}

.custom-col:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    width: 2px;
    height: 85%;
    background-color: #b0c0b9;
    opacity: 0.5;
}

.icon-btn-trash {
    border-radius: 0px;
    border: 1px solid #c8251f;
    background-color: #c8251f;
    color: #fff;
    padding: 0.1em;
    width: 30px;
    height: 30px;
    text-align: center;
}

.trash-container-position {
    top: 8px;
    right: 20px !important;
}
/* Conteneur d'une phase finale (pose par finales.js et finale_item_ajax.html.twig,
   toujours avec `.phase-finale-item`).

   La decoupe etait en pourcentages : `0 8%` et `100% 93%` se calculent sur la
   HAUTEUR de l'element, qui varie enormement d'une phase a l'autre (une finale
   tient sur une carte, un 1/8 en compte huit). Le biseau grossissait donc avec
   la phase et aucune n'avait le meme. En pixels, il est identique partout et a
   toutes les largeurs.

   35px : meme valeur que `.modal-content` et `.polygon-div-bottom`, et proche
   de ce que donnaient les 3% de largeur en desktop (~34px sur un container de
   1140px) — le rendu desktop est donc quasi inchange. */
.poly-div-phase{
    -webkit-clip-path: polygon(35px 0, 100% 0, 100% calc(100% - 35px), calc(100% - 35px) 100%, 0 100%, 0 35px);
    clip-path: polygon(35px 0, 100% 0, 100% calc(100% - 35px), calc(100% - 35px) 100%, 0 100%, 0 35px);
}
.bg-input-gray {
    background-color: #eeeeee;
}
.rounded-arrow-trans {
    border-radius: 50%;
    border: 1px solid #006f3a;
    background-color: #fff;
    color: #00401e;
    padding: 0.5em;
    width: 40px;
    height: 40px;
    text-align: center;
}


/*
###############################
NEW STYLE FOR GAMES
*/


.parallelogram-plus-icon {
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    /* background-color: #cfb0b0;
    /* border: 1px solid #026633; */
    /* width: 30px;
    height: 30px; */
    /* width: 30px; */
    height: 27px;
}

.parallelogram-border {
    background: #026633;
    border: 1px solid #026633;
    width: fit-content;
    /* margin: auto; */
}

.parallelogram-container {
    border: none;
    width: 30px;
    height: 25.5px;
    background: white;
    color: #026633;
    margin: auto;

}

.bi-plus {
    font-size: 20px;
    color: #026633;
    font-weight: 300;
}

.transform-center {
    transform: translateX(-50%);
}

.img-bg-table {
    top: -60px;
}

.bottom-line {
    border-bottom: 1px solid #ccc;
}

.bottom-line:last-child {
    border-bottom: none;
}

.edit-pen-title-position {
    top: 50%;
    transform: translateY(-50%);
    right: -30%;

}

.font-text-tab {
    font-size: 12px;
}

.img-bg-table0 {
    top: 0;
}

ul.dropdown-menu.show {
    clip-path: polygon(10% 0%, 100% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 100%, 0% 10%);
    border-radius: 0;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: rgba(16, 129, 71, 0.5);
}

.card-finales-20 {
    width: 50%;
}

.font-btn-topbar {
    font-size: 12px;
}

.match-tab-nav.nav-tabs .nav-link {
    border: none;
    padding: 0;
}


.match-tab-nav .form-select{
    border: none;
        padding-top: 0px;
    padding-bottom: 0px;
    padding-left:15px;
    /*padding: 0;
    --bs-form-select-bg-img: none;
    text-align: center;
    margin: auto;
    width: auto!important;*/
}
.match-tab-nav .form-control:focus, .form-select:focus, .form-check-input:focus {
   border: none;
   box-shadow: none !important;
}

.dropstart .dropdown-toggle::before ,.dropend .dropdown-toggle::after, .dropdown-toggle::after, .match-tab-nav .nav-link::before {
    display: none;
}
.match-tab-nav.nav-tabs{
    border: none;
}
.width-60{
    width: 60%;
}
.width-80{
    width: 80%;
}



.equipe-container {
    position: relative;
    width: 50%;
    /* background: rgba(247, 243, 243, 0.3);
    border: 1px solid rgba(247, 243, 243, 0.3); */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1;
}

.equipe-shild-container {
    width: calc(100% - 1px);
    height: 95%;
    background: rgba(134, 123, 123, 0.3);

}

.button-border {
    background: red;
    border: 1px solid red;
    width: fit-content;
    margin: auto;
}

.button-container {
    border: none;
    width: 130px;
    height: 30px;
    background: white;
    color: red;
    margin: auto;
    font-size: 1em;
    font-weight: 600 !important;
}
.button-border-GREEN {
    background: #006f3a;
    border: 1px solid #006f3a;
    width: fit-content;
    margin: auto;
}

.button-container-GREEN {
    border: none;
    width: 15vw;
    padding: 1rem;
    height: 30px;
    background: white;
    color: #006f3a;
    margin: auto;
    font-size: 1em;
    font-weight: 600 !important;
}

/* Disabled state for the "same-match-score" save button while an AJAX
   save is in flight. Paired with the JS re-entrancy guard in games.js —
   the visual cue tells the user the click was registered and the button
   is temporarily locked. */
.same-match-score:disabled,
.same-match-score.is-saving {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.button-border-JAUNE {
    background: #ff960d;
    border: 1px solid #ff960d;
    width: fit-content;
    /* margin: auto; */
}

.button-container-JAUNE {
    border: none;
    width: auto;
    padding: 0.4rem 1rem;
    height: 25px;
    background: white;
    color: #ff960d;
    margin: auto;
    font-size: 1em;
    font-weight: 600 !important;
}
.button-border-RED {
    background: #c8251f;
    border: 1px solid #c8251f;
    width: fit-content;
    margin: auto;
}

.button-container-RED {
    border: none;
    width: 15vw;
    padding: 1rem;
    height: 30px;
    background: white;
    color: #c8251f;
    margin: auto;
    font-size: 1em;
    font-weight: 600 !important;
}

.game-item{
    display: flex;
}

.games-ctnr{
    display: flex;
    flex-wrap: wrap;
}
.game-item{
    flex: 0 1 50%;
    max-width: 50%;   /* extra guard against growth */
    box-sizing: border-box;
    padding: 10px;
}

.is_forfait{
    background-color: #006f3a;
}

/***********teblepoules**************/
.custom-table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

.custom-table thead {
    background-color: #0B5D1E;
    color: white;
}

.custom-table tbody td {
    font-weight: bold;
    font-style: italic;
}

.custom-table tbody td:not(:empty) {
    color: #373759; 
}

.custom-table tbody td:empty {
    background-color: #F8F9FA;
}
.table-title-container{
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    background-color: #026633;
    color: #fff; 
    padding: 1.5em 1em ;
}

.poule-table .table>:not(caption)>*>* {
    padding: 0.1rem !important;
    border-bottom-width: 0em !important;
}
.poule-table .custom-table tbody td:not(:empty) {
    padding: 0.2em 0.5em  !important;
    
}
.poule-table .custom-table th, 
.custom-table td {
    border: 1px solid #82829B ;
    color: #373759;
    padding: 0px;
    font-weight: bold;
    text-align: center !important;  
    vertical-align: middle !important;
}
.poule-table .custom-table thead tr th {
    border-bottom: 1px solid transparent !important;
}
.custom-table thead th:nth-child(2), .custom-table thead td:nth-child(2), .custom-table tbody td:nth-child(2) {
    color: #108147 !important;
    border-color: #108147 !important;
    background-color: #b9d8ca;
    border: 1px solid #108147 ;
}

.custom-table tbody tr td:first-child, .custom-table thead th:first-child {
    border-right: 1px solid #108147 !important;
}

.disabled-item{
    opacity: 0.5;
    pointer-events: none;
}

.poules-score-ctnr{
    display: flex;
    flex-wrap: wrap;
    --poule-stat-col-width: 34px;
}

.poules-score-ctnr .poule-table{
    flex: 0 0 50%; /* Ne permet pas la croissance */
    width: 50%;    /* Assure une largeur de 50% */
    box-sizing: border-box;
    padding: 10px;
}

.poules-score-ctnr .custom-table{
    width: 100%;
    table-layout: fixed;
}

.poules-score-ctnr .custom-table th:not(:first-child),
.poules-score-ctnr .custom-table td:not(:first-child){
    width: var(--poule-stat-col-width);
}

.poules-score-ctnr .custom-table th:first-child,
.poules-score-ctnr .custom-table td:first-child{
    text-align: left !important;
}

.poules-score-ctnr .custom-table td:first-child{
    white-space: nowrap;
}

.poules-score-ctnr .custom-table td:first-child > div{
    min-width: 0;
}

.poules-score-ctnr .custom-table td:first-child span:last-child{
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sponsor-container {
    clip-path: polygon(6% 0, 100% 0, 100% 20%, 100% 88%, 94% 100%, 20% 100%, 0 100%, 0 12%);
    height: 100%;
}

.logo-upload-box {
    width: 200px;
    border: 2px dashed #6c757d;
    border-radius: 8px;
    padding: 30px 15px;
    background-color: #f8f9fa;
    position: relative;
    cursor: pointer;
    margin: auto;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-upload-box:hover {
    border-color: #00401e;
    background-color: #f0f2f5;
}

.upload-icon {
    width: 50px;
    margin-bottom: 15px;
}

.logo-text {
    font-weight: bold;
    color: #6c757d;
    margin-bottom: 5px;
    font-size: 18px;
    text-transform: uppercase;
}

.file-types {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 0;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}
.icon-btn-trash0 {
    border-radius: 0;
    border: 1px solid #C72520;
    background-color: #fff;
    color: #C72520;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.disabled_display_op{
    opacity: 0.7;
}

.qr-ctnr{
    position: relative;
}
.qr-ctnr img{
    position: relative;
    z-index: 1;
}
.qr-ctnr:after{
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.poule-club-item>div{
    display: flex;
}

.tournoi-poule-club-item-name{
        white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 82%;
}
.carousel.carousel-reglements{
      padding-left: 5px;
    padding-right: 5px;  
}

.toast.toast-error,.toast.toast-success{
    opacity: 1!important;
    border-radius: 0px!important;
    font-size: 17px!important;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
    background-size: 15px!important;
}

.toast.toast-success{
    background-color: #026633;
}
.for-score.show{
    max-height: 170px;
    overflow: auto;
}

/* Homme du match dropdown (same scroll behavior as goal scorers) */
#scoreModal .dropdown-menu.show:not(.for-score){
    max-height: 170px;
    overflow: auto;
}

@keyframes slideUp {
  from {
    transform: translateX(0%) translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateX(-0%) translateY(0);
    opacity: 1;
  }
}


/* ================================
   TERRAIN LIST = horizontal rail
   ================================ */
.journey-container .terrain-list-ctnr{
  /* Firefox */
  scrollbar-width: auto;               /* thin | auto */
  scrollbar-color: #053b21 #012d16;
}

/* Chrome / Edge / Safari */
.journey-container .terrain-list-ctnr::-webkit-scrollbar{
  height: 18px;                        /* ✅ augmente ici */
}
.journey-container .terrain-list-ctnr::-webkit-scrollbar-track{
  background: #012d16;
  border-radius: 18px;
}
.journey-container .terrain-list-ctnr::-webkit-scrollbar-thumb{
  background: #053b21;
  border-radius: 18px;
  border: 3px solid #012d16;          /* ✅ donne du “volume” */
}
.journey-container .terrain-list-ctnr::-webkit-scrollbar-thumb:hover{
  background: #064626;
}
.journey-container .terrain-list-ctnr{
  position: relative;
}
/*
.journey-container .terrain-list-ctnr::before{
  content:"";
  position: sticky;
  top: 0;
  left: 0;
  display: block;
  height: 6px;                 
  width: 100%;
  background: #012d16;
  border-radius: 999px;
  margin-bottom: 10px;
  z-index: 2;
}*/
.journey-list-container{
        padding-left: 30px !important;
    padding-right: 30px !important;
}
/* ton conteneur terrains est déjà un .row => display:flex.
   On force juste le nowrap + overflow-x */
.journey-container .terrain-list-ctnr {
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;

  /* important pour que le scroll soit fluide */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;

  /* évite le "rubber band" qui casse le drag parfois */
  overscroll-behavior-x: contain;

  /* petit confort */
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Chaque terrain devient une "carte" de largeur fixe => scroll horizontal */
.journey-container .terrain-list-ctnr > .terrain-item {
  flex: 0 0 auto !important;

  /* ajuste selon ton UI */
  width: 300px;          /* <- tu peux mettre 320/360 */
  max-width: 300px;
}

/* Optionnel : si tu veux un peu plus compact sur mobile */
@media (max-width: 768px) {
  .journey-container .terrain-list-ctnr > .terrain-item {
    width: 85vw;
    max-width: 85vw;
  }
}

/* Important : pour que les listes de matchs restent scrollables verticalement
   sans casser le drag horizontal de la liste des terrains */
 
.ui-sortable-helper{
  z-index: 9999999 !important;
  opacity: 1 !important;
  display: block !important;
  visibility: visible !important;
}


.terrain-item .terrain-name{
    cursor:grabbing;
}

.full-match-list-parent-ctnr{
    height: 100%; 
}



.full-match-list-ctnr{
    overflow-y: auto;
    height: 500px;
}
.col-3-col-md-3-col-lg-3-col-xl-3{
    position: sticky;
    top:50px;
    align-self: flex-start;
}

/* -----------------------------------------------------------------------
   Fix hover Bootstrap 5.3 pour les classes bouton UFT
   -----------------------------------------------------------------------
   Bootstrap 5.3 .btn:hover applique color/bg/border via CSS variables
   (--bs-btn-hover-*) que nos classes maison ne définissent PAS → au
   hover, fond transparent + texte bleu (défaut anchor).
   Solution : règles :hover explicites (spécificité 0-2-0 = celle de
   .btn:hover). Comme notre CSS est chargé APRÈS le CDN Bootstrap, ces
   règles gagnent le cascade. Feedback visuel unifié : opacity 0.85.
   ----------------------------------------------------------------------- */
.btn-green-elec-md-active:hover {
    background-color: #026633;
    color: #ffffff;
    opacity: 0.85;
}
.btn-green-elec-md-white:hover {
    background-color: #ffffff;
    color: #026633;
    opacity: 0.85;
}
.uft-red-signal-btn:hover,
.btn-green-elec-md-white.uft-red-signal-btn:hover {
    background-color: #C72520;
    color: #ffffff;
    opacity: 0.85;
}
/* Filet de sécurité générique : on remet les variables Bootstrap hover à
   `initial`. Pour les CSS custom properties, `initial` = guaranteed-invalid
   value. Résultat : `var(--bs-btn-hover-bg)` devient invalide au computed
   time → la déclaration `background-color: var(--bs-btn-hover-bg)` est
   ignorée → la valeur normale du bouton (posée par la classe UFT ou autre)
   reste en place. Feedback visuel : opacity 0.85. */
.btn:hover {
    --bs-btn-hover-color: initial;
    --bs-btn-hover-bg: initial;
    --bs-btn-hover-border-color: transparent;
    border-color: transparent !important;
    opacity: 0.85;
}
