/* Video Modal and Spinner Styles */
.checkin-video-thumbnail {
    position: relative;
    cursor: pointer;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.checkin-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.9);
}

.play-button svg {
    width: 30px;
    height: 30px;
}

.br-video-modal {
    display: none;
    position: fixed !important;
    z-index: 10000 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.br-video-modal-content {
    position: relative;
    background-color: #000;
    margin: 5% auto;
    padding: 10px;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    transition: none;
    z-index: 10001 !important;
}

.br-video-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10002 !important;
}

.br-video-close:hover,
.br-video-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.video-placeholder-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    z-index: 10003 !important;
}

.video-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 10004 !important;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10005 !important;
    background: rgba(0, 0, 0, 0.5);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 600px) {
    .br-video-modal-content {
        margin: 10% auto;
        padding: 5px;
        width: 95%;
    }
    .loading-spinner {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }
}