* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", serif;
    background-color: #f5f5f5;
}
a {
    color: inherit;
    text-decoration: none;
}

.bg-default {
    background: url('/assets/images/bg.png');
    background-size: cover;
    background-repeat: no-repeat
}

.dh-button-active {
    background-color: #497D74 !important;
    color: #fff
}

.product-link {
    cursor: pointer;
}

/* Navbar */
.dh-navbar {
    padding: 13px 13px 10px;
    background-color: #fffa;
    display: flex;
    border-bottom: 1px solid #eee;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    backdrop-filter: blur(3px);
    z-index: 99;
}
.dh-logo-container {
    position: relative;
}
.dh-logo-container img {
    width: 32px;
}
.dh-app-name {
    font-size: 20px;
    display: inline-block;
    padding-top: 2px;
    padding-left: 10px;
    font-weight: bold;
}
.dh-app-sub-name {
    font-size: 12px;
    display: inline-block;
    padding: 0 5px 5px 10px;
    padding-top: 8px;
    margin-right: 20px;
    flex: 1;
}
.dh-search-container {
    max-width: 600px;
    width: 100%;
}
.dh-tambah-product a {
    padding: 13px 20px 13px;
    font-size: 10px;
    margin: -4px 0px 0px 10px;
    background-color: #497D74;
    display: inline-block;
    border-radius: 10px;
    color: #fff;
    transition: all .3s ease;
}
.dh-tambah-product a:hover {
    background-color: #27445D;
}
/* End Navbar */
/* Sidebar */
.dh-sidebar {
    width: 250px;
    height: calc(100vh - 61.5px);
    position: fixed;
    top: 61.5px;
    padding: 10px;
}
.dh-sidebar-utama {
    width: 100%;
}
.dh-search-container {
    width: 100%;
    position: relative;
}
.dh-search {
    width: 100%;
    border: 0;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 12px;
    border: 1px solid #497d742e;
    background-color: #fffa;
}
.dh-atur {
    width: 100%;
}
.dh-button {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #497D74;
    color: #27445D;
    margin: 10px 2px 10px 0;
    border-radius: 10px;
    font-size: 10px;
    transition: all .3s ease;
}
.dh-button:hover {
    background-color: #27445D;
    color: #fff;
}
.dh-sidebar-filter h3 {
    font-size: 14px;
    margin: 20px 0 10px;
}
.dh-sidebar-filter ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.dh-sidebar-filter-button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #eee;
    font-size: 10px;
    margin-bottom: 5px;
    border-radius: 10px;
    transition: all .3s ease;
    cursor: pointer;
}
.dh-sidebar-filter-button:hover {
    background-color:rgb(184, 184, 184);
    color: #fff;
}
/* End Sidebar */
/* Content Container */
.dh-content-container {
    min-height: calc(100vh - 61.5px);
    margin-top: 61.5px;
    margin-left: 250px;
    padding: 10px;
}
.dh-product-img-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.dh-product-img-container img {
    width: 100%;
    border-radius: 5px 5px 0 0;
}
.dh-product-container {
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
}
.dh-product-img {
    position: absolute;
}
.dh-product-list-detail {
    position: relative;
    padding: 5px 10px 10px;
}
.dh-product-list a {
    display: block;
}
.dh-judul-product {
    font-size: 12px;
    overflow: hidden;
    height: 33px;
    font-weight: 500;
    color: #27445D;
}
.dh-brand {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    background-color: #074799;
    border-radius: 10px;
    color: #fff;
}
.dh-tipe-s {
    background-color: #27445D;
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    color: #fff;
}
.dh-tipe-p {
    background-color: #752525;
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    color: #fff;
}
.dh-harga {
    margin: 10px 0;
    font-size: 13px;
    color: #000
}
.dh-button-edit-hapus {
    font-size: 10px;
    display: inline-block;
    padding: 10px 5px;
    width: 100%;
    background-color: #FFC145;
    text-align: center;
    color: #fff;
    border-radius: 5px;
}
.dh-button-regular {
    font-size: 10px;
    display: inline-block;
    padding: 10px 5px;
    width: 100%;
    background-color:rgb(176, 176, 176);
    text-align: center;
    color: #fff;
    border-radius: 5px;
}
.dh-edit-hapus {
    display: none;
    margin-top: 5px;
}
.dh-hapus {
    background-color: #F93827;
}
.dh-edit {
    border: 1px solid #497D74;
    color: #fff;
    background-color: #497D74;
}
.dh-stat-sku {
    position: relative;
}
.dh-perform, .dh-profit {
    font-size: 9px;
    padding: 3px 5px;
    display: inline-block;
    border-radius: 5px;
}
.dh-per-high {
    border: 1px solid #D84040;
    color: #D84040;
}
.dh-per-med {
    border: 1px solid #E9762B;
    color: #E9762B;
}
.dh-pro-high {
    border: 1px solid #43a45b;
    color: #43a45b;
}
.dh-pro-med {
    border: 1px solid #E9762B;
    color: #E9762B;
}
.dh-harga-b2b {
    margin: 10px 0;
    font-size: 13px;
}
.dh-harga-affiliator .dh-harga-het, .dh-harga-affiliator .dh-harga-untung {
    font-size: 13px;
}
.dh-harga-affiliator {
    margin: 10px 0;
}
.dh-mini-text {
    display: block;
    font-size: 10px;
}
.dh-harga-het {
    display: block;
}
.dh-disc {
    padding: 0px 3px;
    border: 1px solid #43a45b;
    width: fit-content;
    color: #1f612f;
    border-radius: 3px;
    background-color: #43a45b2f;
}
.dh-show-disc {
    display: none;
}
/* End Content Container */
/* Pop Up */
.dh-modal {
    display: none
}
.dh-shadow {
    background-color: #0005;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
}
.dh-pop-up-container {
    max-width: 600px;
    width: 100%;
    background-color: #fff;
    min-height: 100px;
    z-index: 100;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding-top: 40px;
}
.dh-head-popup {
    font-size: 12px;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 20px;
    max-width: 600px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    border-radius: 10px 10px 0 0;
    background-color: #fffa;
    backdrop-filter: blur(10px);
    font-weight: bold;
}

