@import 'custom_sidebar.css';
.c-app {
   
    max-width: 100% !important;
}

/* =========================================
   Custom Button: POS GTDS (Black Theme)
   ========================================= */

/* Style utama tombol solid hitam */
.btn-pos-gtds {
    color: #fff !important;
    background-color: #000 !important;
    border-color: #000 !important;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-pos-gtds:hover {
    color: #fff !important;
    background-color: #222 !important; /* sedikit lebih terang saat hover */
    border-color: #222 !important;
}

.btn-pos-gtds:focus,
.btn-pos-gtds.focus {
    color: #fff !important;
    background-color: #111 !important;
    border-color: #111 !important;
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.4);
}

.btn-pos-gtds.disabled,
.btn-pos-gtds:disabled {
    color: #aaa !important;
    background-color: #333 !important;
    border-color: #333 !important;
}

.btn-pos-gtds:not(:disabled):not(.disabled):active,
.btn-pos-gtds:not(:disabled):not(.disabled).active,
.show > .btn-pos-gtds.dropdown-toggle {
    color: #fff !important;
    background-color: #111 !important;
    border-color: #111 !important;
}

/* =========================================
   Outline version (border hitam)
   ========================================= */
.btn-pos-gtds-outline {
    color: #000 !important;
    background-color: transparent !important;
    border-color: #000 !important;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-pos-gtds-outline:hover {
    color: #fff !important;
    background-color: #000 !important;
    border-color: #000 !important;
}

.btn-pos-gtds-outline:focus,
.btn-pos-gtds-outline.focus {
    color: #000 !important;
    background-color: transparent !important;
    border-color: #000 !important;
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.3);
}

.btn-pos-gtds-outline.disabled,
.btn-pos-gtds-outline:disabled {
    color: #999 !important;
    background-color: transparent !important;
    border-color: #999 !important;
}

.btn-pos-gtds-outline:not(:disabled):not(.disabled):active,
.btn-pos-gtds-outline:not(:disabled):not(.disabled).active,
.show > .btn-pos-gtds-outline.dropdown-toggle {
    color: #fff !important;
    background-color: #000 !important;
    border-color: #000 !important;
}

/* =========================================
   Ukuran Besar (POS Layout)
   ========================================= */
.btn-pos-gtds-lg {
    padding: 0.75rem 1.25rem !important;
    font-size: 1.1rem !important;
    border-radius: 0.5rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-pos-gtds-lg i {
    font-size: 1.3rem;
}/* =========================================
   Custom Button: POS GTDS (Black Theme)
   ========================================= */

/* Tombol solid hitam */
.btn-pos-gtds {
    color: #fff !important;
    background-color: #000 !important;
    border-color: #000 !important;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-pos-gtds:hover {
    color: #fff !important;
    background-color: #222 !important;
    border-color: #222 !important;
}

.btn-pos-gtds:focus,
.btn-pos-gtds.focus {
    color: #fff !important;
    background-color: #111 !important;
    border-color: #111 !important;
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.4);
}

.btn-pos-gtds.disabled,
.btn-pos-gtds:disabled {
    color: #aaa !important;
    background-color: #333 !important;
    border-color: #333 !important;
}

.btn-pos-gtds:not(:disabled):not(.disabled):active,
.btn-pos-gtds:not(:disabled):not(.disabled).active,
.show > .btn-pos-gtds.dropdown-toggle {
    color: #fff !important;
    background-color: #111 !important;
    border-color: #111 !important;
}

/* Tombol outline hitam */
.btn-pos-gtds-outline {
    color: #000 !important;
    background-color: #fff !important;
    border-color: #000 !important;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-pos-gtds-outline:hover {
    color: #fff !important;
    background-color: #000 !important;
    border-color: #fff !important;
}

.btn-pos-gtds-outline:focus,
.btn-pos-gtds-outline.focus {
    color: #000 !important;
    background-color: transparent !important;
    border-color: #000 !important;
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.3);
}

.btn-pos-gtds-outline.disabled,
.btn-pos-gtds-outline:disabled {
    color: #999 !important;
    background-color: transparent !important;
    border-color: #999 !important;
}

