/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
/* Icons */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");

/* ***********GLOBAL VARIABLES START********** */
/* LIGHT MODE THEME*/
:root {
    /* *COLORS */
    /* ***Brand colors */
    --fh-color-primary: #2B9846;
    --fh-color-secondary: rgb(232, 78, 109);
    --fh-color-tertiary: rgb(64, 81, 137);
    --fh-color-alternate: rgb(135, 197, 205);

    /* ***Accent colors */
    --fh-color-accent1: rgb(194, 47, 80); /* Darker coral pink */
    --fh-color-accent2: rgb(45, 121, 160); /* Muted primary color */
    --fh-color-accent3: rgb(122, 145, 190); /* Light indigo blue */
    --fh-color-accent4: rgb(22, 140, 129); /* Muted teal blue */

    /* ***Semantic colors */
    --fh-color-success: rgb(22, 140, 129); /* Muted teal blue for success */
    --fh-color-bg-success: #168c811a; /* Success background */
    --fh-color-danger: rgb(194, 47, 80); /* Dark coral pink for danger */
    --fh-color-bg-danger: rgba(194, 47, 80, 0.1); /* Danger background */
    --fh-color-warning: rgb(247, 184, 75); /* Bright amber */
    --fh-color-bg-warning: rgba(247, 184, 75, 0.1); /* Warning background */
    --fh-color-info: rgb(45, 121, 160); /* Muted teal */
    --fh-color-bg-info: rgba(45, 121, 160, 0.1); /* Info background */
    --fh-color-error: rgb(232, 78, 109); /* Coral pink for errors */
    --fh-color-bg-error: rgba(201, 55, 92, 0.15); /* Light translucent coral background */
    
    /* ***Utility colors */
    /* --fh-color-text-primary: #495057; */
    --fh-color-text-primary: rgb(45, 45, 45); /* Neutral dark gray */
    --fh-color-text-secondary: rgb(119, 119, 119); /* Neutral medium gray */
    --fh-color-text-tertiary: rgb(255, 255, 255); /* White */
    --fh-color-text-alternate: rgb(135, 197, 205); /* Light teal */
    --fh-color-bg-primary: rgb(243, 243, 249); /* Soft gray background */
    --fh-color-bg-secondary: rgb(255, 255, 255); /* White */
    --fh-color-bg-tertiary: rgb(225, 229, 237); /* Light gray background */

    /* *FONT */
    --fh-font-family-primary: "Noto Sans",sans-serif;
    --fh-font-family-secondary: "Noto Sans",sans-serif;
    
    /* *BORDER */
    --fh-border1: 1px solid rgba(0, 0, 0, 0.1);
    --fh-border-radius: .5rem;
    --fh-border-radius2: .35rem;
    --fh-border-radius-circle: 50%;
    
    /* *SHADOWN */
    --fh-shadow1: 0 0 15px rgba(0, 0, 0, 0.15);
    --fh-shadow2: 0 0 15px rgba(0, 0, 0, 0.15);
    --fh-shadow3: 0 0 15px rgba(0, 0, 0, 0.3);

    /* *ACTIVE */

    /* *HOVER */

    /* *TRANSITIONS */
    --fh-transition: all 0.3s;

}

/* DARK MODE THEME */
body.dark-mode {
    /* *COLORS */

    /* ***Accent colors */
    --fh-color-accent1: rgb(201, 55, 92); /* Soft coral pink */
    --fh-color-accent2: rgb(60, 145, 180); /* Balanced teal */
    --fh-color-accent3: rgb(148, 167, 212); /* Pale indigo blue */
    --fh-color-accent4: rgb(38, 170, 155); /* Muted teal */

    /* ***Semantic colors */
    --fh-color-success: rgb(38, 170, 155); /* Softer success teal */
    --fh-color-bg-success: rgba(38, 170, 155, 0.2); /* Transparent teal background */
    --fh-color-danger: rgb(201, 55, 92); /* Soft coral for danger */
    --fh-color-bg-danger: rgba(201, 55, 92, 0.2); /* Transparent coral background */
    --fh-color-warning: rgb(240, 185, 90); /* Muted amber for warning */
    --fh-color-bg-warning: rgba(240, 185, 90, 0.2); /* Transparent amber background */
    --fh-color-info: rgb(60, 145, 180); /* Balanced teal for info */
    --fh-color-bg-info: rgba(60, 145, 180, 0.2); /* Transparent teal background */
    --fh-color-error: rgb(201, 55, 92); /* Softer error coral */

    /* ***Utility colors */
    --fh-color-text-primary: rgb(240, 240, 240); /* Light gray for primary text */
    --fh-color-text-secondary: rgb(180, 180, 180); /* Medium gray for secondary text */
    --fh-color-text-tertiary: rgb(255, 255, 255); /* Pure white for high contrast */
    --fh-color-text-alternate: rgb(135, 197, 205); /* Light teal for alternate */
    --fh-color-bg-primary: rgb(45, 45, 60); /* Deep navy blue for background */
    --fh-color-bg-secondary: rgb(35, 35, 50); /* Slightly darker navy blue */
    --fh-color-bg-tertiary: rgb(55, 55, 75); /* Muted navy blue */

    --fh-shadow1: 0 0px 5px var(--primary-color, var(--fh-color-primary));
}
/* ***********GLOBAL VARIABLES END********** */

