/* Font Size */
.fs-12 {
    font-size: clamp(0.625rem, 0.5528rem + 0.3082vw, 0.75rem) !important;
}

.fs-13 {
    font-size: clamp(0.688rem, 0.6091rem + 0.3391vw, 0.813rem) !important;
}

.fs-14 {
    font-size: clamp(0.75rem, 0.6778rem + 0.3082vw, 0.875rem) !important;
}

.fs-15 {
    font-size: clamp(0.813rem, 0.7217rem + 0.4015vw, 0.938rem) !important;
}

.fs-16 {
    font-size: clamp(0.875rem, 0.8028rem + 0.3082vw, 1rem) !important;
}

.fs-18 {
    font-size: clamp(1rem, 0.9278rem + 0.3082vw, 1.125rem) !important;
}

.fs-20 {
    font-size: clamp(1.125rem, 1.0528rem + 0.3082vw, 1.25rem) !important;
}

.fs-22 {
    font-size: clamp(1.25rem, 1.1778rem + 0.3082vw, 1.375rem) !important;
}

.fs-24 {
    font-size: clamp(1.375rem, 1.3028rem + 0.3082vw, 1.5rem) !important;
}

.fs-26 {
    font-size: clamp(1.5rem, 1.4278rem + 0.3082vw, 1.625rem) !important;
}

.fs-28 {
    font-size: clamp(1.625rem, 1.5528rem + 0.3082vw, 1.75rem) !important;
}

.fs-32 {
    font-size: clamp(1.75rem, 1.6055rem + 0.6163vw, 2rem) !important;
}

/* Font Weight */

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

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