.btn-pos-gtds-outline:not(:disabled):not(.disabled):active,
.btn-pos-gtds-outline:not(:disabled):not(.disabled).active,
.show > .btn-pos-gtds-outline.dropdown-toggle {
    color: #fff !important;
    background-color: #000 !important;
    border-color: #000 !important;
}

/* Ukuran besar + layout kiri */
.btn-pos-gtds-lg {
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    border-radius: 0.5rem;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* ikon + teks rata kiri */
    gap: 0.6rem !important;
    text-align: left !important;
    width: 100%;
}

/* Ikon dan teks */
.btn-pos-gtds-lg i {
    font-size: 1.3rem !important;
    color: #333 !important;
    flex-shrink: 0;
    margin-top: -0.6rem;
}

.btn-pos-gtds-lg div {
    font-size: 1rem !important;
    line-height: 1.2;
}




/* Hover effect untuk ikon */
.btn-pos-gtds-outline:hover i,
.btn-pos-gtds:hover i {
    color: #fff !important;
}






.btn-pay{

    letter-spacing: 0.4rem;
    font-size: 1.5rem;
    line-height: 110%;
    font-weight: 700;

}




.btn-submit-sales{

    letter-spacing: 0.4rem;
    font-size: 1.5rem;
    line-height: 110%;
    font-weight: 700;

}



.btn-chy {
    color: #fff !important;
    background-color: #a88644;
    border-color: #a88644;
}

.btn-chy:hover {
    color: #fff !important;
    background-color: #8C6F35; /* Lebih gelap untuk hover */
    border-color: #8C6F35;
}

.btn-chy:focus,
.btn-chy.focus {
    color: #fff;
    background-color: #a88644;
    border-color: #a88644;
    box-shadow: 0 0 0 0.2rem rgba(168, 134, 68, 0.5); /* Focus ring berdasarkan primary */
}

.btn-chy.disabled,
.btn-chy:disabled {
    color: #fff;
    background-color: #C0B09A; /* Pudar untuk disabled */
    border-color: #C0B09A;
}

.btn-chy:not(:disabled):not(.disabled):active,
.btn-chy:not(:disabled):not(.disabled).active,
.show > .btn-chy.dropdown-toggle {
    color: #fff;
    background-color: #7A5D2A; /* Lebih gelap untuk active */
    border-color: #7A5D2A;
}

/* Button outline coklat keemasan (.btn-chy-outline) */
.btn-chy-outline {
    color: #a88644;
    background-color: transparent;
    border-color: #a88644;
}

.btn-chy-outline:hover {
    color: #fff;
    background-color: #a88644;
    border-color: #a88644;
}

.btn-chy-outline:focus,
.btn-chy-outline.focus {
    color: #a88644;
    background-color: transparent;
    border-color: #a88644;
    box-shadow: 0 0 0 0.2rem rgba(168, 134, 68, 0.5);
}

.btn-chy-outline.disabled,
.btn-chy-outline:disabled {
    color: #C0B09A;
    background-color: transparent;
    border-color: #C0B09A;
}

.btn-chy-outline:not(:disabled):not(.disabled):active,
.btn-chy-outline:not(:disabled):not(.disabled).active,
.show > .btn-chy-outline.dropdown-toggle {
    color: #fff;
    background-color: #a88644;
    border-color: #a88644;
}



.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    line-height: 1.25;
    border: 1px solid;
    color: #a88644 !important;
    background-color: #fff;
    border-color: #d8dbe0;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff !important;
    background-color: #a88644 !important;
    border-color: #a88644 !important;
}






.dropdown-menu-24 {
    position: absolute;
    top: 100%;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 28rem !important;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    text-align: left;
    list-style: none;
    background-clip: padding-box;
    border: 1px solid;
    border-radius: 0.25rem;
    color: #3c4b64;
    background-color: #fff;
    border-color: #d8dbe0;
}




/* Ganti warna utama btn-primary */
.btn-primary {
 color: #fff !important;
  background-color: #a88644 !important;
  border-color: #a88644 !important;
}

/* Warna saat hover */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: #fff !important;
  background-color: #8f733b !important; /* versi lebih gelap */
  border-color: #8f733b !important;
}

