* {
    margin: 0;
    padding: 0;
}

body, html {
  height: 100%;
  width: 100%;
}

body {
    background: linear-gradient(to right, rgba(255, 21, 21, 0.579) 0%, #5532ff7f 100%);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

button {
    background: linear-gradient(to bottom, rgba(249, 249, 249, 0.214) 30%, #00000029 100%);
}

.btn {
    background: linear-gradient(to bottom, rgba(249, 249, 249, 0) 30%, #00000057 100%);
}

.btn-dark, .btn-secondary {
    background: linear-gradient(to bottom, rgba(249, 249, 249, 0.356) 30%, #00000057 100%);
}

.btn-warning {
    background: linear-gradient(to bottom, rgba(184, 175, 5, 0.567) 30%, #0000006f 100%);
}

.container {
    background: linear-gradient(to right, #ffffff, rgba(240, 240, 240, 0.9));
    border-radius: 10px;
    padding: 50px 50px;
    margin: 50px;
}

.header {
    text-align: center;
}

.container .body {
    padding: 10px;
}

.body form {
    /* background-color: aquamarine; */
    padding: 15px;
}

.body .image1 {
    background: aquamarine;
    width: 50%;
    margin: 0 auto;
}

.body .image1 img {
    width: 100%;
}

.title {
    margin-top: 20px;
    margin-bottom: 20px;
}

.container .body .tombolhome {
    display: flex;
    justify-content: center;
    margin: 20px;
    gap: 10px;
}

#text-center {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: -20px;
}


#fotobarang_list img {
    border-radius: 10px;
    height: 100px;
    width: 150px;
    object-fit: cover;
    object-position: center;
    box-shadow: 3px 3px 5px 1px #888888;
}

#foto_modaldetail img {
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    max-height: 150px;
    width: fit-content;
}

#div_checkLogout {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.thumb-image {
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    max-height: 150px;
    width: fit-content;
}

#tombol_aksi_list {
    display: flex;
    flex-direction: column;
}

/*  */
.info-alert-inventory {
        text-align: center;
        font-size: 0.8em;
        padding: 5px 0;
        margin: 5px 0;
    }

    .form-inventory {
        /* form ke tengah */
        margin-top: 0px;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
    }

    .form-inventory .alert {
        font-size: 0.8em;
        margin: -30px 0 0 0;
        padding: 0 10px;
    }

    .form-inventory .label-datadiri-inventory label {
        width: 100px;
    }

    .form-inventory .label-datadiri-inventory strong {
        margin-left: 50px;
        width: 150px;
    }

    .form-inventory .input-form-inventory {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin-top: 10px;
    }

    .form-inventory .input-form-inventory input,
    .form-inventory select,
    .form-inventory textarea {
        width: 80%;
    }

    .form-inventory .tombol-upload-inventory {
        /* geser tombol button ke tengah */
        margin-top: 10px;
        margin-left: auto;
        margin-right: auto;
        width: 60%;
    }

    #tombolfile {
        margin-top: 20px;
        margin-bottom: -20px;
    }

    .form-inventory .preview img, .form-inventory .preview2 img {
        height: 100px;
        width: 100px;
        object-fit: contain;
        margin: 0 auto;
        /* object-position: center; */
    }

    #preview, #preview2 {
        padding: 10px;
        /* border: 1px solid #ccc; */
        border: none;
        width: 0 auto;
    }

    #dvPreview {
        display: none;
    }
    #dvPreview2 {
        display: none;
    }

    @media screen and (max-width: 800px) {
        .form-inventory .tombol-upload-inventory {
            display: flex;
            /* flex-direction: column; */
            justify-content: center;
        }

        .form-inventory {
            /* form ke tengah */
            margin-top: 50px;
            margin-left: auto;
            margin-right: auto;
            width: 80%;
        }

        #tombolfile {
            margin-top: 0px;
            margin-bottom: 0px;
        }

        #tombolkamera,
        #tombolfile {
            margin-left: 25px;
            margin-bottom: -20px;
        }

        .form-inventory textarea {
            width: 100%;
        }

        .form-inventory .label-datadiri-inventory label {
            width: 80px;
            font-size: 12px;
            margin-right: -20px;
        }

        .form-inventory .label-datadiri-inventory strong {
            margin-left: 40px;
            width: 150px;
            font-size: 12px;
        }

        .body {
            display: flex;
            flex-direction: column;
        }

        .body .tombolhome {
            display: flex;
            flex-direction: column;
        }

        .body .image1 {
            width: 100%;
        }
    }

    /*  */
    .tanggalindo {
        position: relative;
        width: 150px;
        height: 40px;
        color: white;
    }

    .tanggalindo:before {
        position: absolute;
        /* top: 5px; */
        /* left: 5px; */
        content: attr(data-date);
        display: inline-block;
        color: black;
    }

    .tanggalindo::-webkit-datetime-edit,
    .tanggalindo::-webkit-inner-spin-button,
    .tanggalindo::-webkit-clear-button {
        display: none;
    }

    .tanggalindo::-webkit-calendar-picker-indicator {
        position: absolute;
        /* top: 5px; */
        right: 0;
        color: black;
        opacity: 1;
    }
/*  */

/*  */
.custom-file-input::-webkit-file-upload-button {
        visibility: hidden;
    }

    .custom-file-input-file::before {
        content: "Pilih Beberapa File";
    }

    .custom-file-input-kamera::before {
        content: "📷 Ambil Foto";
    }

    .custom-file-input::before {
        /* content: 'Pilih Beberapa File'; */
        display: inline-block;
        background: -webkit-linear-gradient(top, #f9f9f9, #e3e3e3);
        border: 1px solid #999;
        border-radius: 3px;
        padding: 5px 8px;
        outline: none;
        white-space: nowrap;
        -webkit-user-select: none;
        cursor: pointer;
        text-shadow: 1px 1px #fff;
        font-weight: 700;
        font-size: 10pt;
    }

    .custom-file-input:hover::before {
        border-color: black;
    }

    .custom-file-input:active::before {
        background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
    }
/*  */

/*  */
.input-form-inventory .alert-info-tombol-kamera p {
                        font-size: 10px;
                        margin: 0;
                    }

                    .input-form-inventory .alert-info-tombol-kamera {
                        margin-bottom: 5px;
                        padding: 5px;
                    }
/*  */

/* LOGO */
.logo_1 {
    height: 150px;
    margin-top: 18px;
}

.logo_2 {
    margin-top: 5px;
    height: 30px;
}

.logo_3 {
    margin-top: 5px;
    height: 30px;
}
/* ./LOGO */

/* formpengembalian */
#formpengembalian {
    max-width: 800px;
    margin: 0 auto;
}