.fw-700 {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

/* Button */

.btn-icon-dark {
    background-color: #2F2F2D;
}

.auth-background {
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100dvh;
}

.inner-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.app-header {
    display: flex;
    align-items: center;
    min-height: 80px;
}

.d-flex.flex-between {
    flex-direction: row;
    justify-content: space-between;
}

.d-flex.flex-center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.form-control::placeholder {
    font-size: clamp(0.875rem, 0.799rem + 0.3241vw, 1rem);
    font-weight: 400;
    color: #9E9E9E;
}

.input-group:focus-within {
    border-color: #99A1B7;
}

.form-card {
    border-radius: 10px;
    border: 0.5px solid #d9d9d9;
    background-color: #f9f9f9;
    padding: 20px 17px;
}

.form-card .form-control {
    background-color: #fff;
}

.form-control[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield
}

.form-control[type="number"]::-webkit-inner-spin-button,
.form-control[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 576px) {
    .form-label {
        margin-bottom: 10px;
    }
}

.dropdown-menu.show {
    z-index: 99;
}

.header-search .custom-form-control {
    min-height: calc(0.813em + 2rem + 3px);
}

.aside .aside-menu .menu>.menu-item>.menu-link.active .menu-icon {
    color: #ffffff !important;
}

.aside .aside-menu .menu>.menu-item>.menu-link .menu-icon {
    color: #E0E4EE80 !important;
}

.border-light {
    border: 0.5px solid #D9D9D9 !important;
}

.todo-list-tab .check-info {
    display: none;
}

.todo-list-tab [type="checkbox"]:checked+label .check-gray {
    display: none;
}

.todo-list-tab [type="checkbox"]:checked+label .check-info {
    display: block;
}

.vertical-align {
    vertical-align: middle;
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    cursor: pointer;
}

.date-custom[type="date"]::-webkit-calendar-picker-indicator {
    background-image: url("../imgs/icon/date.svg");
    background-position: center;
    background-size: 18px 20px;
    background-repeat: no-repeat;
}

.input-line:after {
    content: "";
    background-color: #d9d9d9;
    position: absolute;
    width: 1px;
    height: 1.875rem;
    top: 0.875rem;
    right: 0;
    display: block
}

.input-group:is(:focus-within) .input-group-text {
    border-color: var(--bs-gray-500);
}

.border-light-secondary {
    border: 1px solid var(--bs-secondary-light);
}

@media(min-width:575px) {
    .border-end-darkgray {
        border-right: 1px solid #D9D9D9;
    }
}

.input-cancel {
    top: 1.25rem;
    right: 1.25rem;
    width: 1.063rem;
    height: 1.063rem;
}

.file-upload input[type='file'] {
    display: none;
}

.border-dashed-box {
    background-color: transparent !important;
    border-radius: 10px !important;
    background-position: 0 0, 0 0, 100% 0, 0 100%;
    background-size: 1.5px 100%, 100% 1.5px, 1.5px 100%, 100% 1.5px;
    background-repeat: no-repeat;
    background-image:
        repeating-linear-gradient(0deg, #d9d9d9, #d9d9d9 7px, transparent 7px, transparent 12px),
        repeating-linear-gradient(90deg, #d9d9d9, #d9d9d9 7px, transparent 7px, transparent 12px),
        repeating-linear-gradient(180deg, #d9d9d9, #d9d9d9 7px, transparent 7px, transparent 12px),
        repeating-linear-gradient(270deg, #d9d9d9, #d9d9d9 7px, transparent 7px, transparent 12px);
    border-image: repeating-linear-gradient(0deg, #d9d9d9, #d9d9d9 7px, transparent 7px, transparent 12px);
    box-shadow: none;
}

.cancel-button {
    top: -0.438rem;
    right: -0.438rem;
}

/* border radius */

.br-8px {
    border-radius: 0.5rem;
}
.br-10px {
    border-radius: 0.625rem !important;
}
.br-12px {
    border-radius: 0.75rem;
}
.custome-check-box {
    display: block;
    cursor: pointer;
}

.custome-check-box>input {
    visibility: hidden;
    position: absolute;
}

.custome-check-box>input+div {
    cursor: pointer;
    color: #9E9E9E;
    background-color: #F9F9F9;
    padding: 1.104rem 1.313rem;
    border-radius: 0.625rem;
    text-align: center;
}

.custome-check-box>input:checked+div {
    color: #353755;
    background-color: #E0E4EE;
}

.custome-check-box>input+div .check-svg {
    display: none;
}

.custome-check-box>input:checked+div .check-svg {
    stroke: #353755;
    display: block;
}

.custom-info-check[type='checkbox']:checked {
    background-color: #5BD3C7;
    border-color: #5BD3C7;
    background-size: 16px;
}

.custome-check-box>input+ .bg-checked-primary{
    color: #1A1A1A;
    background-color: #E0E4EE;
}

.custome-check-box>input:checked + .bg-checked-primary {
    color: #fff;
    border-color: #353755;
    background-color: #353755;
}

.text-blue{
    color: var(--bs-blue) !important;
}

.doughnutChart-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.doughnutChart-container canvas {
    position: relative;
}

.doughnutChart-container .chart-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    font-size: 24px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* link hover */

.link-hover li:hover a:hover,
.link-hover li:hover{
    color: #007BFF;
}
.link-hover li img{
   display: none;
}
.link-hover li:hover img{
   display: block;
}

@media(min-width:992px){
    .rounded-end-lg-0{
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .rounded-start-lg-0{
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
}
/* custom tab */
.custom-tab .nav-link{
    border-radius: 10px;
    background-color: #E0E4EE;
}
.custom-tab .nav-link svg{
    fill: #353755;
}
.custom-tab .nav-link.active svg{
    fill: #fff;
}
.select-border .select2-selection--single{
    border: none;
}

.select-height .select2-container--default .select2-selection--single{
    border: none;
    min-height:2rem;
    border-radius: 0.375rem;

}
.select-height .select2-container--default .select2-selection--single .select2-selection__rendered{
    font-size: 0.813rem;
}
.select-height .select2-container--default .select2-selection--single .select2-selection__arrow b{
    top: 0.575rem;
    right: .825rem;
}
.urgent-task-select .select2-container--default .select2-selection--single{
    background-color: #e554511a;
}
.urgent-task-select .select2-container--default .select2-selection--single .select2-selection__rendered{
    color: #E55451;
}
.unless-Order-select .select2-container--default .select2-selection--single{
    background-color: #E0E4EE;
}
.unless-Order-select .select2-container--default .select2-selection--single .select2-selection__rendered{
    color: #1A1A1A;
}

.medium-task-select .select2-container--default .select2-selection--single{
    background-color: #FFEBB4B2;
}
.medium-task-select .select2-container--default .select2-selection--single .select2-selection__rendered{
    color: #000000;
}
.line-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp .one {
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.line-clamp .two {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

@media (min-width: 992px) {
    .truncate {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    .truncate.w-link {
        width: 500px;
    }
}

#eventModal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
#eventModal .info-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
#eventModal .meeting-link {
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#eventModal .copy-icon {
    color: #0d6efd;
    cursor: pointer;
    font-size: 20px;
}
#eventModal .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    margin-right: 3px;
}
#eventModal .contact-info {
    background-color: #212529;
    color: white;
    padding: 12px;
    border-radius: 8px;
}
#eventModal .btn-join {
    background-color: #e9ecef;
    color: #212529;
    border: none;
}

.custom-tooltip-popup {
    font-size: .75rem;
    --bs-tooltip-bg: #212121;
    --bs-tooltip-color: var(--bs-white);
}

.input-group{
    display: flex !important;
}
.input-group .error-border{
    border-left-width: 0 !important;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}
.input-group.invalid-feedback .input-group-text{
    border-color: #F8285A;
}
 /* Toggle Switch Styles */
 .switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(16px);
}

/* Rounded corners for slider */
.slider.round {
    border-radius: 20px;
}
.select2-high-zindex {
    z-index: 10000 !important;
}
.dropdown-menu.show {
    scrollbar-gutter: stable;
}
.btn.btn-info.show img {
    transform: rotateX(180deg);
}
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
    top: 50% !important;
    transform: translateY(-50%) !important;
    background-color: var(--bs-info) !important;
    line-height: 15px !important;
}