@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f3f2f7;
    font-size: 14px !important;
}

.dropdown-menu {
    font-size: 14px !important;
    border-radius: 5px;
    --bs-dropdown-padding-x: 0;
    --bs-dropdown-padding-y: 0.25rem;
    padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);
}

.dropdown-menu[data-bs-popper] {
    margin-top: 8px;
}

.btn-white {
    background-color: #FFF;
    border: 1px solid rgb(176, 176, 176);
}

.btn-white:hover {
    background-color: rgb(231, 231, 231);
    border: 1px solid rgb(176, 176, 176);
}

.breadcrumb-item a {
    text-decoration: none !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "\F285";
    font-family: "bootstrap-icons";
}

.dropdown-item.active {
    color: #212529;
    background-color: transparent;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--bs-dropdown-link-hover-color);
    background-color: var(--bs-dropdown-link-hover-bg);
}

th a {
    color: #444;
    text-decoration: none !important;
}

th a:hover {
    color: #444;
    text-decoration: none !important;
}

td .form-control {
    font-size: 14px;
}

.dropdown-divider {
    display: block;
    width: 100%;
    background-color: rgb(227, 227, 227);
    height: 0.5px;
}


.text-navy {
    color: #013753;
}

.btn {
    font-size: 14px;
}

.icon-inline::before {
    display: inline !important;
}

.form-control:read-only {
    background-color: #f3f3f3;
    cursor: not-allowed;
}

.app-text-small {
    font-size: 12px !important;
}

select[readonly].select2-hidden-accessible+.select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible+.select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible+.select2-container .select2-selection__arrow,
select[readonly].select2-hidden-accessible+.select2-container .select2-selection__clear {
    display: none;
}

/** YII2 **/

main>.container {
    padding: 80px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}


.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav>li>form>button.logout:focus {
    outline: none;
}

.bg-white {
    background-color: #FFF;
}

.form__err__ct {
    margin-bottom: 20px;
}

.form__err__title {
    margin-bottom: 10px;
}

.form__err__prop__ct {
    margin-bottom: 8px;
}

.form__err__prop {
    font-size: 12px;
    font-weight: 500;
    color: #a94442;
}

.form-label {
    font-weight: 500;
}

.form__err__msg {
    font-size: 11px;
    color: #a94442;
}

.btn-light-optic,
.btn-light-optic:hover {
    background-color: #e4ebf5 !important;
}

.top-border-dashed {
    border-top: 1px dashed #e9ecef !important;
}

.bottom-border-dashed {
    border-bottom: 1px dashed #e9ecef !important;
}

.filters .select2-container--bootstrap-5 .select2-selection {
    font-size: 14px !important;
}

.fw-600 {
    font-weight: 600;
}

.blue-text {
    color: #1cbfff;
}

.text-xs {
    font-size: 12px;
}

.text-xxs {
    font-size: 10px;
}

.grid-view table thead tr th,
.grid-view table thead tr th a {
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.grid-view table thead tr th,
.grid-view table tbody tr td {
    vertical-align: middle;
}

.table {
    --bs-table-striped-bg: #f8fafc;
}

.brand-image {
    height: 25px;
}

.bg-optic {
    background-color: #b22b2b !important;
}

.btn-optic {
    background-color: #b22b2b !important;
    color: #fff;
}

.btn-outline-optic,
.btn-outline-optic:hover {
    background-color: transparent !important;
    border-color: #b22b2b !important;
    color: #b22b2b !important;
}

.btn-optic:hover {
    background-color: #9d2929 !important;
    color: #fff;
}

.btn-optic:disabled {
    color: rgba(255, 255, 255, 0.5);
    background-color: rgb(135, 135, 135) !important;
}

.text-optic,
.text-optic:hover {
    color: #b22b2b !important;
}

.btn-vpadding {
    padding: 0.7rem 1rem;
}

.navbar-nav .show>.nav-link,
.navbar-nav .nav-link.active {
    color: #9d2929 !important;
}

.fw-600 {
    font-weight: 600;
}

.fw-500 {
    font-weight: 500;
}

.brand-logo {
    height: 50px;
}

.text-product {
    color: #606060 !important;
}

.pointer {
    cursor: pointer !important;
}

.otp-input {
    width: 250px;
    outline: none;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 32px;
    letter-spacing: 10px;
    font-weight: 600;
    margin-bottom: 5px;
    border-bottom: 2px solid #c1c0c0;
}

.otp-input.is-invalid {
    border-bottom: 2px solid #dc3545;
}

.w-10 {
    width: 10% !important;
}

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

.product-list-btn:hover {
    color: black !important;
}

.product-list-btn:active {
    color: #b22b2b !important;
}

.bi-bold-icon {
    -webkit-text-stroke: 1px;
}

.qty-btn {
    color: #b22b2b;
}

.qty-btn:disabled {
    color: rgba(0, 0, 0, 0.5);
}

.accordion-optix-button:focus {
    outline: 0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.accordion-optix-button:not(.collapsed) {
    color: #b22b2b !important;
    background-color: rgba(178, 43, 43, 0.1);
}

.accordion-optix-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.table-product thead tr th,
.table-product table thead tr th a {
    text-transform: uppercase;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: .05em;
}

.text-grey {
    color: #d9d9d9;
}

.card-dashboard {
    min-height: 375px;
}

.line-chart-canvas {
    position: relative;
    height: 350px;
}

.donat-chart-canvas {
    position: relative;
    height: 225px !important;
}

.detail-product-checkout {
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.right-product-checkout {
    border-left: 1px dashed #e9ecef;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    align-items: end;
    height: 100%;
}

.checkbox-checkout {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

.product-index-total {
    border-left: 1px dashed #e9ecef;
    padding-left: 75px;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: start;
    height: 100%;
}

.supplier-index-see-product {
    border-left: 1px dashed #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
}


.modal-optic {
    max-width: 600px;
}

.invisible {
    visibility: hidden;
}

.text-orange {
    color: #fb5d24;
}

.top-right-toast {
    top: 70px;
    right: 208px;
    position: absolute;
    z-index: 9999;
}

.grayscale-opcatity-50 {
    filter: grayscale(100%);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .product-index-total {
        border-left: none;
        padding-left: 0;
    }
}

.supplier-img-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.supplier-img-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center center;
}

.clear-icon-input {
    position: absolute;
    right: 40px;
    top: 5px;
    height: 12px;
    color: #c8c8c8;
    cursor: pointer;
    z-index: 10;
    /* to be on top of the input */
}

.supplier-image-menu {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.border-top-dashed {
    border-top: 1px dashed #e9ecef !important;
}

.border-bottom-dashed {
    border-bottom: 1px dashed #e9ecef !important;
}