@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --neutral-50: #F0F3F8;
    --neutral-400: #90A3CC;

    --warning-yellow-200: #FDE68A;
    --warning-yellow-500: #F59E0B;
}

body {
    font-family: "Inter", serif !important;
    /* zoom: 80% !important; */
    height: 100vh !important;
}

.disableOutlineFocus:focus {
    border-color: var(--bs-border-color) !important;
    outline: none !important;
    box-shadow: none !important;
}

.d-flex-row-center {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.d-flex-column-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.d-flex-row-start {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
}

.d-flex-column-start {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

/* according customization */
.accordion {
    --bs-accordion-active-color: none !important;
    --bs-accordion-active-bg: none !important;
    --bs-accordion-btn-focus-box-shadow: none !important;
    --bs-accordion-border-width: none !important;
}

.accordion-item:first-of-type {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.accordion-item {
    width: 100% !important;
    border: 0 !important;
}

.accordion-button {
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    background: var(--bs-gray-800) !important;

    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

.accordion-body {
    background: var(--bs-gray-700) !important;
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

.accordion-body p {
    margin: 0px !important;
    margin-left: 2.6rem !important;
}

.accordion-button.collapsed {
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

.accordion-button.collapsed::after {
    height: 1rem !important;
    width: 1rem !important;
    background-size: 1rem !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' style='fill: rgba(108,117,125, 1);transform: ;msFilter:;'%3E%3Cpath d='M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4z'%3E%3C/path%3E%3Cpath d='M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2zm0 18c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8-3.589 8-8 8z'%3E%3C/path%3E%3C/svg%3E");

    order: -1;
    margin-left: 0px !important;
    margin-right: 1rem !important;
}

.accordion-button:not(.collapsed)::after {
    height: 1.6rem !important;
    width: 1.6rem !important;
    background-size: 1.6rem !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' style='fill: rgba(108,117,125, 1);transform: ;msFilter:;'%3E%3Cpath d='M7 11h10v2H7z'%3E%3C/path%3E%3Cpath d='M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2zm0 18c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8-3.589 8-8 8z'%3E%3C/path%3E%3C/svg%3E");

    order: -1;
    margin-left: 0px !important;
    margin-right: 1rem !important;
}

.accordion-button.collapsed::after {
    height: 25px !important;
    width: 25px !important;
    background-size: 25px !important;
}

/* custom colors */
.bg-gray-700 {
    background: var(--bs-gray-700) !important;
}

.input-group-text {
    border: none !important;
    background: var(--bs-gray-700) !important;
}

.btn-gray-700 {
    background-color: var(--bs-gray-700) !important;
    transition: all 0.3s ease-in-out;
}

.btn-gray-700:hover {
    border-color: rgba(255, 255, 255, 0.9);
}

.bg-neutral-50 {
    background: var(--neutral-50);
}

.border-warning-yellow-500 {
    border-color: var(--warning-yellow-500) !important;
}

.bg-warning-yellow-200 {
    background: var(--warning-yellow-200);
}

.bg-warning-yellow-500 {
    background: var(--warning-yellow-500);
}

.text-warning-yellow-500 {
    color: var(--warning-yellow-500);
}

.text-neutral-400 {
    color: var(--neutral-400);
}

.form-floating>.form-control-plaintext~label::after,
.form-floating>.form-control:focus~label::after,
.form-floating>.form-control:not(:placeholder-shown)~label::after,
.form-floating>.form-select~label::after {
    background-color: transparent !important;
}

.bg-transparent {
    background: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6,
span,
p {
    overflow-wrap: anywhere !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* Navigation */
.side-nav {
    gap: .3rem !important;
}

.side-nav .submenu {
    gap: .3rem !important;
}

.has-line .submenu ul {
    border-left: 1px solid #ccc;
    margin-top: 5px;
    margin-left: 1.3rem;
}

.has-line .submenu .nav-item {
    padding-left: 1rem;
}

.side-nav .nav-link {
    border-radius: 0.4rem !important;
    font-size: 1rem !important;
    color: black !important;
    padding: 0.5rem 0.5rem !important;
}

.side-nav .submenu .nav-link {
    padding: 0.5rem 0.8rem !important;
}

.side-nav .section {
    padding: 0px 0.8rem !important;
}

.side-nav .section-head small {
    padding: 0px 1.5rem !important;
}

.side-nav .nav-link .badge {
    font-size: 0.8rem !important;
}

.side-nav .nav-link span {
    font-weight: 400;
    font-size: 1.2rem !important;
    color: black;
    margin-right: .8rem;
    margin-left: .3rem;
}

.side-nav .nav-link.active {
    font-weight: bold;
    background: var(--bs-gray-200) !important;
}

.side-nav .submenu .nav-link.active {
    font-weight: normal;
}

.side-nav .nav-link.active span {
    color: black;
}

.side-nav .nav-link i {
    margin-left: .4rem;
    margin-right: 1rem;
}

.nav-link[aria-expanded="false"] .menu-expand-icon::after {
    content: 'keyboard_arrow_down';
}

.nav-link[aria-expanded="true"] .menu-expand-icon::after {
    content: 'keyboard_arrow_up';
}

/* Select */
/* .bootstrap-select {
    width: 100% !important;
} */

.bootstrap-select .bs-searchbox {
    padding: 0px 8px !important;
}

.bootstrap-select .bs-searchbox .form-control {
    background: var(--bs-light);
    outline: none !important;
    box-shadow: none !important;
    margin-bottom: 5px;
}

.bootstrap-select .dropdown-toggle {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.bootstrap-select .dropdown-toggle::after {
    content: none !important;
}

.bootstrap-select .dropdown-menu .dropdown-item {
    padding: .5rem 1rem !important;
    border-radius: 5px;
}

.bootstrap-select .dropdown-menu.inner {
    padding-bottom: 15% !important;
    overflow-y: scroll !important;
    padding: 0px 8px;
}

.bootstrap-select.disabled {
    background: var(--bs-secondary-bg) !important;
}

.bootstrap-select .dropdown-menu {
    max-height: 300px !important;
    width: 100% !important;
}

@media (min-width: 992px) {
    .w-lg-auto {
        width: auto !important;
    }
}

.table-lg>:not(caption)>*>* {
    padding: 0.8rem 0.5rem !important;
}

.modal-backdrop,
.offcanvas-backdrop {
    width: 100vw !important;
    height: 100vh !important;
    --bs-backdrop-opacity: 0.7 !important;
}

.note-editor {
    border-radius: var(--bs-border-radius) !important;
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
}

input {
    outline: none;
}

.nav-pills-light .nav-link {
    background: var(--bs-light);
}

.nav-pills-light .nav-link.active {
    background: var(--bs-secondary) !important;
}

.p-6 {
    padding: 2rem !important;
}

.flex-1 {
    flex: 1 !important;
}

.material-symbols-outlined {
    line-height: 1.2 !important;
}

.table-responsive {
    min-width: 100% !important;
    max-width: 100vw !important;
}

.table-light tr th {
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 300;
}

table tr th,
table tr td,
.table-lg> :not(caption)>*>* {
    padding: .8rem 1rem !important;
}

.table-light tr th:not(:first-child) {
    min-width: 250px;
    max-width: 100%;
}

.btn-close {
    background-color: var(--bs-gray-400) !important;
    border-radius: 50px !important;
    padding: 10px !important;
    outline: none !important;
    box-shadow: none !important;
}

.table-responsive nav {
    padding: 1rem !important;
}

.table-responsive nav div:nth-child(1) ul {
    margin-bottom: 0 !important;
    gap: .35rem;
}

.table-responsive nav div:nth-child(1) ul .page-item .page-link {
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.table-responsive nav div:nth-child(2) p {
    margin-bottom: 0 !important;
}

.table-responsive nav div:nth-child(2) ul {
    margin-bottom: 0 !important;
    gap: .35rem;
}

.table-responsive nav div:nth-child(2) ul .page-item .page-link {
    border-radius: 50px;
    height: 40px;
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Custom Step Form and Progress Bar */
.step-container {
    gap: 2rem;
}

.step-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-bottom: 2rem;
    height: fit-content;
    width: auto;
}

.step-progress-bar::before {
    content: '';
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    z-index: 1;
    position: relative;
    text-align: center;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.step-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background-color: #f8f9fa;
    font-weight: bold;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.875rem;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step.active .step-icon {
    background-color: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
}

.step.completed .step-icon {
    background-color: var(--bs-success);
    color: white;
    border-color: var(--bs-success);
}

.step.active .step-label {
    font-weight: 600;
    color: var(--bs-primary);
}

.step.completed .step-label {
    font-weight: 500;
    color: var(--bs-success);
}

.step-content {
    flex-grow: 1;
}

.step-content .tab-pane {
    display: none;
}

.step-content .tab-pane.active {
    display: block;
}

@media (min-width: 992px) {
    .step-container {
        gap: 3rem;
    }

    .step-progress-bar {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 1rem;
        padding-right: 2rem;
        padding-bottom: 0;
        min-width: 200px;
    }

    .step-progress-bar::before {
        content: '';
        position: absolute;
        top: 1.5rem;
        left: 19px;
        height: calc(100% - 3rem);
        width: 2px;
        background-color: #ddd;
        z-index: 0;
    }

    .step {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .step-label {
        font-size: 1rem;
        white-space: nowrap;
    }
}

.modal {
    --bs-modal-margin: 1.5rem !important;
}