﻿
.main-display {
    position: relative;
    width: 300px; /* Parent div width */
    height: 300px; /* Parent div height */
    overflow: hidden;
}

.main-display img {
    position: absolute;
    width: 100%; /* Magnify by 1.5x */
    height: 100%; /* Magnify by 1.5x */
    /*        transition: transform 0.1s ease;*/
 transform-origin: top left;
    cursor: crosshair;
}

.border-selected {
    border: 2px solid #f17575;
}

.main-display {
    width: 100%;
    height: 200px;
    position: relative;
}
    /*.main-display img,*/
    .main-display video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.slider {
    width: 100%; /* Set to match the main display width */
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    justify-content:center
}

.slider-item video {
    pointer-events: none; /* Prevent interaction in the slider */
}

.delete-btn {
    position: absolute;
    top: 0px;
    right: 0;
    color: red;
    border: none;
    cursor: pointer;
    z-index: 99;
    font-weight: bold;
    top: 0;
}

.main-delete-btn {
    position: absolute;
    top: 3px;
    left: 7px;
    cursor: pointer;
    z-index: 99;
    font-size: 1.1rem
}

.upload-label {
    position: absolute;
    top: -8px;
    right: 0px;
    z-index: 99;
    cursor: pointer;
    font-size: 2rem
}

.default-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    text-align: center;
}

.slider-item-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.media-container {
    width: 100%;
    height: 300px;
    border-color: #1cc0a0 !important;
    
}
.media-container:hover {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #07b491 !important;
}
.buttons {
    width: 100%;
    height: 32px;
}
#upload-input {
    display: none;
    font-size: 12px;
}
.upload-label {
    color: #1cc0a0
}
.main-delete-btn{
    display:none;
}
.main-display {
    border-color: #1cc0a0 !important
}
#uploadProgressContainer {
    width: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    justify-content: center
}
.caution {
    color: #0090ff
}
.media-error {
    display: none;
    color: #ff003b;
    font-size: 12px
}