.image-container {
    width: 80%;
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.image-container-upload {
    width: 100%;
    padding: 20px;
    border: 1px dashed #ccc;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}
.image-container-upload.dragover {
    border-color: #000;
}
.image-container-file-input {
    display: none;
}
.image-container-file-label {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    border: 1px solid #0056b3;
    color: #0056b3;
    background-color: transparent;
}
.image-container-file-label:hover {
    background-color: #0056b3;
    color: #fff;
}
.image-container-file-label i {
    margin-right: 5px;
}
.image-container-file-panels {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    width: 100%;
}
.image-container-file-panel {
    width: 120px;
    height: 120px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
}
.image-container-file-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-container-progress-bar {
    width: 100%;
    background-color: #f3f3f3;
    position: absolute;
    bottom: 0;
    left: 0;
}
.image-container-progress-bar-fill {
    height: 5px;
    width: 0;
    background-color: #007bff;
}
.image-container-error-icon {
    color: red;
    font-size: 24px;
}
.image-container-remove-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    height: 20px;
    text-align: center;
    font-weight: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .image-container {
        width: unset;
        margin: 0;
    }

    .image-container-upload-drag-drop-label {
        display: none;
    }
}

.image-upload-container {
    /*width: 80%;*/
    /*max-width: 600px;*/
    margin: 20px auto;
    /*padding: 20px;*/
    /*border: 1px solid #ccc;*/
    border-radius: 10px;
    background-color: #fff;
    text-align: center;
}
.image-upload-header h3 {
    margin: 0;
    font-size: 1.5em;
}
.image-upload-header p {
    font-size: 0.9em;
    color: #666;
}
.image-upload-preview {
    width: 100%;
    height: 200px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.image-upload-preview-placeholder {
    text-align: center;
    color: #ccc;
    display: flex;
}
.image-upload-preview-placeholder p {
    margin: 0;
    font-size: 1em;
}
.image-upload-preview-img {
    /*max-width: 100%;*/
    /*max-height: 100%;*/
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}
.image-upload-loading, .image-upload-error {
    /*display: none;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    color: #dc3545;
}
.image-upload-actions {
    margin-top: 20px;
}
.image-upload-input {
    display: none;
}
.image-upload-label {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    border: 1px solid #007bff;
    color: #007bff;
    background-color: transparent;
}
.image-upload-label:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #fff;
}
.image-upload-clear {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #dc3545;
    color: #fff;
    border-radius: 5px;
    border: 1px solid #dc3545;
    margin-left: 10px;
}
.image-upload-clear:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