body {
    background-color: var(--fh-color-bg-secondary) !important;
}

/* scrollbar behaviors start*/
:root {
    --scrollbar-bg: rgba(0, 0, 0, 0);
    --scrollbar-thumb: var(--fh-color-primary);
}

*::-webkit-scrollbar {
    width: 0.4rem; 
    height: 0.4rem;
}

*::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
  }
  
*::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border-radius: var(--fh-border-radius2);
}


.scroll {
    overflow-y: auto;
}

/* scrollbar behaviors end*/


/* **********GLOBAL STYLES START********** */

/* Reset default styles*/
body * {
    font-family: var(--fh-font-family-primary);
}


.button-style-1 {
    cursor: pointer;
    padding: 10px;
    /* border-radius: var(--fh-border-radius); */
    /* width: 2.5rem; */
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: var(--fh-color-bg-secondary); */
    border: none;
    /* color: var(--fh-color-text-primary); */

    border-radius: 4px; 
    color: white !important; 
    border: none; 
    background-color: var(--white-color);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.button-style-1:hover {
    background-color: #36B456;
    /* background-color: #237C39; */
}

/* restyle checkbox input */
input[type="checkbox"] {
  
    min-width: 1rem !important;
    min-height: 1rem !important;
}

/* 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;
}
  
input::placeholder {
    font-family: var(--fh-font-family-primary);
}

.background-primary {
    background-color: var(--fh-color-bg-primary) !important;
}

.background-secondary{
    background-color: var(--fh-color-bg-secondary) !important;
}
.background-tertiary {
    background-color: var(--fh-color-bg-tertiary) !important;
}
  
.color-primary {
    color: var(--fh-color-primary) !important;
}
/* Typo */
.heading-style1 {
    font-family: var(--fh-font-family-primary);
    color: var(--fh-color-text-primary);
    font-size: 1.5rem;
    font-weight: 800;
}

.title-style1 {
    font-family: var(--fh-font-family-primary);
    color: var(--fh-color-text-primary);
    font-size: 1.2rem;
    font-weight: 500;
}
.title-style2 {
    font-family: var(--fh-font-family-primary);
    color: var(--fh-color-text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.subtitle-style1 {
    font-family: var(--fh-font-family-primary);
    color: rgb(94 94 94);
    font-size: 1rem;
    font-weight: 300;
}

.subtitle-style2 {
    font-family: var(--fh-font-family-primary);
    color: var(--fh-color-text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
}

.paragraph-style1 {
    font-family: var(--fh-font-family-primary) !important;
    color: var(--fh-color-text-primary) !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
}

.paragraph-style2 {
    font-family: var(--fh-font-family-primary);
    color: var(--fh-color-text-secondary);
    font-size: 0.8rem;
    font-weight: 300;
}

.label-primary {
    font-family: var(--fh-font-family-primary) !important;
    color: var(--fh-color-primary) !important;
    background-color: var(--fh-color-bg-primary) !important;
    font-size: 0.4rem;
    font-weight: 500;
    padding: .2rem;
    border-radius: var(--fh-border-radius2);
}
.label-secondary {
    font-family: var(--fh-font-family-primary) !important;
    color: var(--fh-color-secondary) !important;
    background-color: var(--fh-color-bg-primary) !important;
    font-size: 0.4rem;
    font-weight: 500;
    padding: .2rem;
    border-radius: var(--fh-border-radius2);
}
.label-info {
    font-family: var(--fh-font-family-primary) !important;
    color: var(--fh-color-info) !important;
    background-color: var(--fh-color-bg-info) !important;
    font-size: 0.8rem !important;
    font-weight: 500;
    padding: .2rem;
    border-radius: var(--fh-border-radius2);
}

.label-style1 {
    font-family: var(--fh-font-family-primary) !important;
    color: var(--fh-color-text-primary);
    background-color: var(--fh-color-bg-primary);
    font-size: 0.8rem !important;
    font-weight: 400;
    border-radius: var(--fh-border-radius);
    border: var(--fh-border1);
    padding: .35rem;
}
.label-style2 {
    font-family: var(--fh-font-family-primary);
    color: var(--fh-color-text-tertiary);
    background-color: var(--fh-color-success);
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
    height: fit-content;
    border-radius: var(--fh-border-radius);
    padding: .2rem;
    margin: .2rem;
    text-wrap: nowrap;
}
.label-style2 i {
    color: inherit !important;
}

/* Button styles */
.button-style1 {
    cursor: pointer;
    padding: 10px;
    border-radius: var(--fh-border-radius);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--fh-color-bg-secondary);
    border: none;
    color: var(--fh-color-text-primary)
}

.button-info {
    /* background-color: var(--fh-color-bg-info);  */
    border: solid 1px var(--fh-color-info); 
    color: var(--fh-color-info);
    border-radius: var(--fh-border-radius2);
    cursor: pointer;
    min-height: 2.5rem;
    min-width: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.button-info:hover {
    background-color: var(--fh-color-bg-info)
}

.button-warning {
    /* background-color: var(--fh-color-bg-warning);  */
    border: solid 1px var(--fh-color-warning); 
    color: var(--fh-color-warning);
    border-radius: var(--fh-border-radius2);
    cursor: pointer;
    min-height: 2.5rem;
    min-width: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.button-warning:hover {
    background-color: var(--fh-color-bg-warning)
}

.button-style1:hover {
    background-color: var(--fh-color-bg-primary) !important;
}

.button-style2 {
    cursor: pointer;
    padding: .2rem;
    border: none;
    border-radius: var(--fh-border-radius);
    background-color: var(--fh-color-accent4);
    font-size: .8rem;
    width: 4rem;
    height: 1.5rem;
    line-height: 1.5rem;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--fh-transition);
}
.button-style2:hover {
    transform: scale(1.1);
    transition: var(--fh-transition);

}

.button-style3 {
    cursor: pointer;
    padding: .3rem;
    border: none;
    border-radius: var(--fh-border-radius);
    background-color: var(--fh-color-bg-tertiary);
    color: var(--fh-color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--fh-transition);
}
.button-style3.clicked,
.button-style3:hover {
    background-color: var(--fh-color-primary);
    color: var(--fh-color-text-tertiary);
}

.button-style3 i {
    color: inherit !important;
}

.button-submit-style1 {
    padding: 10px; 
    height: 100%; 
    background-color: var(--fh-color-primary); 
    border: none; 
    color: var(--fh-color-text-tertiary);
    position: relative;
    border-radius: var(--fh-border-radius);
}

.button-submit-style2 {
    padding: 10px; 
    height: 100%; 
    border: solid 1px var(--fh-color-accent2); 
    border-radius: var(--fh-border-radius1);
    border-radius: var(--fh-border-radius);
    background-color: var(--fh-color-accent2); 
    color: var(--fh-color-text-tertiary);

}
.button-submit-style2:hover {
    opacity: .8;
}

/* Shadow styles */
.shadow1 {
    box-shadow: var(--fh-shadow1);
    -webkit-box-shadow: var(--fh-shadow1);
    -moz-box-shadow: var(--fh-shadow1)
}


.hover-color-bg-primary:hover {
    background-color: var(--fh-color-bg-primary) !important;
}
.hover-color-bg-primary.selected {
    background-color: var(--fh-color-bg-primary) !important;
}
.hover-color-bg-tertiary:hover {
    background-color: var(--fh-color-bg-tertiary) !important;
}
.hover-color-primary:hover *,
.hover-color-primary:hover {
    color: var(--fh-color-primary) !important;
}
.hover-color-primary.selected *,
.hover-color-primary.selected {
    color: var(--fh-color-primary) !important;
}
.hover-darker:hover {
    background-color: rgba(0, 0, 0, .2) !important;
}

.hover-bolder:hover {
    font-weight: bolder !important;
}

.border1 {
    border: var(--fh-border1)
}

.border-radius1 {
    border-radius: var(--fh-border-radius);
}
.hover-opacity:hover {
    opacity: .8;
}

.border-radius2 {
    border-radius: var(--fh-border-radius2);
}

.hover-scale{
    transition: var(--fh-transition);
}
.hover-scale:hover{
    transform: scale(1.3);
    transition: var(--fh-transition);
}

/* Hover styles */
.box-hover {
    transition: var(--fh-transition);
}
.box-hover:hover {
    transform:translateY(-0.4rem);
    transition: var(--fh-transition);
    box-shadow: var(--fh-shadow2);
}


.select-style1 {
    background-color: var(--fh-color-bg-info);
    color: var(--fh-color-info);
    cursor: pointer;
    border: none;
    padding: 5px;
}

.full-screen {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999999;
}
/* **********GLOBAL STYLES END********** */


.bootstrap-select>.dropdown-toggle.bs-placeholder, 
.bootstrap-select>.dropdown-toggle.bs-placeholder:active, 
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus, 
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    opacity: .7;
}
.bootstrap-select button {
    background-color: transparent;
}

.bootstrap-select button:focus-visible,
.bootstrap-select .filter-option:focus-visible,
.bootstrap-select button,
.bootstrap-select button:focus {
    border-left: none;
    border-top: none;
    border-right: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0;
    outline: none;
    outline-color: none !important;
    border-color: var(--bs-border-color);
}
.bootstrap-select .dropdown-toggle:focus, 
.bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
    outline: none !important;
}


.tab-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: fit-content;
}

.tab-link {
    padding-bottom: .5rem;
    color: var(--fh-color-text-secondary);
    cursor: pointer;
    position: relative;
    border-radius: var(--fh-border-radius);
    font-size: 1rem;
    font-weight: bolder;
}

.tab-link.active *,
.tab-link.active {
    color: var(--fh-color-primary) !important;
}
.tab-link.active::before {
    content: '';
    position: absolute;
    height: .2rem;
    width: 100%;
    top: 100%;
    left: 0;
    background-color: var(--fh-color-primary);
}

:root {
    --bs-border-radius-sm: 1rem;
}

body {
    color: #000810;
    line-height: 18px;
    top: 0px !important;
}

figure {
    margin-block-start: unset;
    margin-block-end: unset;
    margin-inline-start: unset;
    margin-inline-end: unset;
    display: block;
    width: 100%;
  }
.form-control::placeholder {
    opacity: .7;
    color: #999
}


.form-control:hover {
    border-color: var(--fh-color-primary);
}
.form-control {
    background-color: unset;
}
.input-group {
    display: flex;
    align-items: center;
    gap: .5rem
}

.input-group-text {
    border-left: none;
    border-top: none;
    /* border-right: none; */
    box-shadow: none;
    background-color: none;
    border-radius: 50%;
    padding: 0 0;
}
.form-control-plaintext,
.selectize-input,
.input-group-text,
.form-select,
.form-select:focus,
.form-control:focus,
.form-control {
    /* border-left: none;
    border-top: none;
    border-right: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 !important; */
    border: var(--fh-border1);
    border-radius: var(--fh-border-radius);
}
.form-check-input:checked {
    background-color: var(--fh-color-accent1);
    border-color: var(--fh-color-accent1);
}
.form-check-label {
    margin-top: 1.5px;
}
.form-check {
    margin-bottom: 0;
}
.col-form-label {
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
    font-weight: 400 !important;
    color: black !important;
    gap: 3px;
}
.input-group:focus .input-group-text,
.input-group:hover .input-group-text,
.form-control:focus {
    /* border-bottom-color: var(--fh-color-text-primary); */
}
/* .dropdown-menu {
    --bs-dropdown-link-active-bg: var(--bs-success-bg-subtle);
    --bs-dropdown-link-active-color: black;
} */
.modal {
    --bs-modal-header-padding: 1rem 1.5rem;
    --bs-modal-padding: 0rem 1.5rem 0rem 1.5rem;
    --bs-modal-footer-gap: 2.5rem;
}
.full-width {
    width: 100% !important;
}
.my-field.active label,
.my-field:hover label {
    color: green;
}
.bi {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentcolor;
}
.mr-auto {
    margin-right: auto;
}
strong {
    font-weight: bold;
}
.mr {
    margin-right: 0.75rem;
}
.input-group-text,
.my-add-button {
    height: 26px;
    width: 26px;
}
.form-control,
.form-control:focus,
.bootstrap-select {
    padding-right: 7px;
}
.bootstrap-select button {
    padding-right: 3px;
}
.input-group .input-group-text,
.bootstrap-select .btn.show,
.bootstrap-select .btn:hover {
    background-color: transparent;
}
.bootstrap-select .btn.show:focus-visible {
    box-shadow: none;
}
.input-group * {
    /* border-bottom: none; */
}
.input-group {
    /* border-bottom: var(--bs-border-width) solid var(--bs-border-color); */
}
.input-group:focus-within,
.input-group:hover {
    border-bottom-color: var(--fh-color-primary);
}

.btn,
.badge {
    line-height: 130%;
}

.badge:hover,
.icon-btn.lg:hover,
.icon-btn.md:hover,
.icon-btn.sm:hover,
.icon-btn:hover {
    background-color: #ddd !important;
}
.icon-btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: black;
    font-weight: 400;
    border-color: white;
    background-color: white;
    font-size: 1.625rem;
    width: 48px;
    min-width: 48px;
    height: 48px;
    border: none;
}
.icon-btn.bg {
    background-color: #eeeaea !important;
}
.icon-btn.sm {
    width: 22px;
    height: 22px;
    min-width: 22px;
    font-size: 1rem;
    padding: 0 0 0 0;
}

