/* Responsif untuk tablet */
 @media screen and (max-width: 768px) {
    .button-fixed {
        width: 100px;
        height: 30px;
        font-size: .875rem;
    }
}
@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 2.5rem;
    }
}

/* Responsif untuk ponsel */
@media screen and (max-width: 480px) {
    .button-fixed {
        width: 60px;
        height: 30px;
        font-size: .375rem;
    }
}


/*NAVBAR*/

.navbar-brand {
    padding-top: .5rem;
    padding-bottom: .5rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: 1px 0 0 rgba(65, 65, 65, 0.25);
}

.nav-item .nav-link {
    padding: 2px;
    font-size: 12px;
}

.nav-item .nav-link:hover {
    color: rgb(254, 254, 254) !important;
    font-weight: bold;
}

.navbar-nav .nav-link.active {
    color: white !important;
    font-weight: bold;
}

.navbar-text {
    color: rgb(154, 154, 154);
    font-size: 12px;
}

.navbar .navbar-toggler {
    top: .15rem;
    left: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.logo-navbar {
    height: 20px;
    width: 80px;
    margin-right: 5px;
}

@media (max-width: 768px) {
    .logo-navbar {
        display: none;
    }
}

.dropdown-menu {
    min-width: 50px;
}

.dropdown-toggle::after {
    display: none;
}

/* main body*/
body {
    font-size: .75rem;
    display: flex;
    flex-direction: column;
    
}
/*footer*/
.footer-section {
    height: 27px;
    color: rgb(140, 140, 140);
    background: #6e003b;
    text-align: center;
    line-height: 25px;
    z-index: 100;
}

.fst {
    font-size: .575rem;
}

/*page-container*/
#container {
    display: flex;
    height: 88vh;
    flex-direction: column;
    overflow: hidden;
}


.custom-container {
    display: flex;
    height: 88vh;
    flex-direction: column;
    overflow: hidden;
    background: rgba(158, 158, 158, 0.526);
    position: fixed;
    right: 0;
    width: 85%;
}

.head-container {
    display: flex;
    height: 93vh;
    flex-direction: column;
    margin-top: 20px;
    padding: 4vh 10vw;
    overflow: hidden;
    background: rgb(26, 29, 35);
    width: 100%;
}

.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}



/*ROW*/
.row {
    height: 90vh;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.3%;
}

.rowx {
    height: 5vh;
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 1px;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

.rowz {
    height: 28px;
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
    gap: 2px;
}

.rowo {
    align-items: center;
    text-align: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding: 35px 0 7px 0;
}

.rowv {
    align-items: center;
    text-align: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75%;
    margin-left: 0;
    margin-right: 0;
    padding: 7px 0;
}

.row-item {
    text-align: center;
    padding: 5px;
    margin-bottom: 5px;
    height: 100px;
}

.row-title {
    text-align: center;
    padding: 2px;
    margin-bottom: 5px;
    height: 20px;
    color: rgb(120, 120, 120);
}

.warning-row td {
    background-color: rgba(254, 64, 64, 0.184) !important;
    font-weight: bold;
}

#pages,
#selected-pages {
    overflow-y: scroll;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    background-color: #f8f9fa;
}

#addPage,
#removePage {
    margin-bottom: 100px;

}

/*COLOM*/
.colx3 {
    width: 3%;
}

.colx4 {
    width: 4%;
}

.colx5 {
    width: 5%;
}

.colx6 {
    width: 6%;
}

.colx8 {
    width: 8%;
}

.colx10 {
    width: 10%;
}

.colx10 {
    width: 10%;
}

.colx12 {
    width: 12%;
}

.colx15 {
    width: 15%;
}

.colx20 {
    width: 20%;
}

.colx25 {
    width: 25%;
}

.colx30 {
    width: 30%;
}

.colx40 {
    width: 40%;
}

.colx45 {
    width: 45%;
}

.colx50 {
    width: 50%;
}

.colx60 {
    width: 60%;
}

.colx70 {
    width: 70%;
}

.colx75 {
    width: 75%;
}

.colx80 {
    width: 80%;
}

.colx90 {
    width: 90%;
}

.colx100 {
    width: 100%;
}


/*BUTTON*/
.button-fixed {
    width: 100%;
    text-align: center;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    color: rgb(200, 200, 200);
    background: #c60069;
    cursor: pointer;
    display: inline-block;
    box-sizing: border-box;
    box-shadow: 0px 2px 4px rgba(135, 135, 135, 0.5);
    transition: all 0.3s ease;
}

.button-fixed:hover {
    background-color: #002f47;
}

.btn-daron {
    width: 100%;
    font-size: 10px;
    background-color: rgb(56, 56, 56);
    color: white;
    border: none;
    padding: 5px 0;
    border-radius: 3px;
}

.btn-prion {
    width: 100%;
    font-size: 10px;
    background-color: #730090;
    color: white;
    border: none;
    padding: 5px 0;
    border-radius: 3px;
}

.btn-danon {
    width: 100%;
    font-size: 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 0;
    border-radius: 3px;
}

.btn-sucon {
    width: 100%;
    font-size: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    padding: 5px 0;
    border-radius: 3px;
}

.disabled-btn {
    cursor: not-allowed !important;
    pointer-events: none;
}
.disabled-botton {
    cursor: not-allowed !important;
    pointer-events: none;
    background-color: #ba0064;
}

#saveRepack:disabled,
#saveRepack:disabled:hover,
#saveRepack:disabled:focus {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
#savePrinted:disabled,
#savePrinted:disabled:hover,
#savePrinted:disabled:focus {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
#addWO-btn:disabled,
#addWO-btn:disabled:hover,
#addWO-btn:disabled:focus {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Save Button */
.save-btn {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 5px;
}

