/* ---- Global Styles ---- */
.video-display-page {
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* ---- Bouton Retour ---- */
.btn-back {
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 50px;
    font-size: 1rem;
    padding: 0 18px !important;
    max-width: 100%;
    min-height: 48px;
    line-height: 1.2 !important;
    text-align: center !important;
    vertical-align: middle;
}

/* ---- Informations du Concurrent ---- */
.concurrent-info {
    text-align: center;
    margin-bottom: 60px;
}

.concurrent-info i {
    color: #BC2022;
    margin-right: 8px;
}

.concurrent-info p {
    margin: 15px 0;
    font-size: 1.3rem;
    font-weight: bold;
}

/* ---- Vidéo Container ---- */
.video-container {
    margin: 0 auto 50px auto;
    max-width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px; /* Taille maximale pour les deux lecteurs */
    margin: 0 auto; /* Centrage horizontal */
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%; /* Assure que la vidéo prend toute la largeur */
    height: auto; /* Ajuste la hauteur automatiquement */
}

/* ---- Message vidéo indisponible ---- */
.video-status-message {
    max-width: 760px;
    margin: 40px auto 60px auto;
    padding: 22px 24px;
    border: 1px solid #d8d8d8;
    border-left: 5px solid #BC2022;
    border-radius: 8px;
    background: #ffffff;
    color: #343a40;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ---- Bouton Play Personnalisé ---- */
.custom-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: color 0.3s ease;
}

.custom-play-btn:hover {
    color: #BC2022;
}

/* ---- Bouton Télécharger ---- */
.btn-download {
    box-sizing: border-box;
    font-size: 1rem;
    padding: 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 40px auto 0 auto;
    text-align: center !important;
    max-width: 100%;
    min-height: 40px;
    line-height: 1.2 !important;
    white-space: normal;
    vertical-align: middle;
}

/* ---- Responsive Adjustments ---- */
@media (max-width: 768px) {
    .btn-back {
        margin-bottom: 20px;
    }

    .concurrent-info {
        margin-bottom: 50px;
    }

    .concurrent-info p {
        font-size: 1.1rem;
    }

    .video-wrapper {
        max-width: 100%; /* Pleine largeur sur mobile */
    }

    .btn-download {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}