.icon-btn.md {
    min-width: 30px;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    padding: 0 0 0 0;
}
.icon-btn.icon-sm {
    min-width: 40px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    padding: 0 0 0 0;
}
.icon-btn.icon-sm .bi,
.icon-btn.md .bi{
    margin-bottom: 0.5rem;
}
.my-form-html:focus-visible {
    border: none !important;
    outline-color: none !important;
    outline: none !important;
}

.choices__inner {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    background-color: transparent;
    padding: 0 0 0;
    border: none;
    /* border-bottom: 1px solid var(--bs-border-color); */
    border-radius: none;
    font-size: 14px;
    min-height: 24px;
    overflow: hidden;
}
/* .selectize-input:hover, */
/* .selectize-input.focus, */
.myhover .choices.is-focused.is-open .choices__inner,
.myhover .choices__inner:hover {
    /* border-bottom: 1px solid green !important; */
}
.selectize-input.focus {
    /* border-color: green; */
}
.selectize-input {
    /* border: none; */
}

.choices {
    width: 100%;
}
.choices__list {
    z-index: 3 !important;
}

.choices__input {
    padding: 0;
}
.my-choices-single {
    height: 24px;
}
.choices__list .choices__item{
    margin-bottom: 1px !important;
    border: none !important;
}
.my-choice {
    height: 26px;
}
.icon-btn.md,
.icon-btn.md,
.selectize-input.input-active,
.selectize-input.focus,
.selectize-input:focus-visible,
.selectize-input {
    min-height: 25px;
    border-color: none;
    box-shadow: none;
    outline: none;
    background-color: transparent;
}
.selectize-control {
    display: flex;
    align-items: center;
}
.selectize-control.multi .selectize-input.has-items {
    /* padding: 0px; */
}
.selectize-control.multi .selectize-input>div.active,
.selectize-control.multi .selectize-input>div {
    background-color: var(--fh-color-bg-primary) !important;
    border-radius: var(--fh-border-radius2);
    border: var(--fh-border1);
    color: var(--fh-color-text-primary);
    /* padding: .2rem; */
    font-size: .9rem;
}

