.modal-window > div {
    width: 33.33%;
    position: relative;
    margin: 10% auto;
    padding: 1rem;
    background: #E9EBEE;
    color: #2f353a;
    border-radius: 3px;
    border: 1px solid #c1c1c1;
}
.modal-close {
    color: #2f353a;
    line-height: 25px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px;
    text-decoration: none;
    background-color: #f86c6b;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 3px;
}
.modal-close:hover {
    color: #fff;
}
.modal-window h1 {
    font-size: 150%;
    margin: 0 0 15px;
}
.modal-window label {
    display: block;
    margin-top: 10px;
}
.images{
    float: left;
    width: 90px;
    height: 90px;
    margin: 2px;
    border: 1px solid grey;
    display: flex;
    justify-content: center;
    align-items: center;
}

.images>img{
    width: 100%;
}

/* Gaya untuk gambar fullscreen */
.fullscreen-img {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 99999999; /* Pastikan nilai ini lebih tinggi dari z-index jConfirm */
}

/* Gaya untuk gambar dalam fullscreen */
.fullscreen-img img {
    max-width: 90%;
    max-height: 90%;
}

.gambar {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.images1 {
    margin: 2px;
    flex: 1 1 48%; /* Setiap gambar mengambil maksimum 25% dari lebar kontainer */
    box-sizing: border-box;
    padding: 1px; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* Pastikan tinggi 100% untuk pusat vertikal */
    border: outset #cb24c8;
}

.images1 img {
    max-width: 100%; /* Pastikan gambar tidak lebih lebar dari kontainer */
    max-height: 100%; /* Pastikan gambar tidak lebih tinggi dari kontainer */
    display: block;
}

/* Gaya untuk ikon upload (plus) */
.upload-icon {
    position: absolute;
    top: 3px;
    right: 3px;
    background-color: rgb(253 211 248 / 97%);
    border-radius: 50%; /* Membuat ikon menjadi bulat */
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
}

/* Menyembunyikan input file */
.upload-input {
    display: none;
}

.success-message {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 255, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 10;
}

.progress-upload {
    width: 100%;
    /*height: 10px;*/
    background-color: transparent; /* Tidak ada background */
    border-radius: 5px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none; /* Sembunyikan secara default */
    z-index: 1;
    text-align: center; /* Pusatkan icon */
}

.progress-upload .fa-spinner {
    font-size: 24px;
    color: #aa4caf;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*=========================================================*/


@keyframes loadingAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.loading-circle {
    width: 150px;
    height: 150px;
    border: 5px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-text {
    /*font-size: 1.5em;*/
    font-weight: bold;
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;
}

.loading-text span {
    animation: loadingAnimation 1s infinite;
    display: inline-block;
}

.loading-text span:nth-child(1) { animation-delay: 0s; }
.loading-text span:nth-child(2) { animation-delay: 0.1s; }
.loading-text span:nth-child(3) { animation-delay: 0.2s; }
.loading-text span:nth-child(4) { animation-delay: 0.3s; }
.loading-text span:nth-child(5) { animation-delay: 0.4s; }
.loading-text span:nth-child(6) { animation-delay: 0.5s; }
.loading-text span:nth-child(7) { animation-delay: 0.6s; }
.loading-text span:nth-child(8) { animation-delay: 0.7s; }


        /*@keyframes rotate {*/
        /*    0% {*/
        /*        transform: rotate(0deg);*/
        /*    }*/
        /*    100% {*/
        /*        transform: rotate(360deg);*/
        /*    }*/
        /*}*/

        /*.loading-container {*/
        /*    display: flex;*/
        /*    justify-content: center;*/
        /*    align-items: center;*/
        /*    position: absolute;*/
        /*    top: 50%;*/
        /*    left: 50%;*/
        /*    transform: translate(-50%, -50%);*/
        /*}*/

        /*.loading-circle {*/
        /*    width: 150px;*/
        /*    height: 150px;*/
        /*    border: 5px solid transparent;*/
        /*    border-top: 5px solid white;*/
        /*    border-right: 5px solid white;*/
        /*    border-radius: 50%;*/
        /*    position: absolute;*/
        /*    animation: rotate 0.5s linear infinite;*/
        /*}*/

        /*.loading-text {*/
        /*    font-weight: bold;*/
        /*    color: white;*/
        /*    z-index: 1;*/
        /*}*/

/*==========================================================*/