/* Ganti warna untuk outline-primary */
.btn-outline-primary {
  color: #a88644 !important;
  border-color: #a88644 !important;
}

/* Hover outline jadi solid */
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #a88644 !important;
  border-color: #a88644 !important;
  color: #fff !important;
}

/*
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #a88644 !important;
    color: white
}*/



div.dataTables_wrapper div.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    margin-left: -110px;
    margin-top: -30px;
    text-align: center;
    padding: 1em 0;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    font-weight: 500;
    color: #333;
}

div.dataTables_wrapper div.dataTables_processing::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    width: 1.25rem;
    height: 1.25rem;
    border: 0.2em solid #a88644; /* warna sesuai tombol primary kamu */
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

/* Animasi berputar */
@keyframes spinner-border {
    to { transform: rotate(360deg); }
}


.select2-container {
    width: 100% !important;
}

label {
    display: inline-block;
    margin-bottom: 0.2rem !important;
}

.modal-body {
    padding: 0.5rem !important;
}



.form-group {
    margin-bottom: 0.6rem !important;
}

/* Pagination */
.page-link {
    color: #c8aa61 !important;
    background-color: #fff;
    border-color: #d8dbe0;
}

.page-item.active .page-link {
    color: #fff !important;
    background-color: #c8aa61 !important;
    border-color: #c8aa61 !important;
}

/* === BTN PRIMARY === */
.btn-primary {
  background-color: #c8aa61 !important;
  border-color: #c8aa61 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #b19054 !important;
  border-color: #b19054 !important;
}

/* === BTN OUTLINE PRIMARY === */
.btn-outline-primary {
  color: #c8aa61 !important;
  border-color: #c8aa61 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #c8aa61 !important;
  border-color: #c8aa61 !important;
  color: #fff !important;
}



/* Datatable processing spinner */
div.dataTables_wrapper div.dataTables_processing::before {
    border: 0.2em solid #c8aa61;
    border-right-color: transparent;
}

