/* You can add global styles to this file, and also import other style files */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* **********COLORS********** */
    --primary-color: #272627;
    --white-color: #fff;
    --light-color: #FAFBFD;
    --grey-color: #E0E0E0;
    /* **********COLORS********** */

    /* **********FONTS********** */
    --font-primary: "Montserrat", serif;
    --font-secondary: "Inter", serif;
    /* **********FONTS********** */

    --transition-anim: .3s all ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #dfdede;
}

::-webkit-scrollbar-thumb {
    background-color: #272627c5;
    /* Primary color for scrollbar thumb */
    border-radius: 4px;
    border: 2px solid transparent;
    /* Creates a gap around thumb */
    background-clip: content-box;
    /* Ensures border-radius works smoothly */
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color);
    /* Slightly lighter shade on hover */
}

::-webkit-scrollbar-thumb:active {
    background-color: var(--primary-color);
    /* Darker shade when scrolling */
}


body {
    color: var(--primary-color);
    font-family: var(--font-primary);
}

.bg_primary {
    background-color: var(--primary-color);
}

.text_primary {
    color: var(--primary-color);
}

.text__danger {
    color: #EE2614;
}

.text__success {
    color: #1BB13C;
}

.main__sidebar {
    width: 260px;
    transition: width 0.3s;
    min-height: 100svh;
    position: relative;
    flex-shrink: 0;
}

#sidebar.collapsed {
    width: 60px;
}

.toggle-btn {
    position: absolute;
    bottom: 20px;
    right: -15px;
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.main__sidebar .logo {
    max-width: 160px;
}

.sidebar-item {
    padding-left: 40px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white-color);
    text-decoration: none;
    font-size: 16px;
    font-family: var(--font-secondary);
    position: relative;
    z-index: 1;
    padding-top: 10px;
    padding-bottom: 10px;
}

.sidebar-item img {
    max-width: 24px;
}

.sidebar-item.active {
    color: var(--primary-color);
}

.sidebar-item.active img {
    filter: invert(1);
}

.sidebar-item.active::before {
    position: absolute;
    content: "";
    background-color: var(--light-color);
    height: 100%;
    z-index: -1;
    left: 20px;
    right: 0;
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
}

.btn__white {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 1px solid var(--white-color);
    outline: none;
    border-radius: 1.5rem;
    text-decoration: none;
    display: inline-block;
}

.btn__primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 1px solid var(--primary-color);
    outline: none;
    border-radius: 1.5rem;
    text-decoration: none;
    display: inline-block;
}

.btn__outlined__primary {
    background-color: var(--white-color);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    outline: none;
    border-radius: 1.5rem;
    text-decoration: none;
    display: inline-block;
}

.btn__md {
    padding: 5px 32px;
    font-weight: 500;
    font-size: 14px;
}

.btn__sm {
    padding: 4px 24px;
    font-weight: 400;
    font-size: 14px;
}

.main__content {
    background-color: var(--light-color);
    flex-grow: 1;
    min-width: 0;
    overflow-y: auto;
    /* Prevents content overflow */
}

.header .user__title {
    font-weight: 700;
    font-size: 22px;
}

.header .current__date {
    font-weight: 500;
    font-size: 16px;
}

.border__primary {
    border: 1px solid var(--primary-color);
}

.border__primary__end {
    border-right: 1px solid var(--primary-color);
}

.small__btn {
    background-color: var(--primary-color);
    border-radius: 1.5rem;
    outline: none;
    border: none;
    width: 50px;
    height: 40px;
}

.small__btn img {
    width: 24px;
    height: 24px;
}

.bg__dark__grey {
    background-color: var(--grey-color);
}

.inventory__title {
    font-size: 18px;
    font-weight: 600;
}

.modal__title {
    font-size: 14px;
    font-weight: 500;
}

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

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.download__dropdown::after {
    display: none;
}

.text-sm {
    font-size: 14px;
}

.text-base {
    font-size: 16px;
}

.text-md {
    font-size: 18px;
}

.main__table thead>tr>th:first-child,
.main__table tbody>tr>td:first-child {
    padding-left: 20px;
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
}

