@import url('../fonts/font.css');

body {
    font-family:'Dubai Regular' !important;
}

th {
    font-size: 18px;
}

td:last-child {
    width: 80px !important;
}

svg {
    fill: gray;
}

.main {
    margin-bottom: 6vh;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: #38B6FF  !important;
    border-color: #2e92cc 
}

.btn-secondary {
    background-color: #2C2C2C !important;
}

#svg {
    filter: hue-rotate(180deg) brightness(0) saturate(100%) invert(40%);
}

#upload-form {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

#file-info {
    width: 100%;
}

#tbody-wrapper {
    height: 50vh;
    overflow-y: scroll;
    /* hide scroll bar */
    scrollbar-width: none;
}

#progressInfo {
    display: flex;
    justify-content: space-between;
}

#mediaControlBar {
    display: flex;
    position: fixed;
    width: 100%;
    height: 60px;
    justify-content: right;
    bottom: 0;
    background-color: #F0F0F0;
    padding: 12px 10px;
    margin-right: 60px !important;
    /* box-shadow: 0px 25px 20px 20px rgba(0, 0, 0, 0.45); */
    z-index: 2;
}

#mediaControlBar button {
    margin-right: 10px;
    border-radius: 8px !important;
}

#mediaControlBar .container {
    display: flex;
    justify-content: right;
}

.progress-bar {
    background-color: #38B6FF ;
}

.logo-big {
    width: 300px;
    margin-top: 20px;;
}

.drop-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 25vh;
    min-height: 200px;
    border: 2px dashed rgb(182, 182, 182);
    border-radius: 20px;
    padding: 20px;
    font-size: 1.4rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.drop-zone.dragover {
    background-color: #e4e4e4;
}

.image-container {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    /* box-shadow: 0 1px 4px rgb(0 0 0 / 0.2); */
}

.image-container > * {
    margin-top: 0 !important;
}

.image-checkbox {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px;
    right: 10px;
    z-index: 1;
    accent-color: gray;
}

.image-checkbox:hover {
    cursor: pointer;
}

.image-thumbnail {
    width: 100%;
    height: 260px;
    object-fit: contain;
    object-position: 50% 55%; 
    z-index: 1;
    opacity: 0.5;
    background-color: rgb(243, 248, 252);
    /* border-bottom: 1px solid #38B6FF; */
    transition: all 0.1s;
}

input[type="checkbox"]:checked + .image-thumbnail {
    opacity: 1;
}

.image-thumbnail:hover {
    cursor: zoom-in;
    cursor: -moz-zoom-in; 
    cursor: -webkit-zoom-in; 
}

.image-info {
    background-color: rgb(197, 197, 197);
    line-height: 1px;
    padding: 15px 8px;
    text-align: left;
    z-index: 2;
}

.carousel-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.carousel-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%
    /* width: 70%;
    height: 80%;
    margin: auto; */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.carousel-overlay button {
    border: none;
    background-color: transparent;
}

.carousel-overlay button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.table-container {
    max-height: 70vh;
    overflow-y: auto;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;  
}

.table-container::-webkit-scrollbar {
    display: none;
}

.table-container thead {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 0 0 2px #D5D5D5;
    z-index: 1;
}

.table-container th, .table-container td {
    padding: 8px;
    text-align: left;
    /* width: 40px; */
    box-sizing: border-box;
}

#rangeValue {
    width: 100%;
    text-align: right;
}

.rangeInput {
    width: 100%;
}
