/* Video Review System Styles */
#video-review-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

#video-player-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

#video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
}

#main-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#main-video iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#video-review-container p {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 0px;
}

#countdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#countdown-timer {
    font-size: 120px;
    font-weight: bold;
    color: #ff0000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    line-height: 1;
}

#countdown-text {
    font-size: 24px;
    color: #ff0000;
    font-weight: bold;
    margin-bottom: 20px;
}

#countdown-message {
    font-size: 18px;
    color: #ffffff;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 500;
}

#scoring-section {
    text-align: center;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#scoring-instruction {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 500;
}

#scoring-instruction .score {
    color: #007cba;
    text-decoration: underline;
    cursor: pointer;
}

/* Highlight "score" in the instruction text */
#scoring-instruction::after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #007cba, transparent);
    margin-top: 5px;
}

#score-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.score-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #000;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.score-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.score-btn.selected {
    background: #ff0000;
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.score-btn:active {
    transform: scale(0.95);
}

#video-info {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: left;
    display: none !important;
}

#video-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

#video-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.kg-awards-videos-page-main .page-header,
.kg-awards-videos-page-main header#site-header {
    display: none;
}

.kg-awards-videos-page-main .page-content {
    padding: 80px 0;
    text-align: center;
}

.kg-awards-videos-page-main .page-content figure img {
    max-width: 180px;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    #countdown-timer {
        font-size: 80px;
    }

    #countdown-text {
        font-size: 18px;
    }

    #countdown-message {
        font-size: 16px;
        padding: 10px 20px;
    }

    .score-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    #score-buttons {
        gap: 10px;
    }

    .kg-awards-videos-page-main .page-content {
        padding: 40px 0;
    }

    .kg-awards-videos-page-main .page-content figure img {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    #countdown-timer {
        font-size: 60px;
    }

    .score-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    #scoring-instruction {
        font-size: 16px;
    }
}

.spinner {
    border: 4px solid #f3f3f3;
    /* Light grey */
    border-top: 4px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.video-review-buttons .video-review-button {
    position: relative;
    z-index: 10;
}

.video-review-buttons .video-review-button img {
    max-width: 40px;
}

.kg-awards-videos-page-main .page-content #video-review-container #video-player-container #video-wrapper #countdown-overlay #countdown-text {
    color: #f2133e;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
}

.kg-awards-videos-page-main .page-content #video-review-container #video-player-container #video-wrapper #countdown-overlay #countdown-message {
    font-size: 30px;
    padding: 0;
    background: transparent;
    font-weight: 300;
    line-height: 1.4;
    max-width: 480px;
    width: 100%;
}

.kg-awards-videos-page-main .page-content #video-review-container #video-player-container #video-wrapper #countdown-overlay #countdown-timer {
    color: #f2133e;
    margin: 0;
}

.kg-awards-videos-page-main .page-content #video-review-container #video-player-container #video-wrapper #countdown-overlay {
    background: #171c229e;
}

.kg-awards-videos-page-main .page-content #video-review-container #scoring-section {
    box-shadow: unset;
    padding: 0;
    margin: 0 0 40px;
}

.kg-awards-videos-page-main .page-content #video-review-container #scoring-section #scoring-instruction {
    margin-bottom: 20px;
}

.kg-awards-videos-page-main .page-content #video-review-container #scoring-section #scoring-instruction::after {
    display: none;
}

.kg-awards-videos-page-main .page-content #video-review-container #video-player-container {
    margin-bottom: 40px;
}

.kg-awards-videos-page-main .page-content #video-review-container #scoring-section #score-buttons {
    gap: 10px 25px;
}

.kg-awards-videos-page-main .page-content #video-review-container #scoring-section #score-buttons button {
    width: 45px;
    height: 45px;
    padding: 0;
    box-shadow: unset;
}

.kg-awards-videos-page-main .page-content #video-review-container #scoring-section #score-buttons button:hover {
    transform: unset;
    box-shadow: unset;
    background: #f2133e;
}

@media screen and (max-width: 991px) {
    .kg-awards-videos-page-main .page-content #video-review-container #video-player-container #video-wrapper #countdown-overlay #countdown-text {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .kg-awards-videos-page-main .page-content #video-review-container #video-player-container #video-wrapper #countdown-overlay #countdown-message {
        font-size: 24px;
        line-height: 1.3;
    }

    .kg-awards-videos-page-main .page-content #video-review-container #scoring-section #score-buttons {
        gap: 12px;
    }

    .kg-awards-videos-page-main .page-content #video-review-container #scoring-section #score-buttons button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .kg-awards-videos-page-main .page-content #video-review-container #scoring-section #scoring-instruction {
        margin-bottom: 15px;
    }

    .kg-awards-videos-page-main .page-content #video-review-container #video-player-container #video-wrapper {
        padding-bottom: 85%;
    }
}

.kg-awards-videos-page-main .page-content #video-review-container #video-player-container #video-wrapper .video-review-buttons {
    position: absolute;
    left: 30px;
    right: auto;
    top: auto;
    bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kg-awards-videos-page-main .page-content #video-review-container #video-player-container #video-wrapper .video-review-buttons button.video-review-button {
    border: unset;
    padding: 0;
}

.kg-awards-videos-page-main .page-content #video-review-container #video-player-container #video-wrapper .video-review-buttons button.video-review-button img {
    max-width: 45px;
    width: 100%;
    height: 45px;
    border-radius: 10px;
}

.kg-awards-videos-page-main .page-content #video-review-container #video-player-container #video-wrapper .video-review-buttons button.video-review-button:hover {
    background: transparent;
}

@media screen and (max-width: 767px) {
    .kg-awards-videos-page-main .page-content #video-review-container #video-player-container #video-wrapper .video-review-buttons button.video-review-button img {
        max-width: 38px;
        height: 38px;
    }
}