/* === TEXT COLORS === */
.text-brown       { color: #c8aa61 !important; }
.text-brown-50    { color: #faf7ef !important; }
.text-brown-100   { color: #f4ebd8 !important; }
.text-brown-200   { color: #e9d8b0 !important; }
.text-brown-300   { color: #ddc489 !important; }
.text-brown-400   { color: #d2b161 !important; }
.text-brown-500   { color: #c8aa61 !important; }
.text-brown-600   { color: #b19054 !important; }
.text-brown-700   { color: #9e7e47 !important; }
.text-brown-800   { color: #7e633a !important; }
.text-brown-900   { color: #604a2a !important; }

/* === BORDER COLORS === */
.border-brown       { border-color: #c8aa61 !important; }
.border-brown-50    { border-color: #faf7ef !important; }
.border-brown-100   { border-color: #f4ebd8 !important; }
.border-brown-200   { border-color: #e9d8b0 !important; }
.border-brown-300   { border-color: #ddc489 !important; }
.border-brown-400   { border-color: #d2b161 !important; }
.border-brown-500   { border-color: #c8aa61 !important; }
.border-brown-600   { border-color: #b19054 !important; }
.border-brown-700   { border-color: #9e7e47 !important; }
.border-brown-800   { border-color: #7e633a !important; }
.border-brown-900   { border-color: #604a2a !important; }

/* === BACKGROUND COLORS === */
.bg-brown       { background-color: #c8aa61 !important; }
.bg-brown-50    { background-color: #faf7ef !important; }
.bg-brown-100   { background-color: #f4ebd8 !important; }
.bg-brown-200   { background-color: #e9d8b0 !important; }
.bg-brown-300   { background-color: #ddc489 !important; }
.bg-brown-400   { background-color: #d2b161 !important; }
.bg-brown-500   { background-color: #c8aa61 !important; }
.bg-brown-600   { background-color: #b19054 !important; }
.bg-brown-700   { background-color: #9e7e47 !important; }
.bg-brown-800   { background-color: #7e633a !important; }
.bg-brown-900   { background-color: #604a2a !important; }

/* === GRADIENTS === */
.bg-gradient-brown {
  background-image: linear-gradient(to right, #c8aa61, #b19054);
}
.bg-gradient-brown-t {
  background-image: linear-gradient(to top, #c8aa61, #b19054);
}
.bg-gradient-brown-b {
  background-image: linear-gradient(to bottom, #c8aa61, #b19054);
}
.bg-gradient-brown-l {
  background-image: linear-gradient(to left, #c8aa61, #b19054);
}
.bg-gradient-brown-tr {
  background-image: linear-gradient(to top right, #c8aa61, #b19054);
}
.bg-gradient-brown-br {
  background-image: linear-gradient(to bottom right, #c8aa61, #b19054);
}

/* Tailwind-style gradient */
.from-brown-500 { --tw-gradient-from: #c8aa61; }
.to-brown-700   { --tw-gradient-to: #9e7e47; }
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
}
table.dataTable td {
  vertical-align: middle !important;
  text-align: center;
}


.w-1p {
     width: 1% !important;
}
.w-2p {
     width: 2% !important;
}.w-3p {
     width: 3% !important;
}.w-4p {
     width: 4% !important;
}
.w-5p {
     width: 5% !important;
}.w-10p {
     width: 10% !important;
}
.w-15p {
     width: 15% !important;
}
.w-20p {
     width: 20% !important;
}

.w-25p {
     width: 25% !important;
}
.w-30p {
     width: 30% !important;
}.w-35p {
     width: 35% !important;
}




.btn-success {
    color: #fff;
    background-color: #4caf50 !important;
    border-color: #321fdb !important;
}

.btn-outline-secondary {
    color: #858688 !important;
    border-color: #929599 !important;
}

.small {
    font-size:0.6rem !important;

}

.btn-sm, .btn-group-sm > .btn {
    padding: 0.16rem 0.5rem !important;
    font-size: 0.7rem !important;
    line-height: 1.6 !important;
    border-radius: 0.2rem;
}



.btn-xs, .btn-group-xs > .btn {
    padding: 0.16rem 0.3rem !important;
    font-size: 0.6rem !important;
    line-height: 1.5 !important;
    border-radius: 0.2rem;
}

.text-xs {
    font-size: 0.65rem !important;
    line-height: 1rem !important;
}

.text-chy {
    color: #a88644 !important;

}

.table-sm td {
    padding: 0.3rem 0.5rem 0.3rem 0.5rem!important;

     font-size: 0.8rem !important;
}


.table-sm th {
    padding: 0.5rem 0.3rem 0.5rem 0.3rem!important;

     font-size: 0.8rem !important;
}



@media (max-width: 767.98px) {
 .table-sm th,
 .table-sm td {
      padding: 0.3rem 0.5rem 0.3rem 0.5rem!important;
      font-size: 0.8rem !important;
  }
}


.radius65 {
     border-radius: 0.65rem !important;
}

table.dataTable td, table.dataTable th .left{
  
   vertical-align: middle !important;
}
.modal-footer {
    padding: 0rem !important;
    border-top: 1px solid;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
    border-color: #d8dbe0;
}

.dropdown-menu-user {
    position: absolute;
    top: 100%;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 14rem !important;
    padding: 0.3rem 0;
    font-size: 0.775rem;
    text-align: left;
    list-style: none;
    background-clip: padding-box;
    border: 1px solid;
    border-radius: 0.25rem;
    color: #3c4b64;
    background-color: #fff;
    border-color: #d8dbe0;
}

.dropdown-item-users{
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.1rem 1rem !important;
    clear: both;
    font-weight: 400;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    color: #4f5d73;
}



/* =======================================================
   SWEETALERT2 GLOBAL CUSTOM STYLING
   ======================================================= */

/* --- Base Style untuk Semua Alert --- */

.swal2-popup.swal2-toast .swal2-title {
    margin: 0.5em !important;
    padding: 0;
    font-size: 0.9em !important;
    text-align: initial;
}
.swal2-popup,
.swal2-toast {
  font-family: "Inter", sans-serif !important;
  font-size: 0.85rem !important;
  border-radius: 10px !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}

/* --- Title & Body Text --- */
.swal2-title {
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  color: #fff !important;
}

.swal2-html-container {
  font-size: 0.7rem !important;
  color: #f5f5f5 !important;
}

/* =======================================================
   TIPE PER ALERT (popup + toast)
   ======================================================= */

/* === INFO === */
.swal2-toast.swal2-icon-info,
.swal2-popup.swal2-icon-info {
  background-color: #2196f3 !important; /* biru terang */
  color: #ffffff !important;
}

/* Icon info */
.swal2-icon.swal2-info {
    background-color: #ffffff !important;
    color: #2196f3 !important;
    border: none !important;
}


/* === SUCCESS === */
.swal2-toast.swal2-icon-success,
.swal2-popup.swal2-icon-success {
  background-color: #43a047d6 !important; /* hijau */
  color: #ffffff !important;
}

/* Icon success */
.swal2-icon.swal2-success {
  background-color: #43a047d6 !important; /* hijau tua */
  color: #ffffff !important;
  border: none !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    position: absolute;
    z-index: 2;
    top: -.25em;
    left: -.25em;
    box-sizing: content-box;
    width: 100%;
    height: 100%;
    border: .25em solid #ffffff !important;
    border-radius: 50%;
}

.swal2-icon.swal2-success [class^=swal2-success-line] {
    display: block;
    position: absolute;
    z-index: 2;
    height: .3125em;
    border-radius: .125em;
    background-color: #fff !important;
}


/* === WARNING === */
.swal2-toast.swal2-icon-warning,
.swal2-popup.swal2-icon-warning {
  background-color: #ff9800 !important; /* oranye */
  color: #ffffff !important;
}

/* Icon warning */
.swal2-icon.swal2-warning {
  background-color: #ef6c00 !important; /* oranye tua */
  color: #ffffff !important;
  border: none !important;
}

/* === ERROR / DANGER === */
.swal2-toast.swal2-icon-error,
.swal2-popup.swal2-icon-error {
  background-color: #e53935 !important; /* merah */
  color: #ffffff !important;
}

/* Icon error */
.swal2-icon.swal2-error {
  background-color: #b71c1c !important; /* merah tua */
  color: #ffffff !important;
  border: none !important;
}

/* =======================================================
   TOMBOL KONFIRMASI & AKSI
   ======================================================= */

.swal2-confirm {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border: none !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-weight: 500 !important;
}

.swal2-confirm:hover {
  background-color: rgba(255, 255, 255, 0.3) !important;
}


.bg-rose-100 { background-color: #ffe4e6; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-purple-100 { background-color: #e9d5ff; }
.bg-rose-500 { background-color: #f43f5e; }
.bg-purple-50 { background-color: #faf5ff; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-amber-50 { background-color: #fffbeb; }
.text-rose-600 { color: #e11d48; }
.text-rose-500 { color: #f43f5e; }
.text-rose-100 { color: #ffe4e6; }
.bg-gradient-to-r { background: linear-gradient(to right, #8C6F35, #a88644); }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }

.lb-outerContainer {
    max-width: 500px !important;
    width: 90% !important;
    margin: auto !important;
}
.lb-image {
    max-width: 500px !important;
    height: auto !important;
    object-fit: contain !important;
}

.form-control {
   
    border-color: #9c9ea1 !important;
    
}

.form-control.is-invalid {
    border-color: #e55353 !important;
    
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .0rem !important;
    font-size: 100% !important;
    color: #e55353 !important;
    text-transform: capitalize !important;
}

@media (min-width: 1600px) {
    .summary-card {
        padding: 1.25rem 1.5rem !important;   /* bigger padding */
        transform: scale(1.06);               /* slight upscale */
    }

    .summary-title {
        font-size: 0.95rem !important;
    }
    .summary-value {
        font-size: 1.55rem !important;
    }
    .summary-icon-box {
        min-width: 65px !important;
        min-height: 65px !important;
    }
    .summary-icon-box i {
        font-size: 2.2rem !important;
    }
}

/* ≥1900px (Ultra-Wide / 2K Monitor) */
@media (min-width: 1900px) {
    .summary-card {
        padding: 1.4rem 1.7rem !important;
        transform: scale(1.12);
    }
    .summary-value {
        font-size: 1.75rem !important;
    }
    .summary-icon-box {
        min-width: 75px !important;
        min-height: 75px !important;
    }
    .summary-icon-box i {
        font-size: 2.6rem !important;
    }
}
