/* Video Player Styling */
.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Custom controls styling */
.video-wrapper video::-webkit-media-controls {
    background-color: rgba(0, 0, 0, 0.7);
}

.video-wrapper video::-webkit-media-controls-panel {
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.video-wrapper video::-webkit-media-controls-play-button {
    background-color: transparent;
    border-radius: 50%;
    transition: all 0.2s;
}

.video-wrapper video::-webkit-media-controls-timeline {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    height: 4px;
    margin: 0 10px;
}

.video-wrapper video::-webkit-media-controls-current-time-display,
.video-wrapper video::-webkit-media-controls-time-remaining-display {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.video-wrapper video::-webkit-media-controls-volume-slider {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    padding: 0;
}

.video-wrapper video::-webkit-media-controls-mute-button {
    background-color: transparent;
}

/* Firefox specific styles */
.video-wrapper video::-moz-range-track {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    height: 4px;
}

.video-wrapper video::-moz-range-thumb {
    background-color: #fff;
    border: none;
    border-radius: 50%;
    height: 12px;
    width: 12px;
}

/* Loading state */
.video-wrapper video:-webkit-loading {
    background-color: #000;
}

/* Responsive container */
.video-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
