@font-face {
    font-family: noto;
    src: url(../fonts/NotoSans_Condensed-Regular.ttf);
}

@font-face {
    font-family: roboto;
    src: url(../fonts/Roboto_Condensed-Regular.ttf);
}

@font-face {
    font-family: inter;
    src: url(../fonts/Inter_28pt-Regular.ttf);
}

html{
    overflow:hidden;
}

h1, h2, h3, h4, h5, h6{
    font-family:'noto';
    color:#555;
}

input, p, span, div, label, select, option{
    font-family:'inter';
    font-size:12px;
    color:#555;
}

.form-control{
    font-size:12px;
    color:#555;
}

input[type="checkbox"]{
    border:1px solid #555;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast-custom {
    min-width: 300px;
    padding: 16px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    border-left: 5px solid #ccc;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-custom.show {
    transform: translateX(0);
}

.toast-custom .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    color: #fff;
    flex-shrink: 0;
}

.toast-custom .content {
    flex-grow: 1;
}

.toast-custom .title {
    font-weight: 700;
    display: block;
    font-size: 14px;
}

.toast-custom .message {
    font-size: 12px;
    color: #666;
}

.search th {
  border-right: 1px solid #d2d2d2; /* Menambahkan garis di sisi kanan saja */
  padding: 10px;
}

/* Opsional: Menghapus border-right pada kolom paling terakhir agar lebih rapi */
.search th:last-child {
  border-right: none;
}

