@font-face {
    font-family: 'KohLantaFont';
    src: url('vfc_fantomen_press-webfont.woff2') format('woff2'),
         url('vfc_fantomen_press-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5 ,h6, .nav-link, .navbar-brand {
    font-family: KohLantaFont, "Helvetica Neue", Arial, sans-serif;
}

.nav-link, .navbar-brand {
    font-size: 1.5em;
}

body {
 background: url("background.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
 background-color: #cccccc;
}

#content, #footer {
    padding-top: 1em;
    padding-bottom: 1em;
    background-color: #ffffff;
    opacity: 1;
}
/*.btn-dark {*/
/*    font-size: 1.5em;*/
/*}*/

div.img-grayscale img {
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
  filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */
}

/*!* Disable grayscale on hover *!*/
/*div.img-grayscale img:hover {*/
/*  -webkit-filter: grayscale(0);*/
/*  filter: none;*/
/*}*/

.bg-purple {
    background-color: slateblue!important;
}

.bg-green {
    background-color: forestgreen!important;
}

.bg-blue {
    background-color: dodgerblue!important;
}

.custom-diamond-list {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0; /* Optional: Remove padding if desired */
}

.custom-diamond-list li {
    padding-left: 20px; /* Provide space for the custom bullet */
    position: relative; /* Needed for absolute positioning of the pseudo-element */
}

.custom-diamond-list .diamond-eliminated:before {
    content: "◆"; /* Diamond shape */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gray-dark);
}

.custom-diamond-list .diamond-green:before {
    content: "◆"; /* Diamond shape */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
}

.custom-diamond-list .diamond-purple:before {
    content: "◆"; /* Diamond shape */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--purple);
}

.custom-diamond-list .diamond-blue:before {
    content: "◆"; /* Diamond shape */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--blue);
}

.custom-diamond-list .diamond-white:before {
    content: "◆"; /* Diamond shape */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--light);
}

.custom-diamond-list .diamond-yellow:before {
    content: "◆"; /* Diamond shape */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--warning);
}

.custom-diamond-list .diamond-red:before {
    content: "◆"; /* Diamond shape */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--danger);
}

.custom-diamond-list .diamond-unknown:before {
    content: "◆"; /* Diamond shape */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--dark);
}

.team-white {
    background-color: var(--light); /* Blanc */
    color: #000000 !important; /* Texte noir */
}

.team-yellow {
    background-color: var(--warning); /* Jaune */
    color: #000000 !important; /* Texte noir */
}

.team-red {
    background-color: var(--danger); /* Rouge */
    color: #ffffff !important; /* Texte blanc */
}

.team-purple {
    background-color: var(--purple); /* Violet */
    color: #ffffff !important; /* Texte blanc */
}

.team-blue {
    background-color: var(--blue); /* Bleu */
    color: #ffffff !important; /* Texte blanc */
}

.team-green {
    background-color: var(--green); /* Vert */
    color: #ffffff !important; /* Texte blanc */
}

.team-unknown {
    background-color: var(--dark); /* Gris pour les équipes inconnues */
    color: #ffffff !important; /* Texte noir */
}

/* ===== Pick card UI ===== */

.pick-counter-bar {
    position: sticky;
    top: 0;
    z-index: 1020;
    font-family: KohLantaFont, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.25rem;
    text-align: center;
}

.pick-team-header {
    font-family: KohLantaFont, "Helvetica Neue", Arial, sans-serif;
}

.pick-card {
    border: 3px solid transparent;
    border-radius: 0.5rem;
    padding: 0.75rem 0.5rem 0;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
}

.pick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pick-card--selected {
    border-color: #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.4);
}

.pick-card__check {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 1.4rem;
    color: #fff;
    background: #28a745;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 2;
}

.pick-card--selected .pick-card__check {
    opacity: 1;
}

.pick-card__img-wrapper {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    padding: 4px;
}

.pick-card__img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.pick-card__body {
    padding-bottom: 0.5rem;
}

.pick-card__name {
    font-size: 0.85rem;
}

.pick-card__info {
    font-size: 0.75rem;
}

.pick-card--eliminated {
    cursor: not-allowed;
    opacity: 0.6;
}

.pick-card--eliminated:hover {
    transform: none;
    box-shadow: none;
}

.pick-card--eliminated .pick-card__img {
    filter: grayscale(1);
}

@keyframes pick-card-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.pick-card--shake {
    animation: pick-card-shake 0.4s ease;
}

@media (min-width: 768px) {
    .pick-card__img-wrapper {
        width: 108px;
        height: 108px;
    }
    .pick-card__name {
        font-size: 0.95rem;
    }
}

@media (min-width: 992px) {
    .pick-card__img-wrapper {
        width: 118px;
        height: 118px;
    }
}

/* ===== Pick list (display-only) cards ===== */

.pick-list-card {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.pick-list-card:hover {
    text-decoration: none;
    color: inherit;
}

.pick-list-card__name {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.25rem;
    line-height: 1.2;
}

.pick-card--eliminated-img {
    filter: grayscale(1);
}

/* ===== Candidate detail page ===== */

.candidate-detail__img-wrapper {
    width: 150px;
    height: 150px;
}