.image-col {
    aspect-ratio: 1/1;
}

.image-box {
    width: 100%;
    /*height: 25vmin;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 10px;
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: inherit;
    height: 100%;
}

.image-box-sm {
    width: 100%;
    /*height: 18vmin;*/
    /*height: 13dvmax;*/
    aspect-ratio: inherit;
    height: 100%;
}

.image-box:hover {
    background: rgba(0, 123, 255, 0.1);
}

.image-box input[type="file"] {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    cursor: inherit;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    cursor: inherit;
    text-align: center;
    aspect-ratio: inherit;
}

.upload-label i {
    font-size: 2rem;
    margin-bottom: 5px;
}

.preview-popup-container {
    width: 100%;
    max-width: 1000px;
    max-height: 1000px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 1/1;
    /*overflow: hidden;*/
}

.preview-popup-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /*object-fit: cover;*/
    object-position: center;
}