.save-btn:hover {
    background-color: #ba0064;
}

/* Close Button */
.close-btn {
    top: 0px;
    background: none;
    border: none;
    font-size: 30px;
    font-weight: bold;
    color: #8c8c8c;
}

.close-btn:hover {
    color: red;
}

.modal-home {
    text-align: center;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    color: rgb(140, 140, 140);
    background: #9a0052;
    cursor: pointer;
    display: inline-block;
    box-sizing: border-box;
    box-shadow: 2px 2px 4px rgb(7, 7, 7);
    transition: all 0.3s ease;
}

.modal-home:hover {
    background-color: rgb(0, 62, 101);
}

/* Reset Filter Button */
.reset-btn {
    width: 100%;
    padding: 1px;
    background-color: rgb(184, 0, 64);
    color: rgb(195, 195, 195);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.reset-btn:hover {
    background-color: rgb(74, 0, 0);
}

/* MODAL*/

.modal-content {
    position: relative;
    background-color: #212529;
    margin: 2% auto;
    border-radius: 10px;
    max-width: 30%;
    box-shadow: 1px 1px 6px rgb(169, 169, 169);
    animation: slideDown 1s ease;
}
.modal-contol {
    background-color: #afafaf;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 1px 1px 6px rgb(169, 169, 169);
    animation: slideDown 1s ease;
}
.modal-contentxtra {
    position: relative;
    background-color: transparent;
    max-width: 100%;
}

@keyframes slideDown {
    from {
        transform: translateY(-250px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/*FIELDS*/

input,
select {
    width: 100%;
    padding: 2px 2px !important;
    font-size: 14px;
    border: 1px solid #ffffff00;
    border-radius: 2px;
    box-sizing: border-box;
    appearance: none;
    background: rgb(121, 121, 121);
}

/*ICON */

.icon-link {
    color: #9e9e9e;
    padding: 2px 8px;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.icon-link:hover {
    color: #fc0303;
}

.toggle-icon {
    cursor: pointer;
    color: #6c6c6c;
    transition: transform 0.2s, color 0.2s;
}

.toggle-icon:hover {
    color: #8e0002;
}

.toggle-icon.fa-minus-circle {
    color: #8e0002;
}


/*TABLE*/

#datain_table {
    display: none;
}

#work_table {
    display: none;
}

#rdprn_table {
    display: none;
}


#printing_table {
    display: none;
}


#rdrpk_table {
    display: none;
}


#wopro_table {
    display: none;
}

#delivery_table {
    display: none;
}


.table-container::-webkit-scrollbar {
    display: none;
} 

.table-container {
    flex: 1;
    max-height: 90vh;
    overflow-y: auto;
}

thead {
    top: 0;
    padding-top: 2vh;
    position: sticky;
    box-shadow: 0px 4px 12px rgba(88, 88, 88, 0.811);
}

table th,
table td {
    vertical-align: middle;
    font-size: 12px;
    color: #b6b6b6;
}

/* tbody tr:hover td {
    background-color: #520034c0;
} */

.clickable-row {
    cursor: pointer;
}

.selected-row {
    background-color: #48003f65 !important;
    font-weight: bold;
}

/*CARD -BOX*/

.card-container {
    bottom: 20px;
    justify-content: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0);
    padding: 10px;
    box-shadow: 0px -2px 10px rgba(1, 1, 1, 0.414);
}

.card {
    z-index: 1;
    border: none;
    color: rgb(38, 1, 61);
    box-shadow: 2px 2px 3px rgba(186, 186, 186, 0.721);
    display: flex;
}
.cardus {
    flex: 1;
    max-width: 23%;
    border: none;
    border-radius: 8px;
    padding: 5px;
    background-color: white;
}

.card-title {
    text-align: center;
    font-weight: bold;
}

.card-text.text-end {
    font-size: 12px;
    margin-bottom: 0;
}

.box {
    border-radius: 15px;
    padding: 7%;
    box-shadow:  4px 4px 12px rgba(0, 0, 0, 0.644);
    background: #4d5961;
}

.clickable-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.clickable-card:hover {
    transform: scale(1.05);
    box-shadow: 2px 2px 2px rgb(182, 182, 182);
}

/* FILTER */

.filters select {
    width: 100%;
    height: 22px;
    padding: 1px 5px;
    font-size: 13px;
    border-radius: 5px;
    color: rgb(0, 0, 0);
    background-color: rgba(33, 33, 33, 0.252);
}



/* IMAGE */

.img-medium {
    width: 200px;
    height: auto;
}

.img-large {
    width: 300px;
    height: auto;
}

.img-small {
    width: 80px;
    height: 20px;
    border-radius: 0%;
    cursor: pointer;
}

.user-info {
    gap: 10px;
}

/* POSITION */

.top-left {
    position: absolute;
    top: 30%;
    left: 2%;
    transform: translate(-0%, -0%);
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}


.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.small-text {
    font-size: 0.8rem;
    color: black;
    margin-top: 10px;
}

.nav-link.disabled {
    pointer-events: none;
    color: #6c757d;
    cursor: not-allowed;
}

.message-box {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    color: white;
    font-weight: bold;
}

.success {
    background-color: green;
}

.error {
    background-color: red;
}

/* STYLE DATA TABLE*/

.dt-layout-row {
    color: rgb(190, 190, 190) !important;
}


.highlighted-row td{
    color: red !important;
    font-weight: bold;
}

.search-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.search-box {
    width: 100%;
    padding: 8px 30px 8px 10px; 
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    background-color: #6c757d;
    color: white;
}

.clear-btn {
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 25px;
    color: darkblue;
    background: none;
    border: none;
    visibility: hidden;
}

.clear-btn:hover {
    color: red; 
}

