/* Custom styles for score displays */
.progress {
    background-color: #e9ecef;
    border-radius: 4px;
}
.score-progress {
    height: 20px;
    background-color: #f1f3f5;
}

.score-progress .progress-bar {
    background-image: linear-gradient(90deg, #ff6b6b, #f9a602);
    transition: width 0.6s ease;
}
.bg-main-50 {
    background-color: #f9fafb;
}

.result-container {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.score-text {
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

.result-score p {
    font-size: 18px;
    font-weight: 500;
}

.correct-answers h2 {
    font-size: 28px;
    color: #007bff;
    font-weight: 600;
}

.question-block {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.question-text {
    font-size: 20px;
    font-weight: bold;
    color: #343a40;
}

.correct-answers li {
    font-size: 16px;
    margin-left: 20px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 10px 30px;
    font-size: 18px;
    border-radius: 25px;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.fa-check-circle,
.fa-times-circle {
    margin-right: 10px;
}

/* Modal styles for detailfor page */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
}
#videoFrame {
    border: none;
}
.video-modal .modal-header {
    background-color: #000;
    color: #fff;
    border-bottom: none;
}
.video-modal .modal-body {
    background-color: #000;
    padding: 0;
}

/* Styles for single update content */
.single-update__content {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Indicateur pour les champs obligatoires */
label.required::after {
    content: ' *';
    color: red;
}

/* Ajustements du slider principal pour mobile */
@media (max-width: 767px) {
    .main-slider .image-layer {
        background-position: center center;
        background-size: contain;
        transform: none;
        transition: none;
    }
    .main-slider .swiper-slide {
        min-height: 100vh;
    }
}

/* Keep social share buttons visible */
.btn-outline-primary,
.btn-outline-success,
.btn-outline-danger {
    opacity: 1 !important;
    visibility: visible !important;
}