.selectize-control.multi .selectize-input>div a.remove {
    color: var(--fh-color-error) !important;
    background-color: unset;
    font-size: 1.2rem !important;
    display: none;
    /* padding: .2rem; */
}
.selectize-control.multi .selectize-input>div .remove:hover {
    background-color: unset !important;
}
.selectize-control.multi .selectize-input>div:hover a.remove {
    display: inline-block;
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: 0px;
}
.selectize-dropdown-content .option {
    padding-top: .4125rem;
    padding-bottom: .4125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.nav-link, .nav-link, .show>.nav-link {
    color: black;
    font-weight: 500;
    border-width: 1;
    border-color: transparent;
}
.table-content {
    padding: 0 0 !important;
    background: transparent !important;
    font-weight: 500 !important;
}
.btn-close {
    opacity: 1;
}

.btn-close:focus,
.btn-close:focus-visible,
.btn-close:hover {
    border: none;
    outline: none;
    box-shadow: none;
    background-color: #ddd;
}
.btn-close {
    border: none;
    border-radius: 50%;
}
.nav-link:hover,
.nav-link:hover {
    border-width: 0px !important;
    font-weight: 500 !important;
    color: black !important;
    cursor: pointer;
    background-color: #ddd;
}
.nav-link.active,  .show>.nav-link {
    /* border-bottom: 1px solid green !important; */
    font-weight: 700 !important;
    color: black !important;
}
.cs-icon {
    background-color: #938e8e33 !important;
}
.cs-icon:hover {
    background-color: #727171 !important;
    color: white !important;
}
.tab-pane:focus-visible,
.tab-content:focus-visible {
    outline: none;
}
.clickable {
    gap: .125rem;
}
.clickable .badge {
    text-decoration: underline;
    text-decoration-color: green;
    display: inline-flex !important;
    gap: 0.5rem;
    align-items: center !important;
    cursor: pointer;
}
.clickable .input-group,
.clickable input {
    width: auto;
}
ul.pagination {
    gap: 1rem;
}
.pagination .page-item .page-link {
    line-height: 140%;
}
.pagination .page-item .page-link:hover,
.tbl_clickable tr {
    /* cursor: pointer; */
}

.dropdown-item {
    cursor: pointer;
}
.cs .form-label {
    font-weight: 400 !important;
    margin-bottom: 0px !important;
}
.btn.show {
    border-color: green;
}
tr.detail-view td .cs-detail-view {
    width: 78vw;
    border: 1px solid var(--fh-color-text-primary) !important;
    overflow-y: auto; 
    overflow-x: hidden;
    padding: 1.5rem 2rem;
    background-color: white;
    border-radius: 1.5rem;
}
.modal .h-scroll {
    margin-bottom: 1rem;
}
.selectize-control.single .selectize-input, .selectize-control.single .selectize-input input {
    background-color: unset;
}
.selectize-control.plugin-remove_button span[data-value] {
    background-color: unset;
    border-radius: var(--fh-border-radius2);
    margin-right: 1.5rem;
}
.selectize-control.plugin-remove_button span[data-value]:hover .remove-single {
    display: inline-block;
}
.selectize-control.plugin-remove_button .remove-single {
    position:  absolute;
    right: .25rem;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    color: var(--fh-color-error);
}
.selectize-control .item {
    font-weight: 400;
    font-size: .9rem;
    background-color: unset;
    color: var(--fh-color-text-primary);
    border-radius: var(--fh-border-radius2);
}
.spinner-border {
    padding: 0px;
    margin: 0px;
    min-height: 1.2rem;
    min-width: 1.2rem;
    margin-right: 1rem;
    max-width: 1.2rem;
    max-height: 1.2rem;
}
/* Khi đang loading, hiển thị spinner */
.selectize-control.loading .selectize-input::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: selectize-spinner 0.6s linear infinite;
}

