.video-player {
    width: 100%;
    margin: 0 auto;
    max-width: 800px;
}

video {
    width: 100%;
    display: block;
    border-radius: 10px 10px 0px 0px;
    /* max-height: calc(100vh - 90px); */
}

#seek-bar {
    min-width: 40%;
    width: 70%;
}

#volume-bar {
    transition: max-width 0.5s ease-in-out;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px;
    color: #fff;
    border-radius: 0px 0px 10px 10px;
}

.controls button {
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    outline: none;
    font-size: 1.5rem;
}

@keyframes LoadingBar {
    0% {
        transform: translateX(-102%);
    }
    45% {
        transform: translateX(0);
    }
    55% {
        transform: translateX(0);
    }
    90% {
        transform: translateX(102%);
    }
    100% {
        transform: translateX(102%);
    }
}

.loading-bar {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    overflow-x: hidden;
    background-color: rgb(107, 107, 107); /* use px color $primary-light */
}

.loading-bar:before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 102%;
    background-color: rgb(235, 235, 235); /* use px color $primary-default */
    animation: LoadingBar 1.5s cubic-bezier(0.5, 0.01, 0.51, 1) infinite;
}

.resizable-x,
.resizable-y {
    display: flex;
    overflow: hidden;
}



.resizable-y {
    flex-direction: column;
}

.resizer-x{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    padding: 1px;
}

.resizer-x {
    z-index: 2;
    cursor: col-resize;
    height: 48px;
}

.resizer-x::before{
    content: "";
    width: 3px;
    height: 22px;
    margin: 2px;
    border-top: 1.5px solid lightgray;
    border-bottom: 1.5px solid lightgray;
    border-right: 1.5px solid lightgray;
}

.resizer-y{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    padding: 1px;
}

.resizer-y {
    z-index: 2;
    cursor: col-resize;
    height: 48px;
}

.resizer-y::before{
    content: "";
    width: 3px;
    height: 22px;
    margin: 2px;
    border-top: 1.5px solid lightgray;
    border-bottom: 1.5px solid lightgray;
    border-left: 1.5px solid lightgray;
}

.timeline-clip{
    margin: 0px 2px;
}

.aspect-ratio-tall {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    overflow: hidden;
}


.aspect-ratio-wide {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}


.aspect-ratio-tall img,
.aspect-ratio-tall video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image/video covers the entire container */
    object-position: center; /* Centers the image/video */
}

.aspect-ratio-wide img,
.aspect-ratio-wide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image/video covers the entire container */
    object-position: center; /* Centers the image/video */
}

.audio-player {
    background-color: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.audio-player button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.audio-player input[type="range"] {
    width: 100%;
    background: transparent;
}

.audio-player .time {
    color: white;
    font-size: 14px;
}

.selected-card {
    border: 2px solid rgb(154, 52, 205);
}

.plyr__volume {
    max-width: 30%;
  }

  .plyr__volume input[type=range]{
    min-width: 30px;
  }

  .plyr__progress input[type=range] {
    min-width: 30px;
}
.music-tags{
    word-break: break-word;
}
.selected-card .music-tags{
    display:none!important;
}
.select-start{
    display:none!important;
}
.selected-card .select-start{
    display:flex!important;
}

@media (max-width: 768px) {
    .select-start{
        padding-left:50px;
    }
}

.plyr:not(:fullscreen) video {
    max-height: 70vh;
}

.frame .plyr:not(:fullscreen) video {
    max-height: none!important;
}

.theme-youth .audio-player .time{
    color: black;
}

.theme-youth .audio-player button {
    color: black;
}

.frame{
    height: 100%;
    width: 100%;
}
.frame .plyr{
    height: 100%;
    width: 100%;
}