.main__table thead>tr>th:last-child,
.main__table tbody>tr>td:last-child {
    padding-right: 20px;
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.main__table th {
    font-size: 14px;
    font-weight: 500;
    padding-left: 14px;
    padding-right: 14px;
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: left;
}

.main__table tbody tr:hover {
    background-color: var(--grey-color);
}

.main__table td {
    font-size: 14px;
    font-weight: 400;
    padding-left: 14px;
    padding-right: 14px;
}

.action__icon {
    border: none;
    outline: none;
    background: transparent;
}

.action__icon img {
    width: 16px;
    height: 16px;
    object-fit: cover;
}

/* Home page */
.home__page .user__account {
    font-weight: 700;
    font-size: 24px;
}

.home__page .user__name {
    font-weight: 700;
    font-size: 18px;
}

.home__page .user__division {
    font-size: 12px;
}

.home__page .user__imageBox {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    border: 1px solid var(--primary-color);
    background-color: var(--grey-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.home__page .user__imageBox span {
    font-size: 32px;
    font-weight: bolder;
}

.home__page .total__text {
    color: #A19B95;
    font-size: 16px;
    font-weight: 500;
}

.home__page .large__fonts {
    font-size: 42px;
    font-weight: bold;
}

.home__page .graph__btn {
    background-color: var(--grey-color);
    color: #31216ae0;
    padding: 4px 20px;
    border-radius: 0.4rem;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
}

/* Home page */

/* ANUS CSS */
.btn__disbled {
    background-color: #9ea6af;
    color: white;
    border: 1px solid var(white);
    outline: none;
    border-radius: 1.5rem;
}

.home_page .large_fonts {
    font-size: 25px;
    font-weight: bold;
}

/* ANUS CSS */

.input__badge {
    background-color: var(--primary-color);
    color: var(--white-color);
    position: absolute;
    font-size: 8px;
    padding: 2px 20px;
    border-radius: 1.5rem;
    transform: translate(-50%, 50%);
    top: -50%;
    left: 50%;
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.quantity__box .btn__ {
    position: absolute;
    border: none;
    outline: none;
    background: transparent;
    top: 50%;
    transform: translateY(-50%);
}

.quantity__box input {
    padding-left: 30px;
    padding-right: 30px;
}

.quantity__box .btn__subtract {
    left: 10px;
}

.quantity__box .btn__add {
    right: 10px;
}

/* billing detail page */
.billing__detail .items__column {
    width: 100%;
}

.billing__detail table {
    table-layout: auto !important;
    width: 100%;
}

/* billing detail page */

/* auth__page */
.auth__page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
    z-index: 1;
}

.auth__page .logo {
    max-width: 188px;
    height: auto;
}

.auth__page .wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: -1;
    background: url(../images/wave.svg) no-repeat bottom / cover;
    height: 97svh;
}

.h__100 {
    height: 100svh;
}

.max__400 {
    max-width: 400px;
}

.__box .__box__logo {
    max-width: 160px;
}

.__box input {
    background-color: #FFFFFF33;
    color: var(--white-color);
    text-align: center;
    border-color: var(--primary-color);
}

.__box input:focus {
    background-color: #FFFFFF33;
    color: var(--white-color);
}

.__box input::placeholder {
    color: var(--white-color);
}

.__box .forget__link {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    position: relative;
}

.__box .forget__link::before {
    position: absolute;
    content: "";
    width: 40px;
    height: 1px;
    background-color: var(--white-color);
    bottom: 4px;
    left: -50px;
}

.__box .forget__link::after {
    position: absolute;
    content: "";
    width: 40px;
    height: 1px;
    background-color: var(--white-color);
    bottom: 4px;
    right: -50px;
}

/* auth__page */

/* welcome__page */
.welcome__page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 12px;
    width: 100%;
}

.welcome__page .large__heading {
    font-size: 60px;
    line-height: 60px;
}

/* welcome__page */


/* settings */
.list__groups {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list__groups .__btn {
    background: none;
    outline: none;
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
}

.list__groups>*:not(:last-child) {
    border-bottom: 1px solid var(--primary-color);
}

.list__groups img {
    max-width: 20px;
    height: auto;
}

.modal__icon__box {
    background-color: var(--primary-color);
    width: 48px;
    height: 48px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal__icon__box img {
    max-width: 24px;
}

/* settings */