/* animation xoay */
@keyframes selectize-spinner {
  to {
    transform: rotate(360deg);
  }
}

/* đảm bảo relative để ::after nằm đúng vị trí */
.selectize-control .selectize-input {
  position: relative;
}

.avatar {
    vertical-align: middle;
    width: 30px;
    border-radius: 50%;
  }

  .iconClass{
    position: relative;
  }
  .iconClass span{
    position: absolute;
    top: -9px;
    right: -12px;
    display: block;
    color: red;
  }
  .nav-item::marker {
    display: none;
  }

  .notification a {
    margin-top: auto;
    margin-bottom: auto;
  }

  .notification {
    width: 40px;
    color: black;
    border-radius: 50%;
    height: 40px;
    display: flex;
    justify-content: center;
    justify-items: center;
    margin-right: 10px;
  }
  .notification:hover * {
    background-color: transparent;
  }
  .notification:hover {
        background-color: #ddd;
        cursor: pointer;
}

.hover:hover {
    background-color: #ddd;
    cursor: pointer;
}


.width-100 {
    width: 100% !important;
}
.width-0 {
    display: none !important;
}
.toggle-button .toggle-header {
    background-color: var(--fh-color-bg-secondary);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .525rem !important;
}
.toggle-button .toggle-content {
    padding-left: .525rem !important;
    padding-top: .525rem !important;
    padding-right: .525rem !important;
    padding-bottom: .825rem !important;
}
.toggle-button .toggle-header:hover {
    background-color: #ddd !important;
    cursor: pointer;
}