.dh-close-head {
    display: none
}
/* Upload Gambar */
.upload-container {
    text-align: center;
    margin: 20px 0;
}

.upload-box {
    max-width: 300px;
    width: 100%;
    max-height: 300px;
    height: 100vh;
    background: white;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    transition: 0.3s;
    overflow: hidden;
    position: relative;
    border: 1px solid #ddd;
    margin: 0 auto;
}

.upload-box:hover {
    border: 1px solid red;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: none;
    padding: 10px;
}

.upload-text {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.upload-text img {
    width: 75px;
}

input[type="file"] {
    display: none;
}
.dh-reupload {
    font-size: 10px;
    color: #aaa;
}
.dh-form {
    padding: 0 20px 20px;
}
.dh-label {
    display: block;
    width: fit-content;
    background-color: #fff;
    padding: 0 6px;
    font-size: 10px;
    margin-left: 10px;
    z-index: 999;
    position: relative;
}
.dh-input-text {
    border: 1px solid #ddd;
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    margin-top: -7px;
    margin-bottom: 20px;
}
.dh-important::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 10px;
    background-color: red;
    position: absolute;
    top: 4px;
    right: 6px;
}
.dh-important {
    padding: 0 18px 0 6px;
}
.dh-button-save {
    width: 200px;
    margin: 0 auto;
    display: block;
    padding: 15px;
    border-radius: 5px;
    border: 0;
    background-color: #43a45b;
    cursor: pointer;
    color: #fff;
    transition: all .3s ease;
} 
.dh-button-save:hover {
    background-color: #276e39;
}
/* End Pop Up */
/* View */
.dh-view-content-container {
    max-width: 1000px;
    margin: 82px auto 0;
}
.dh-view-img-container {
    position: sticky;
    top: 80px;
}
.dh-view-img-container img {
    width: 100%;
    border-radius: 10px;
}
.dh-view-img {
    position: absolute;
}
.dh-nama-product h1 {
    font-size: 24px;
    font-weight: normal;
    margin: 10px 0;
    font-weight: bold;
}
.dh-nama-product p {
    font-size: 12px;
    font-weight: normal;
    margin: 10px 0;
}
.dh-nama-product, .dh-detail-product {
    padding: 0 20px;
}
.dh-bold {
    font-weight: bold;
}
.dh-detail-product {
    width: 100%;
    font-size: 12px;
}
/* .dh-detail-product table {
    border-spacing: 0;
}
.dh-detail-product td {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
} */
.dh-table-view-1 {
    width: 25%;
}
.dh-product-variant-container {
    width: 100%;
    position: relative;    
    margin: 10px 0;
    border: 1px solid #ddd;
    padding: 10px 10px 7px;
    border-radius: 10px;
    background-color: #fff;
}
.dh-product-variant-img {
    position: absolute;
}
.dh-product-variant-img-container {
    position: relative;
    width: 80px;
}
.dh-product-variant-img-container img {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.dh-product-variant-detail {
    padding: 2px 0 0 15px;
}
.dh-product-variant-detail h3 {
    margin: 0;
}
.dh-product-variant-detail p {
    margin: 5px 0;
}
.img-container {
    height: 250px;
}
/* End View */
/* Css mobile */
@media only screen and (max-width: 768px) {
.img-container {
    height: 180px;
}
.dh-navbar {
    padding: 10px 10px 7px;
    background-color: #fffa;
    display: flex;
    border-bottom: 1px solid #eee;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    backdrop-filter: blur(3px);
    z-index: 99;
}
.dh-logo-container img {
    width: 24px;
}
.dh-app-name {
    font-size: 18px;
    display: inline-block;
    padding-top: 0px;
    padding-left: 10px;
    font-weight: bold;
}
.dh-app-sub-name {
    font-size: 10px;
    display: inline-block;
    padding: 0 5px 5px 10px;
    padding-top: 6px;
    margin-right: 20px;
    flex: 1;
}
.dh-tambah-product a {
    padding: 5px 10px;
    font-size: 10px;
    margin: -4px 0px 0px 10px;
    background-color: #497D74;
    display: inline-block;
    border-radius: 10px;
    color: #fff;
    transition: all .3s ease;
}
.dh-sidebar {
    width: 100%;
    height: auto;
    position: relative !important;
    padding: 0 10px 10px;
    margin-bottom: 70px;
}
.dh-sidebar-filter h3 {
    font-size: 10px;
    margin: 10px 0;
}
.dh-content-container {
    min-height: 0;
    margin-top: 22px;
    margin-left: 0;
    padding: 10px;
}
.dh-pop-up-container {
    max-width: 600px;
    width: 100%;
    background-color: #fff;
    min-height: 100px;
    z-index: 100;
    position: fixed;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0px;
    max-height: 100vh;
    overflow: auto;
    padding-top: 40px;
}
.dh-head-popup {
    font-size: 12px;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0px;
    max-width: 600px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    border-radius: 10px 10px 0 0;
    background-color: #fffa;
    backdrop-filter: blur(10px);
    font-weight: bold;
}
.upload-box {
    max-width: 200px;
    width: 100%;
    max-height: 200px;
    height: 100vh;
    background: white;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    transition: 0.3s;
    overflow: hidden;
    position: relative;
    border: 1px solid #ddd;
    margin: 0 auto;
}

.dh-head-popup-mobile {
    text-align: center;
    position: relative;
    top: 0px;
    z-index: 999;
}
.dh-head-popup-mobile {
    display: flex;
}
.dh-tittle-head {
    flex: 1;
    padding: 3px 0 0;
}
.dh-close-head {
    z-index: 9999;
    width: 20px;
    display: block;
}
.dh-close-head img {
    width: 100%;
    margin-bottom: -3px;
}
.dh-view-content-container {
    max-width: 1000px;
    margin: 45px auto 0;
}
.dh-nama-product h1 {
    font-size: 18px;
    font-weight: normal;
    margin: 10px 0;
    font-weight: bold;
}
.dh-nama-product p {
    font-size: 10px;
    font-weight: normal;
    margin: 10px 0;
}
.dh-detail-product {
    width: 100%;
    font-size: 11px;
}
.dh-detail-product td {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;    
}
.dh-nama-product, .dh-detail-product {
    padding: 0 10px;
}
.dh-product-variant-detail {
    font-size: 10px;
    margin: 6px 0;
}
}

.note-frame {
    border: 0px !important;
}

.note-toolbar {
    border-bottom: 0px !important;
    background-color: #fff !important;
}

.note-statusbar {
    border-top: 0px !important;
}

.note-resizebar {
    height: 12px !important;
    padding-top: 3px !important;
}

.select2-custom-input {
    border: 1px solid #ddd !important;
    width: 100%;
    border-radius: 5px !important;
    font-size: 14px;
}

.select2-container .select2-selection {
    padding: 5px;
    height: auto !important;
}

.btn-xs {
    padding: 2px 8px; 
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}