* {
    font-family: "Mulish", sans-serif;
    /* color: #333333; */
}

:root {
    --primary-color: #3E53AD;
    --secondary-color: #FAFCFF;
    --pagination-color: #392680;
    --cancel-color: #FF0101;
    --general-box-shadow: 0px -1px 6px 0px #CDCDCD2E;
    
    --input-label-color: #333333;
    --input-placeholder-color: #828282;
    --input-background-color: #FFFFFF;
    --input-box-shadow: 0px -1px 6px 0px #CDCDCD2E;
    --input-border-radius: 10px;
    --input-height: 45px;

    --button-border-radius: 10px;
    --button-height: 45px;

    --main-page-bg-color: #FAFCFF;
    --heading-color: #000000;
    --sidebar-width: 220px;

    --select-header-height: 45px;
}

body {
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden;
    /* background: #F1F4F5; */
    min-height: 100vh;
}

.hide {
    display: none!important;
}

.visibility-hidden {
    visibility: hidden !important;
}

.show {
    display: block!important;
}

.show-flex {
    display: flex!important;
}

button {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.success-btn {
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--button-border-radius);
    height: var(--button-height);
    width: 100%;
    max-width: 390px;
    
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1rem;
    line-height: 24px;
}

.success-btn:disabled {
    background-color: #5A6FA0;
}

.cancel-btn {
    background-color: var(--cancel-color);
    border: none;
    border-radius: var(--button-border-radius);
    height: var(--button-height);
    width: 100%;
    max-width: 390px;
    
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1rem;
    line-height: 24px;
}


button .progress-bar-subtle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%,rgba(255, 255, 255, 0.7) 50%, transparent 100%);
    animation: progressSlideSubtle 1s infinite;
    z-index: 1;
    transform: translateX(0%);
}

button .btn-text {
    color: #FFFFFF;
}

@keyframes progressSlideSubtle {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}


a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    text-decoration: none;
}

a:hover {
    text-decoration: underline !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"] {
    height: var(--input-height);
    background-color: var(--input-background-color);
    box-shadow: var(--input-box-shadow);
    border: none;
    border-radius: var(--input-border-radius);
    transition: all .3s ease;
    padding-inline: 15px;

    font-weight: 500;
    font-size: .875rem;
    line-height: 100%;
    color: #000000;

    width: 100%;
    max-width: 390px;
}

input[type="text"]:active, input[type="text"]:focus,
input[type="email"]:active, input[type="email"]:focus,
input[type="password"]:active, input[type="password"]:focus,
input[type="number"]:active, input[type="number"]:focus {
    outline: none;
    box-shadow: 0 0 0 .1rem var(--primary-color);
}

input[readonly], input[readonly]:focus {
    background-color: initial !important;
    box-shadow: var(--input-box-shadow);
}

.password-input-container {
    display: flex;
    align-items: center;
    position: relative;
}

.password-input-container > input {
    padding-inline-end: 40px;
    width: 100%;
}

.password-input-container > svg {
    position: absolute;
    right: 15px;
}

label {
    font-weight: 600;
    font-size: 1rem;
    line-height: 100%;
    color: var(--input-label-color);
}

.input-error-msg {
    color: var(--cancel-color);
    opacity: 0;
    position: absolute;
    left: 110vw;
    font-size: 1rem;
}

.input-error-msg.active {
    opacity: 1;
    margin-bottom: 5px;
    transition: ease .3s;
    position: static;
}

.input-success-msg {
    color: #8DC63F!important;
}

.input-failure-msg {
    color: var(--cancel-color)!important;
}

.input-error {
    border-width: 2px!important;
    border-color: var(--cancel-color)!important;
}

.input-error:focus-visible {
    border-color: var(--cancel-color)!important;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--input-placeholder-color);
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed!important;
}

.pointer-events-none {
    pointer-events: none !important;
}

.no-record-row {
    text-align: center!important;
    font-size: .875rem!important;
    color: black!important;
    font-weight: 700!important;
}

.no-comment-text {
    text-align: center!important;
    font-size: .875rem!important;
    color: #000000!important;
    font-weight: 500!important;
}

.opacity-point-2 {
    opacity: .2;
}

.opacity-point-3 {
    opacity: .3;
}

.opacity-point-3-5 {
    opacity: .35;
}

.opacity-point-6 {
    opacity: .6;
}

.modal-backdrop.show {
    z-index: 1060!important;
}

.modal-backdrop.show ~ .modal-backdrop.show {
    z-index: 1062!important;
}

.modal.show {
    z-index: 1061!important;
}

.modal.show ~ .modal.show {
    z-index: 1063!important;
}

.pac-container {
    z-index: 1100;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="checkbox"],
input[type="date"] {
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer!important;
}


/* width */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 20px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #D9D9D9; 
    border-radius: 10px;
}

/* Handle on hover */
/* ::-webkit-scrollbar-thumb:hover {
    background: ; 
} */


.rotate-180 {
    transform: rotate(180deg);
}

.table-text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-bottom: 1px;
}

.modal-loader {
    width: 60px!important;
    height: 60px;
    background-color: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.screen-darken{
    content: ''; 
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .6);
    pointer-events: none;
    z-index:1;
    opacity:1; 
    visibility:visible;
    position: fixed;
}

.gm-bundled-control .gm-bundled-control-on-bottom {
    display: none !important;
}

.gmnoprint .gm-bundled-control {
    display: none !important;
}

.gm-style .gm-style-cc {
    display: none !important;
}

.gm-style-cc + div {
    display: none !important;
}

.gm-style div[style*="color: rgb(0, 0, 0)"] a {
    display: none !important;
}

.gm-style > div:last-child {
    display: none !important;
}

.gm-style > div[style*="position: absolute"][style*="bottom: 0px"][style*="right: 0px"] {
    display: none !important;
}


/* ------------------------------------------------ */

.main-page {
    position: relative;
    left: var(--sidebar-width);
    min-height: 100vh;
    padding: 16px 20px!important;
    width: calc(100vw - var(--sidebar-width));
    background-color: var(--main-page-bg-color);
    display: flex;
    flex-direction: column;
}

.main-page > .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 7px;
    height: 45px;
    margin-bottom: 20px;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-container {
    display: flex;
    align-items: center;
    position: relative;
    left: 6%;
}

.search-container > .search-input {
    max-width: 390px;
    width: 20.3125vw;
    padding-inline-start: 45px;
}

.search-container > .search-icon {
    position: absolute;
    left: 15px;
}

.page-title {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 100%;
    color: var(--heading-color);
}

/* -------------------------------------------------------------- */