.toggle-button button.btn:hover {
    background-color: white !important;
}
.toggle-button .toggle-text-header {
    color: var(--fh-color-text-primary);
}



/* ckeditor */
.ck-editor__editable[role="textbox"] {
    min-height: 500px;
}
.ck-content .image {
    /* block images */
    max-width: 80%;
    margin: 20px auto;
}
.ck-body-wrapper {
    display: none !important;
}

.selectize-input {
    border: var(--fh-border1);
    /* padding: .25rem !important; */
    border-radius: var(--fh-border-radius);
    font-size: .9rem;
}

.selectize-control.single .selectize-input:after {
    
}


.selectize-input {
    line-height: 25px;
}

[disabled="disabled"] {
    cursor:  not-allowed;
}

.form-text {
    margin-top: 0px;
}
.text-bold {
    font-weight: 600;
}
ul {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
}
.gap {
    gap: .5rem;
}

.gap1 {
    gap: 1rem;
}

.h-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding-top: 1.5rem;
}

.h-scroll > button,
.h-scroll > span {
    white-space: nowrap;
    height: fit-content;
}
.button-icon i,
.h-scroll i {
    margin-right: 5px;
}
.bi::before, [class^="bi-"]::before, [class*=" bi-"]::before {
    line-height: unset;
    vertical-align: -0.125em;
}

.upload-container {
    height: 100%;
    width: 100%;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #fcfcfc;
  }


  .upload-container .card {
    border-radius: 10px;
    border: none;
    width: 600px;
  }

  .upload-container.sm {
    justify-content: left;
    gap: 1rem;
  }
  .upload-container.sm .sm-card{
    position:  relative !important;
  }
  .upload-container.sm .sm-card .drop_box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .upload-container.sm .sm-card .drop_box{
    width: 100px;
    height: 100px;
    margin: 0;
    padding: 5px;
    border: 2px dotted var(--fh-color-accent1);
    border-radius: var(--fh-border-radius2);
    cursor: pointer;
  }
  .upload-container.sm .sm-card .drop_box p{
    margin: 0;
    text-align: center;
  }

  .upload-container .card h3 {
    font-size: 22px;
    font-weight: 600;

  }

  .upload-container .drop_box {
    margin: 10px 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 3px dotted #a3a3a3;
    border-radius: 5px;
  }

  .upload-container .drop_box h4 {
    font-size: 16px;
    font-weight: 400;
    color: #2e2e2e;
  }

  .upload-container .drop_box p {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #a3a3a3;
  }

  .upload-container .btn {
    text-decoration: none;
    background-color: #005af0;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    outline: none;
    transition: 0.3s;
  }

  .upload-container .btn:hover {
    text-decoration: none;
    background-color: #ffffff;
    color: #005af0;
    padding: 10px 20px;
    border: none;
    outline: 1px solid #010101;
  }

  .upload-container .form input {
    margin: 10px 0;
    width: 100%;
    background-color: #e2e2e2;
    border: none;
    outline: none;
    padding: 12px 20px;
    border-radius: 4px;
  }
  .hover:hover {
    background-color: #e2e2e2;
    border-radius: 1rem;
  }

  .nav[role="tablist"] {
    margin-left: -1rem;
  }

  .ck-editor,
  .ck-focused {
    width: 100% !important;
  }
  .myrow {
    display: flex;
    align-items: center;
  }
  .myrow.hover.border-radius-none {
    border-radius: 0 !important;
  }


  @keyframes skeleton-loading {
    0% {
      background-color: hsl(200, 20%, 90%);
    }
    100% {
      background-color: hsl(200, 20%, 95%);
    }
  }

.skeleton {
    width: 100vw;
    height: calc(100vh - 100px);
    position: absolute;
    z-index: 10000;
    background-color: #fff !important;
    display: flex;
    padding: 1rem;
    gap: 1rem;
}
  