/* Variasi Warna */
.toast-success { border-left-color: #22c55e; }
.toast-success .icon { background-color: #22c55e; }

.toast-error { border-left-color: #ef4444; }
.toast-error .icon { background-color: #ef4444; }

.toast-info { border-left-color: #3b82f6; }
.toast-info .icon { background-color: #3b82f6; }

/* Spinner untuk Tombol */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spinner-border .75s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

.filter-date-container {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 8px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    width: fit-content;
    gap: 15px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #636e72;
    font-size: 13px;
    font-weight: 600;
}

.date-input-group {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2px 10px;
}

.date-field {
    border: none;
    background: transparent;
    padding: 6px;
    font-size: 13px;
    color: #2d3436;
    outline: none;
    width: 140px; /* Ukuran pas untuk input date */
}

.date-separator {
    padding: 0 10px;
    color: #b2bec3;
    font-size: 12px;
}

.btn-reload {
    background: #007bff;
    color: white;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reload:hover {
    background: #0056b3;
    transform: rotate(45deg);
}

/* Hilangkan icon kalender default browser jika ingin lebih clean */
.date-field::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* Overlay Full Screen (Opsional) */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.pagination{
    vertical-align: middle !important;
    margin-top: 3px !important;
}

.pagination li{
    cursor:pointer;
}

table thead tr.search{
    position:relative;
}

table tbody tr.content td{
    background:transparent;
    vertical-align:middle;
}

table tbody tr.content:hover {
    background-color:#f9f9f9;
    cursor:pointer;
}

.table-responsive {
    overflow-x: scroll !important;
}

table thead tr.search th svg.fa-magnifying-glass{
    position: absolute !important;
    top: -1px !important;
    left: -1px !important;
    color: #bcbcbc;
    /* background-color: aliceblue; */
    padding: 8px;
    padding-left: 5px;
    padding-right: 1px;
    /* border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border:1px solid #dee2e6;
    border-right:0px;
    padding-bottom:9px; */
}

table thead tr.search th svg.fa-broom{
    position: absolute !important;
    top: -1px !important;
    right: -1px !important;
    color: #bcbcbc;
    /* background-color: aliceblue; */
    padding: 8px;
    padding-left: 1px;
    padding-right: 5px;
    /* border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border:1px solid #dee2e6;
    border-left:0px;
    padding-bottom:9px; */
}

table thead tr.search th{
    padding:0 !important;
}

table thead tr th{
    vertical-align:middle;
    border-top:1px solid #dee2e6;
    background-color:#f5f5f7 !important;
    text-align:center;
}

table thead tr.search th input[type="text"]{
    border:0;
    padding:5px;
    outline:none;
    width:100%;
    background-color: aliceblue;
}

table thead tr.search th input[type="text"]::placeholder {
  text-align: center; /* Centers the placeholder text horizontally */
}

table tbody tr.content td{
    font-size:11px;
}

.worksheet{
    padding:24px;
    /* height: calc(100% - 60px); */
    height:100%;
    overflow: auto;
}

h1{

}

h2{

}

h3{

}

h4{

}

h5{

}

h6{

}

.container-fluid-custom{
    background-color:#f7f7f9;
    position:fixed;
    width:100%;
    height:100%;
    left:0;
    top:0;
    display:flex;
}

.background-login{
    background-image:url('../img/background-generated-long.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    /* Mengatur tinggi minimum agar aspek rasio landscape terjaga */
    min-height: 450px;
    width: 100%;

    /* Tambahkan overlay halus agar teks login lebih terbaca (opsional) */

    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: overlay;
}

.card-custom {
    background: rgba(255,255,255,0.5);
    border-radius: 12px; /* Lebih membulat agar modern */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Shadow yang halus */
    border: none;
    font-family: 'Public Sans', sans-serif; /* Font modern (opsional) */
}

.background-login .logo{
    width:200px;
    height:50px;
    background-position: center;
}

.logo {
    background-image: url('../img/logo-peve.png'); /* Pastikan path benar */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 60px;
    margin-bottom: 20px;
}

.custom-input {
    margin-bottom: 20px;
}

.custom-input label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #5e5873;
    margin-bottom: 5px;
    display: block;
}

.side-menu{
    position:relative;
    display:inline-block;
    width:200px;
    height: 100%;
    background-color:#fff;
    box-shadow:0 0.25rem 0.875rem 0 rgba(38, 43, 67, 0.16);
}

.side-menu .logo{
    background-position: 15px;margin:10px 0px;
    height:35px;
    opacity: 1 !important;
}

.side-menu div ul, .side-menu div ul li{
    list-style:none;
    padding:0;
    margin:0;
    width:100%;
}

.nav{
  display:block;
}

.side-menu div ul li{
    margin:0px 12px;
    padding:7px 12px;
    font-family:'inter';
    color:#555;
}

.side-menu div ul li:hover{
    background-color:#ededf0;
    border-radius:15px;
    cursor:pointer;
}

.side-menu .nav{
    height: calc(100% - 70px);
    overflow-x:hidden;
    overflow-y: auto;
    width: 100%;
    background-color: #fff;
    padding-bottom:50px;
}

.side-menu div div{

}

.side-menu div div hr{
    /* position:absolute; */
    width:100%;
    top: 19px;
    border:0;
    border-bottom:1.5px solid #bcbcbc;
    margin:0;
}

.side-menu div div .submenu-custom{
    display:block;
    position:relative;
    margin:20px 12px;
    margin-bottom:0px;
    padding:7px 12px;
    width:auto;
    margin-top:0;
}

.side-menu div div .submenu-custom h5{
    font-size:12px;
    /*position:absolute;*/
    font-family:'noto';
    text-transform: uppercase;
    color:#bcbcbc;
    background-color:#f7f7f9;
    padding:5px;
    margin-bottom:0;
}

.icon{
    margin-right:6.5px;
    width:13.5px;
    height:13.5px;
}

.side-menu .nav::-webkit-scrollbar {
   width: 0.3em;
   background-color: transparent;
}

.side-menu .nav::-webkit-scrollbar-thumb {
   background-color: #a8aab4;
   height: 10rem;
   border-radius:10px;
   cursor:pointer;
}

.side-menu .nav::-webkit-scrollbar-track {
   background-color: transparent;
   border-radius:10px;
}

.worksheet::-webkit-scrollbar {
   width: 0.3em;
   background-color: transparent;
}

.worksheet::-webkit-scrollbar-thumb {
   background-color: #a8aab4;
   height: 10rem;
   border-radius:10px;
   cursor:pointer;
}

.worksheet::-webkit-scrollbar-track {
   background-color: transparent;
   border-radius:10px;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #d8d6de;
    border-radius: 6px;
    transition: border-color 0.15s ease;
}

.form-control:focus {
    border-color: #666cff;
    box-shadow: 0 3px 8px rgba(102, 108, 255, 0.1);
    outline: none;
}

/* Tombol Sign In */
.btn-primary {
    background-color: #666cff !important;
    border-color: #666cff !important;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(102, 108, 255, 0.2);
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(102, 108, 255, 0.3);
}

/* Link */
a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

a:hover {
    text-decoration: underline;
}

.list-wizard, .list-wizard li{
    margin:0;
    padding:0;
    list-style:none;
}

.list-wizard li{
    padding-bottom:15px;
    cursor:pointer;
}

.list-wizard{
    padding:24px;
}

.list-wizard li div{
    display:inline-block;
    vertical-align:middle;
}

.list-wizard li.active div div div svg{
    color:#26c6f9 !important;
}

.list-wizard li.active div div div{
    background-color:#dcf6fe !important;
}

.list-wizard li.active div h6{
    color:#26c6f9
}

.list-wizard li div h6, .list-wizard li div span{
    margin:0;
    display:block;
    font-family:'inter';
}

.accept, .decline{
    display:inline-block;
    padding:5px;
    width:50%;
}

.accept button{
    background-color:#dcf6fe;
    color:#26c6f9;
    border:1px solid #dcf6fe;
    border-radius:7px;
    padding:10px 10px;
    font-size:10px;
    text-transform:uppercase;
    width:100%;
}

.decline button{
    background-color:#fff;
    color:#26c6f9;
    border:1px solid #26c6f9;
    border-radius:7px;
    padding:10px 10px;
    font-size:10px;
    text-transform:uppercase;
    width:100%;
}

.list-wizard li div h6{
    font-size:13px;
    font-weight:bold;
}

.list-wizard li div span{
    font-size:9.5px;
}

.search .select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 8px;
    text-align: left;
}

.list-approval:has(.empty) {
    border:0;
}

.list-approval .empty{
    border:0;
    width:100%;
    font-size:13px;
    font-weight:bold;
}

.list-approval{
  border-left:1.5px solid #bcbcbc;
  padding:0;
  margin:0;
  list-style:none;
  border-bottom-left-radius:20px;
  margin-bottom:50px;
  margin-top:10px;
}

.list-approval li{
  border-bottom:1.5px solid #bcbcbc;
  border-bottom-left-radius:20px;
  position:relative;
  width:50px;
  height:95px;
}

.list-approval li .box-approval{
  position:absolute;
  top: 44px;
  left:50px;
  width: max-content;
  min-width:250px;
  box-shadow:0 0.25rem 0.875rem 0 rgba(38, 43, 67, 0.16);
  border-radius:7px;
}

.list-approval li .box-approval div{
  position:relative;
}

.list-approval li .box-approval div h6{
  margin:0;
  font-family:'inter';
}

.list-approval li .box-approval div span{
  font-size:10px;
}

.select2-container{
  width:100% !important;
}

label.radiobutton:hover{
  border:1.5px solid blue !important;
  cursor:pointer;
}

.radio-card:hover {
    border-color: #26c6f9 !important;
    background-color: #f5f7ff;
}
input[type="radio"]:checked + .radio-card {
    border-color: #26c6f9 !important;
    background-color: #f5f7ff;
    box-shadow: 0 0 0 1px #26c6f9;
}

table .search .select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    border: 0;
    background-color: #f0f8ff;
}

#content-product{
  display:none;
}

#content-outlet{
  display:none;
}

#content-approval{
  display:none;
}

.table tbody tr td input[type="text"]{
    border:1px solid #f1f1f1;
    padding:3px 10px;
}

.table tbody tr td{
    padding:1px;
}

.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){
  display:none;
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control, .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select, .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){
  border-radius:3px !important;
}

.gj-datepicker{
  margin-bottom:0px !important;
  min-width:110px!important;
}

.rel-notification{
  position:fixed;
  bottom:10px;
  right:calc(50% - (300px / 2));
  margin:0;
  padding:0;
  z-index:9;
}

.rel-notification .box-notification{
  width:300px;
  border-radius:7px;
  margin:5px 0px;
}

.rel-notification .box-notification .content-notification{
  padding:15px 20px;
  position:relative;
}

.content-notification .icon-notification{
  width:30px;display:inline-block;vertical-align:top;
}

.icon-notification .shape{
  width:20px;height:20px;display:flex;border-radius:30px;margin-top:5px;
}

.red{
  border:1px solid #EA4335;
}

.red svg{
  color:#EA4335;
  margin:auto;
  border:0;
}

.green{
  border:1px solid #34A853;
}

.green svg{
  color:#34A853;
  margin:auto;
  border:0;
}

.blue{
  border:1px solid #4285F4;
}

.blue svg{
  color:#4285F4;
  margin:auto;
  border:0;
}

.yellow{
  border:1px solid #FBBC05;
}

.yellow svg{
  color:#FBBC05;
  margin:auto;
  border:0;
}

table tbody tr.content td {
    font-size: 11px;
    padding: 5px;
}

.user-action-area {

}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    /* background: #ffffff; */
    /* border: 1px solid #edf2f7; */
    /* border-radius: 50px; Capsule style */
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.03); */
    padding-right:0;
}

/* .user-profile:hover {
    background: #f8fafc;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
} */

.user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.user-name {
    font-size: 13px;
    font-weight: 700;
    color: #2d3436;
}

.user-role {
    font-size: 11px;
    color: #555;
    margin-top: -4px;
}

.user-avatar {
    position: relative;
}

.user-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e2e8f0;
}

.status-indicator {
    position: absolute;
    bottom: -4px;
    right: 0px;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid #fff;
    border-radius: 50%;
}

/* Dropdown Styles */
.profile-dropdown {
    position: absolute;
    bottom: 10px;
    left: 200px;
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    padding: 8px 0;
    display: none;
    animation: slideIn 0.2s ease-out;
    z-index: 9;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
}

.dropdown-header span {
    font-size: 11px;
    color: #64748b;
}

.profile-dropdown hr {
    margin: 0;
    border: 0;
    border-top: 1px solid #f1f5f9;
}

.nav-link{
    padding-left:4px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 11px;
    color: #475569;
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f1f5f9;
    color: #0d6efd;
}

.logout-link {
    color: #e11d48 !important; /* Red for logout */
}

.show {
    display: block !important;
}


@media screen and (max-width: 960px) {

}