.skeleton .ssc-left {
    display: block;
    animation: skeleton-loading .5s linear infinite alternate;
    position: relative;
    overflow: hidden;
    width: 55%;
    height: 100%;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skeleton .ssc-right {
    display: block;
    animation: skeleton-loading .5s linear infinite alternate;
    position: relative;
    overflow: hidden;
    width: 45%;
    height: 100%;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.skeleton .ssc-full {
    display: block;
    /* animation: skeleton-loading .5s linear infinite alternate; */
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skeleton .preloader {
	text-align: center;
	/* max-width: 20em; */
	width: 100%;
}
.skeleton .preloader__text {
	position: relative;
	/* height: 1.5em; */
    font-size: 18px;
}
.skeleton .preloader__msg {
	animation: msg 0.3s 13.7s linear forwards;
	position: absolute;
	width: 100%;
}
.skeleton .preloader__msg--last {
	animation-direction: reverse;
	animation-delay: 14s;
	visibility: hidden;
}
.skeleton .cart {
	display: block;
	margin: 0 auto 1.5em auto;
	width: 8em;
	height: 8em;
}
.skeleton .cart__lines,
.skeleton .cart__top,
.skeleton .cart__wheel1,
.skeleton .cart__wheel2,
.skeleton .cart__wheel-stroke {
	animation: cartLines 2s ease-in-out infinite;
}
.skeleton .cart__lines {
	stroke: #fd5631;
}
.skeleton .cart__top {
	animation-name: cartTop;
}
.skeleton .cart__wheel1 {
	animation-name: cartWheel1;
	transform: rotate(-0.25turn);
	transform-origin: 43px 111px;
}
.skeleton .cart__wheel2 {
	animation-name: cartWheel2;
	transform: rotate(0.25turn);
	transform-origin: 102px 111px;
}
.skeleton .cart__wheel-stroke {
	animation-name: cartWheelStroke
}
.skeleton .cart__track {
	stroke: hsla(var(--hue),10%,10%,0.1);
	transition: stroke var(--trans-dur);
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
	:root {
		--bg: hsl(var(--hue),10%,10%);
		--fg: hsl(var(--hue),10%,90%);
	}
	.cart__track {
		stroke: hsla(var(--hue),10%,90%,0.1);
	}
}

/* Animations */
@keyframes msg {
	from {
		opacity: 1;
		visibility: visible;
	}
	99.9% {
		opacity: 0;
		visibility: visible;
	}
	to {
		opacity: 0;
		visibility: hidden;
	}
}
@keyframes cartLines {
	from,
	to {
		opacity: 0;
	}
	8%,
	92% {
		opacity: 1;
	}
}
@keyframes cartTop {
	from {
		stroke-dashoffset: -338;
	}
	50% {
		stroke-dashoffset: 0;
	}
	to {
		stroke-dashoffset: 338;
	}
}
@keyframes cartWheel1 {
	from {
		transform: rotate(-0.25turn);
	}
	to {
		transform: rotate(2.75turn);
	}
}
@keyframes cartWheel2 {
	from {
		transform: rotate(0.25turn);
	}
	to {
		transform: rotate(3.25turn);
	}
}
@keyframes cartWheelStroke {
	from,
	to {
		stroke-dashoffset: 81.68;
	}
	50% {
		stroke-dashoffset: 40.84;
	}
}
/* end loading */

.detail-view form {
    border-radius: 0 !important;
}


.report-section-container {
    display: grid;
    grid-template-columns: 1fr 2fr; 
    gap: 20px;
    margin-top: 20px;
    /* margin-top: 40px; */
}
@media (max-width: 1000px) {
    .report-section-container {
        grid-template-columns: 1fr;
    }
}

/* .report-section-container {
    border: solid 2px #000;
    padding: 10px;
} */

.google-visualization-title {
    font-size: 1.5rem; /* Kích thước chữ 24px */
    font-weight: bolder; /* In đậm */
}

.main-table {
    height: calc(100vh - var(--header-height) - 1rem);
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.table-container,
.chart-container {
    background-color: var(--fh-color-bg-secondary);
    padding: 20px;
    -webkit-box-shadow: var(--fh-shadow);
    box-shadow: var(--fh-shadow);
    border-radius: var(--fh-border-radius);
}


.dashboard-block {
    /* height: 10rem; */
    background-color: var(--fh-color-bg-secondary);
    border-radius: var(--fh-border-radius);
    padding: 0 1rem;
}
.height-10rem {
    height: 10rem;
}
.height-8rem{
    height: 8rem;
}

.dashboard-block a {
    height: 100%;
    width: 100%;
    color: var(--fh-color-text-primary);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* .dashboard-block:hover {
    transform:translateY(-0.5rem);
    transition: var(--fh-transition);
} */

.dashboard-block p {
    line-height: 1.5rem;
}

.dashboard-block img {
    height: 2rem;
    width: 2rem;
    object-fit: contain;
}


.container-fluid {
    padding: 0 !important;
}


.image-modal {
    display: block;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 95%;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.masonry-columns {
    column-count: 2;
    column-gap: 10px; 
  }
  
.masonry-columns-item {
break-inside: avoid;
margin-bottom: 10px; 
}

.form-control:disabled {
    opacity: .5 !important;
    background-color: unset !important
}

#inventory_quantity_box_id {
    border-radius: var(--fh-border-radius);
    background-color: rgba(0, 0, 0, 0.05);
    padding: .5rem;
}


.copy-button,
.edit-button {
    border: none;
    background-color: unset;
    border-radius: var(--fh-border-radius-circle);
    transition: all .3s;
}

.copy-button:hover {
    opacity: .8;
}
.edit-button:hover {
    transform: scale(1.2);
    transition: all .3s;
}

.option-wrapper {
    position: relative;
}

.option-wrapper .option-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 100%;
    background-color: var(--fh-color-bg-secondary);
    box-shadow: var(--fh-shadow2);
    min-width: 6rem;
    padding: 1rem 0;
    z-index: 100;
    transition-delay: .5s;
}
.option-wrapper .option-list.right {
    top: 0;
    left: 100%;
}

.option-wrapper.toggle-hover:hover .option-list,
.option-wrapper .option-list.show {
    display: block !important;
}

.option-wrapper .option-list .option-item {
    cursor: pointer;
    padding: .5rem 1rem;
    font-size: .8rem;
    text-align: start;
    text-wrap: nowrap;
}
.option-wrapper .option-list .option-item:hover {
    background-color: var(--fh-color-bg-tertiary);
}


[v-cloak] {
    display: none;
}


.collapse {
    display: block !important;
    visibility: hidden !important;
}

.collapse.show {
    display: block !important;
    visibility: visible !important;
}

.collapse.collapse-bottom{
    position: absolute !important;
    top: 100%;
    left: 0;
}



.checklist-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checklist-container {
    background-color: var(--fh-color-bg-secondary);
    display: flex;
    flex-direction: column;
}

.checklist-container .checklist-item {
    background-color: var(--fh-color-bg-secondary);
    display: flex;
    gap: .5rem;
    align-items: center;
    padding: .5rem 0;
}

.checklist-container .checklist-item label {
    width: 100%;
}

.checklist-container .checklist-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    
}
.checklist-container .checklist-item + .checklist-item {
    margin-top: 1rem;
}


.fullViewPort {
    width: 100vw !important;
    height: 100vh !important;
}


i {
    transition: var(--fh-transition);
}

.custom-grid-two-column {
    display: grid !important;
    grid-template-columns: 1fr 1fr ;
    grid-auto-flow: column;
    gap: 1rem;
}

input:disabled {
    cursor: not-allowed !important;
}

input#search-input:hover,
input#search-input:focus {
    border-color: var(--fh-color-primary) !important;
}

/* animations */

  
.flash-row {
    animation: flash-grow .4s ease-in-out 2 !important;
  }
  
@keyframes flash-grow {
   0%, 100% {
    transform: translateY(0);
    box-shadow: none;
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 0 8px rgba(72, 180, 97, 0.6);
  }
}
  
@keyframes flash {
    0%, 100% {
        /* background-color: transparent;  */
    }
    50% { 
        /* background-color: var(--fh-color-bg-tertiary); */
        transform: scaleX(1.05);
    }
}


.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    }
    @-webkit-keyframes fadeInUp {
    0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    }
    100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    }
    }
    @keyframes fadeInUp {
    0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    }
    100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    }
    } 
.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    }
    @-webkit-keyframes fadeInRight {
    0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    }
    100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    }
    }
    @keyframes fadeInRight {
    0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    }
    100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    }
    } 

.my-search-input:hover {
    border-color: #ccc;
}

.my-search-input .search-box {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.my-search-input ul {
    display: none; /* Initially hidden */

    list-style: none;
    padding: 0;
    margin: 0;
    border: .5px solid #ccc;
    max-height: 400px;
    overflow-y: auto;
    padding-bottom: 1rem;
    padding-top: .5rem;
    position: absolute;
    border-radius: 1rem;
    z-index: 1988;
    background-color: white !important;
    width: 100%;
}

.my-search-input li {
    padding: 10px;
    padding-left: 32px;
    cursor: pointer;
}

.my-search-input li.active {
    background-color: #d1e7dd;
}
.my-search-input li:hover {
    background-color: #f0f0f0;
}

.my-search-input {
    min-width: 200px;
    border: .5px solid #ccc;
    border-radius: 1rem;
    position: relative;
}
.my-search-input input:focus-visible,
.my-search-input input {
    border: none;
    box-shadow: none !important;
    outline: none !important;
    padding-left: 0 !important;
    border-radius: 1rem;
}

.my-search-input.active ul {
    border-top-right-radius: 0px !important;
    border-top-left-radius: 0px !important;
}
.my-search-input.active {
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}


@media screen and (min-width: 1280px), screen and (min-height: 720px) {
    .table>:not(caption)>*>* {
        padding: .3rem .5rem !important;
    }
    .fixed-table-pagination {
        height: auto !important;
    }
    .bootstrap-table .fixed-table-pagination>.pagination, .bootstrap-table .fixed-table-pagination>.pagination-detail{
        margin:  0 !important;
    }
    .fixed-table-container {
        height: calc(100% - 42px) !important;
    }
}

.offcanvas-body {
    overflow-y: auto;
}
.offcanvas-body .tab-content {
    overflow: hidden auto;
    height: calc(100vh - 102px);
    padding: 1rem 0;
}

.offcanvas-body .my-detail-tab {
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 0px !important;
}

.hover-color-bg-primary.selected .title-style2 img,
.hover-color-bg-primary:hover .title-style2 img,
.hover-color-primary.selected .subtitle-style2 img,
.hover-color-primary:hover .subtitle-style2 img {
    filter: invert(42%) sepia(88%) saturate(530%) hue-rotate(75deg) brightness(90%) contrast(110%);
}

.my-location-btn, 
.my-center-btn {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: none;
    margin: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    background-color: white;
    box-shadow: var(--fh-shadow3);
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: var(--fh-border1);

}

.my-colorize-label {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25px;
    width: 10px;
    transition: all .5s ease-in-out;
    cursor:cell;
    overflow: hidden;
    text-wrap: nowrap;
    color: rgba(0, 0, 0, 0);
    border-radius: 4px;
    font-size: 12px !important;

}
.my-colorize-label:hover {
    width: 150px;
    color: #fff;
}

textarea.form-control {
    min-height: 200px;
}

.permission-denied {
  text-align: center;
  background: #fff5f5;
  border: 1px solid #ffcccc;
  color: #b30000;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 40px auto;
  max-width: 500px;
  font-family: Arial, sans-serif;
}

.permission-denied .permission-icon {
  font-size: 50px;
  margin-bottom: 15px;
}

.permission-denied h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.permission-denied p {
  font-size: 16px;
  margin: 0;
}
