:root {
    --main-color: #1a6373;
    --color-gray: #696868;
    --color-purple: #b279ff;
    --dark-blue: #0a2540;
}

ul,
li {
    list-style: none;
}

ul,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6,
label {
    padding: 0;
    margin: 0;
}

a,
a:hover {
    text-decoration: none;
}
.nav-item.hover a i {
    color: white !important;
}
label {
    font-size: 18px;
}

.main-color {
    color: #1a6373 !important;
}
.main-color:hover {
    color: #1a6373 !important;
}

.weight-500 {
    font-weight: 500;
}

.white-space-pre-line {
    white-space: pre-line;
}

.mainnav-item.active .nav-link span {
    border-bottom: 3px solid white;
    padding: 8px 0px;
    display: inline-block;
}

.mainnav-item .nav-link {
    font-size: 14px;
    color: white;
    padding-top: 20px;
    text-align: center;
}

.truncated {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 5px;
}

.truncated ~ strong,
.truncated ~ span {
    min-width: 70px;
    text-align: right;
}

.item-card {
    padding: 15px;
    box-shadow: 0px 2px 4px 1px #00000040;
    border-radius: 4px;
}

.badge-status {
    max-width: 150px;
    min-width: 150px;
    width: fit-content;
    padding: 5px 10px;
    background-color: #1a6373;
    color: white;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.checkbox-group label {
    color: black;
    font-size: 18px;
}

.filter-item {
    padding: 10px 5px 20px;
    border-top: 1px solid #888888;
}

.toggle-filter {
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("../img/plus-icon.png");
    cursor: pointer;
}

.toggle-filter.active {
    background-image: url("../img/minus-icon.png");
}

.pagination .page-item:first-child,
.pagination .page-item:last-child {
    padding: 0;
}

.pagination .page-item:first-child {
    padding-right: 10px;
}

.pagination .page-item:last-child {
    padding-left: 10px;
}

.page-item {
    padding: 0 5px;
}

.page-item .page-link {
    border: none;
    padding: 0.5rem 1rem;
}

.page-item.active .page-link,
a.page-link:hover {
    background-color: #1a6373;
    color: white !important;
}

.page-link.page-previous {
    background-image: url("../img/arrow-left.png");
}

.page-link.page-next {
    background-image: url("../img/arrow-right.png");
}

.page-link.page-next,
.page-link.page-previous {
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 22px;
    padding: 0;
}

.page-link.page-previous:hover,
.page-link.page-next:hover {
    background-blend-mode: screen;
}

.page-total {
    font-size: 18px;
    font-weight: 700;
    color: #585757;
}

footer {
    position: relative;
    background-color: var(--dark-blue);
    grid-area: 3 / 1 / 3 / 3;
    padding: 20px 0;
}

footer .footer-content {
    padding-left: 123px;
}

footer .footer-logo {
    position: absolute;
    top: 50px;
    left: 50px;
}

footer .footer-nav {
    margin-top: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

footer .footer-nav,
footer .footer-nav li a {
    color: white;
    font-size: 18px;
}

footer .footer-nav .footer-nav-link {
    padding: 5px 15px;
    margin-bottom: 3px;
}

footer .cpy-r-gr {
    color: #a0a0a0;
    text-align: center;
    font-size: 16px;
}

.btn-sort {
    height: 35px;
    width: 35px;
    background-image: url("../img/ico-arrow-up.png");
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    cursor: pointer;
}

.btn-sort,
.btn-sort:active,
.btn-sort:focus {
    border: none;
    outline: none;
}

.btn-pri-main {
    background-color: var(--main-color);
    color: white;
    font-weight: 500;
    min-width: 150px;
    border-radius: 20px;
}

.select-custom {
    appearance: none;
    max-width: 100%;
    padding: 4px 44px 4px 10px;
    background: url("../img/ico-select-arrow-down.png");
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: center;
    border-color: #888888;
    color: #888888;
    outline: none !important;
}
@media (min-width: 320px) and (max-width: 1280px) {
    .select-custom {
        max-width: 100% !important;
    }
    /*
    .filter-group {
        padding: 0;
    }

    .filter-item {
        padding: 10px 5px;
        border-top: 1px solid #888888;
    } */
}

.step-group .step-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 15px;
    width: fit-content;
    max-width: none;
    position: relative;
}

.step-group .step-item:not(:last-child) {
    margin-right: 67px;
    padding-right: 0;
}

.step-group .step-item:not(:last-child)::after {
    content: "";
    width: 67px;
    height: 1px;
    background-color: #8c8c8c;
    position: absolute;
    left: 100%;
}

.step-group .step-title {
    margin-right: 10px;
    font-size: 16px;
}

.step-group .step-badge {
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #8c8c8c;
    color: #cccccc;
    font-weight: 500;
    font-size: 18px;
    border-radius: 100%;
    flex-shrink: 0;
    position: relative;
}

.step-group .step-item.active .step-badge {
    background-color: #1a6373;
    color: white;
}

.step-group .step-item.active .step-title,
.step-group .step-item.done .step-title {
    color: #1a6373;
}

.step-group .step-item.done .step-badge {
    background: white;
    color: white;
    height: 37px;
    line-height: 34px;
    border: 3px solid #8c8c8c;
}

.step-group .step-item.done .step-badge::after {
    content: "";
    height: 10px;
    width: 18px;
    display: block;
    border: 3px solid #8c8c8c;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);

    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.btn-primary-light {
    background-color: white;
    color: var(--main-color);
    border-color: var(--main-color);
    font-size: 14px;
    border-radius: 100px;
}

.btn-primary-xl,
.btn-secondary-xl,
.btn-secondary-md,
.btn-primary-md {
    background-color: var(--main-color);
    color: white;
    font-size: 18px;
    padding: 10px 30px;
    border-radius: 20px;
}

.btn-secondary-xl,
.btn-secondary-md,
.btn-secondary-sm {
    background-color: white;
    color: var(--main-color);
    border-color: var(--main-color);
    border-width: 2px;
}

.btn-secondary-md,
.btn-primary-md {
    padding: 5px 20px;
    min-width: 140px;
}

.btn-secondary-md.border-thin,
.btn-secondary-sm.border-thin {
    border-width: 0.5px;
}

/* FORM STYLE */
.form-title {
    font-size: 28;
    font-weight: 500;
}

.form-input-group {
    margin: 10px 0 20px 0;
}

.form-group-title {
    font-size: 24px;
    color: #1a6373;
    border-bottom: 1px solid #1a6373;
    margin-bottom: 15px;
    font-weight: 400;
}

.form-input-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.form-input-item * {
    font-size: 16px !important;
}

.form-input-item:not(:last-child) {
    border-bottom: 1px solid #dedede;
}

.border-bottom {
    border-bottom: 1px solid #dedede;
}

.form-input-item label {
    color: var(--main-color);
}

.form-group-sub-title {
    color: #1a6373;
    font-size: 20px;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 25px;
}

.form-input-item.sub label {
    padding-left: 0;
}

textarea.form-control.dark,
select.form-control.dark,
input.form-control.dark {
    background-color: #f6f6f6;
    border: none;
}

textarea.form-control::placeholder {
    color: #a9a8a8;
}

.remove-work-location,
.add-work-location {
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 15px;
}

.add-work-location {
    background-image: url("../img/plus-icon.png");
    right: 50px;
}

.remove-work-location {
    background-image: url("../img/minus-icon.png");
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    width: 25px;
    height: 25px;
    position: absolute;
    right: 20px;
}

select.form-control.dark {
    appearance: none;
    min-width: 150px;
    padding-left: 15px;
    background-image: url("../img/ico-select-arrow-down.png");
    background-repeat: no-repeat;
    background-position-x: 10px;
    background-position-y: center;
    border-color: #888888;
    color: #767676;
    outline: none !important;
}

.custom-file-btn-wrap {
    position: relative;
    display: flex;
}

input[type="file"].custom-file-btn {
    /*width: 85%;*/
    margin-right: 140px;
}

input[type="file"].custom-file-btn::file-selector-button {
    background-color: white;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    border-radius: 25px;
    margin: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 5px 10px;
}

input[type="file"].custom-file-btn.btn-start,
input[type="file"].custom-file-btn.btn-start ~ label.error,
.custom-file-btn-wrap ~ label.error {
    margin-left: 115px;
    margin-right: 0px;
}

input[type="file"].custom-file-btn.btn-start::file-selector-button {
    right: unset;
    left: 0;
}

.btn-choose-file {
    border-radius: var(--bs-border-radius);
    border: var(--bs-border-width) solid var(--bs-border-color);
}

/* END FORM STYLE */

.require-title-lg {
    color: var(--main-color);
    font-size: 19px;
}

.modal-header {
    padding-right: 0;
    padding-left: 0;
    margin: 0 15px;
    border-color: #484848;
    color: #484848;
    font-size: 25px;
}

.modal-body {
    padding: 15px;
}

.modal-body-title {
    font-size: 25px;
    color: #1a6373;
    text-align: center;
}

.modal-body-title.black {
    color: black;
    font-weight: 28px;
}

.modal-footer {
    border: none;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-item {
    width: 230px;
    height: 170px;
    padding: 15px;
    cursor: pointer;
}

.gallery-item img {
    height: 100%;
    width: 100%;
    object-position: center;
    object-fit: cover;
}

.question-mark {
    width: 35px;
    height: 35px;
    background-image: url("../img/question-mark-fill.png");
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    cursor: pointer;
}

.border-bx-main {
    padding: 15px;
    border: 1px solid #1a6373;
    border-radius: 8px;
}

label.error {
    color: red;
    font-size: 16px;
    margin-top: 5px;
}

.scale-1-2 {
    scale: 1.2;
}
.image-history {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.modal-choose-image {
    max-width: 768px;
    max-height: 896px;
}
.modal-delete-job {
    max-width: 640px;
}

.background-color-white {
    background-color: white !important;
}

.label.label-black {
    color: black;
    font-size: 20px;
}

.border-primary {
    border: 1px solid #1a6373 !important;
    box-shadow: none !important;
}

.btn-flex-gr {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* 20240827 Start fix bug*/
.title-customize {
    margin-top: 30px;
}
.border-none {
    border: none !important;
}
.image-container {
    position: relative;
    display: inline-block;
    box-shadow: 1px 1px 1px 1px #a5a5a582;
}

/** 20240910 checkbox*/
.form-check-input {
    position: absolute;
    top: -5px;
    right: 0px;
    width: 30px;
    height: 30px;
}
.form-check-input:checked {
    background-color: green !important;
    border: 0;
}
.form-check-input:focus,
.label::after,
.form-check-input::after,
.form-check-input:not(:disabled):not(.disabled):active:focus {
    color: black;
    outline: 0;
    border: 0;
    box-shadow: 0 0 0 0.1rem green !important;
}

.label-required {
    color: red;
}

.text-icon-button {
    font-size: 14px;
    line-height: 14px;
    color: #8b8989;
}

.sending-input-item {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 10px;
    margin-bottom: 0px;
}
.sending-input-item label {
    color: var(--main-color);
}

.sending-input-item label.error {
    color: red;
    font-size: 16px;
    margin-top: 5px;
}
.message-left {
    max-height: calc(100vh - 156px);
    width: 30%;
    min-height: 100%;
    border-width: 2px;
}
.message-right {
    max-height: calc(100vh - 156px);
    width: 70%;
    min-height: 100%;
    border-width: 2px;
}
.btn-purple {
    color: #fff;
    background-color: #7e27cf;
    border: #7e27cf;
}
.form-input {
    height: 55px;
    text-indent: 33px;
    border-radius: 10px;
}
.form {
    width: 80%;
    position: relative;
}
.form-input {
    height: 55px;
    text-indent: 33px;
    border-radius: 10px;
}

.form .fa-search {
    position: absolute;
    top: 15px;
    left: 35px;
    color: #9ca3af;
}
/* Custom tooltip */
.tooltip-custom {
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px;
    position: absolute;
    top: -10px; /* Position above the element */
    left: 50%; /* Center horizontally relative to the element */
    transform: translateX(-50%) translateY(-100%); /* Adjust to center and move above */
    margin-bottom: 10px; /* Optional spacing between element and tooltip */
    z-index: 1;
    font-size: 12px;
    white-space: nowrap;
}

/* Arrow pointing down towards the element */
.tooltip-custom::after {
    content: "";
    position: absolute;
    top: 100%; /* Arrow points down */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.75) transparent transparent transparent;
}

/* Show tooltip on hover */
.message-bubble:hover .tooltip-custom {
    visibility: visible;
}

.message-bubble {
    word-break: break-word;
    white-space: normal;
    min-width: 100px;
    font-size: 14px;
}
.sending_time {
    font-size: 12px;
    margin: 0 10px;
    display: none;
}

.checkbox-form-control {
    border: 1px solid #ced4da; /* Thay đổi màu border */
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
    width: 38px;
    height: 38px !important;
}
.checkbox-form-control:checked {
    background-color: #ced4da; /* Màu nền khi checkbox được chọn */
    border-color: #ced4da;
}
.checkbox-form-control:checked::before {
    content: "✔"; /* Thêm dấu tích */
    color: #635bff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
}
.search-button-purple {
    background-color: #635bff;
    color: #ffffff;
}
.job-title {
    font-weight: bold;
    font-size: 18px;
}
.custom-border {
    border-radius: 5px !important;
}

/** START CSS side bar */
.css-3v67fv {
    flex: 0 0 auto;
    width: 240px;
}
.css-wdygcd {
    color: rgb(135, 136, 140);
    box-shadow: none;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1200;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: var(--dark-blue);
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1 0 auto;
    outline: 0px;
    border-right: 1px solid rgb(44, 45, 51);
    border-radius: 0px;
}

.css-3v67fv .MuiDrawer-paper {
    width: 240px;
}

@media (min-width: 738px) {
    .css-8eg4qd {
        min-height: 64px;
    }
}
@media (min-width: 0px) {
    @media (orientation: landscape) {
        .css-8eg4qd {
            min-height: 48px;
        }
    }
}
@media (min-width: 738px) {
    .css-8eg4qd {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.css-8eg4qd {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    min-height: 56px;
    position: fixed;
    height: 98px;
    z-index: 1;
    background-color: var(--dark-blue);
    padding: 0px;
    -webkit-box-pack: center;
    justify-content: center;
    width: 239px;
}
[data-simplebar] {
    position: relative;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
}
.simplebar-wrapper {
    overflow: hidden;
    width: inherit;
    height: inherit;
    max-width: inherit;
    max-height: inherit;
}

.simplebar-height-auto-observer-wrapper {
    box-sizing: inherit !important;
    height: 100%;
    width: 100%;
    max-width: 1px;
    position: relative;
    float: left;
    max-height: 1px;
    overflow: hidden;
    z-index: -1;
    padding: 0;
    margin: 0;
    pointer-events: none;
    flex-grow: inherit;
    flex-shrink: 0;
    flex-basis: 0;
}

.simplebar-mask {
    direction: inherit;
    position: absolute;
    overflow: hidden;
    padding: 0;
    margin: 0;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: auto !important;
    height: auto !important;
    z-index: 0;
}
.simplebar-offset {
    direction: inherit !important;
    box-sizing: inherit !important;
    resize: none !important;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}
.simplebar-content-wrapper {
    direction: inherit;
    box-sizing: border-box !important;
    position: relative;
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.simplebar-content-wrapper {
    direction: inherit;
    box-sizing: border-box !important;
    position: relative;
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.css-1na7th8 {
    list-style: none;
    margin: 98px 0px 0px;
    padding: 10px 0px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.css-1xpjyde {
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    position: relative;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 25px;
}

a,
a:link,
a:visited {
    text-decoration: none !important;
}
.css-3d7ox2 {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    color: inherit;
    display: flex;
    -webkit-box-flex: 1;
    flex-grow: 1;
    position: relative;
    min-width: 0px;
    box-sizing: border-box;
    text-align: left;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    opacity: 1;
    background-color: rgb(169, 223, 216);
    font: inherit;
    outline: 0px;
    border-width: 0px;
    border-style: initial;
    border-color: initial;
    border-image: initial;
    margin: 0px;
    text-decoration: none;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
    padding: 10px 16px;
    gap: 5px;
}

.css-3d7ox2 {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    color: inherit;
    display: flex;
    -webkit-box-flex: 1;
    flex-grow: 1;
    position: relative;
    min-width: 0px;
    box-sizing: border-box;
    text-align: left;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    opacity: 1;
    background-color: rgb(169, 223, 216);
    font: inherit;
    outline: 0px;
    border-width: 0px;
    border-style: initial;
    border-color: initial;
    border-image: initial;
    margin: 0px;
    text-decoration: none;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
    padding: 10px 16px;
    gap: 5px;
}

.css-1xpjyde {
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    position: relative;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    display: block;
    padding-left: 20px;
    padding-right: 20px;
}

.css-5yb8ht .MuiListItemText-primary {
    font-size: 1rem;
    font-weight: 500;
}

.css-1wahzy7 {
    font-size: 1rem;
    font-weight: 500;
    font-family: Inter, sans-serif;
    line-height: 1.5;
    display: block;
    margin: 0px;
    white-space: normal;
    word-wrap: break-word;
}

.css-5yb8ht {
    flex: 1 1 auto;
    min-width: 0px;
    margin: 0px;
    color: rgb(135, 136, 140);
    opacity: 1;
}

.btn-secondary-sm {
    background-color: white;
    color: var(--main-color);
    border-color: var(--main-color);
    font-size: 14px;
    border-radius: 10px;
    border-width: 2px;
    padding: 5px;
    max-width: 130px;
}

.form-check-label {
    font-size: 16px;
}

.chat-log {
    height: 80%;
}

@media (min-width: 320px) and (max-width: 1280px) {
    .chat-log {
        height: 74%;
    }
}

.right-message {
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 10px;
    margin-top: 10px;
}
.left-message {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
    margin-top: 10px;
}

.sub-menu {
    margin-left: 20px;
    text-align: left !important;
}
.send-message-form {
    padding-left: 10px;
    padding-right: 10px;
}

#left-container .row hr {
    width: 100%;
    margin: 0;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.main-panel > .container {
    margin-top: 20px !important;
    background-color: #fff;
}
.table-w-1 {
    width: 1%;
    max-width: 1%;
}

.table-w-3 {
    width: 3%;
    max-width: 3%;
}

.table-w-5 {
    width: 5%;
    max-width: 5%;
}

.table-w-8 {
    width: 8%;
    max-width: 8%;
}

.table-w-8 {
    width: 8%;
    max-width: 8%;
}

.table-w-10 {
    width: 8%;
    max-width: 10%;
}

.table-w-12 {
    width: 10%;
    max-width: 12%;
}

.table-w-15 {
    width: 12%;
    max-width: 15%;
}

.table-w-20 {
    width: 18%;
    max-width: 20%;
}

.table-w-25 {
    width: 22%;
    max-width: 25%;
}

.table-w-30 {
    width: 28%;
    max-width: 30%;
}

.table-w-40 {
    width: 35%;
    max-width: 40%;
}

.table-w-50 {
    width: 45%;
    max-width: 50%;
}

.table-w-60 {
    width: 55%;
    max-width: 60%;
}

.table-w-65 {
    width: 65%;
    max-width: 65%;
}

.table-w-70 {
    width: 70%;
    max-width: 70%;
}

.table-w-75 {
    width: 75%;
    max-width: 75%;
}

.table-w-80 {
    width: 80%;
    max-width: 85%;
}

.table-w-85 {
    width: 85%;
    max-width: 85%;
}

@media only screen and (min-width: 320px) and (max-width: 640px) {
    .table-w-1 {
        min-width: 100px;
        max-width: 100px;
    }

    .table-w-3 {
        width: 120px;
        max-width: 120px;
    }

    .table-w-5 {
        min-width: 150px;
        max-width: 170px;
    }

    .table-w-10 {
        min-width: 180px;
        max-width: 200px;
    }

    .table-w-12 {
        min-width: 190px;
        max-width: 210px;
    }

    .table-w-15 {
        min-width: 200px;
        max-width: 220px;
    }

    .table-w-20 {
        min-width: 220px;
        max-width: 250px;
    }

    .table-w-25 {
        min-width: 250px;
        max-width: 280px;
    }

    .table-w-30 {
        min-width: 280px;
        max-width: 300px;
    }

    .table-w-40 {
        min-width: 300px;
        max-width: 330px;
    }

    .table-w-50 {
        min-width: 320px;
        max-width: 350px;
    }

    .table-w-60 {
        min-width: 380px;
        max-width: 400px;
    }

    .table-w-65 {
        width: 420px;
        max-width: 450px;
    }

    .table-w-70 {
        width: 460px;
        max-width: 480px;
    }

    .table-w-75 {
        width: 520px;
        max-width: 550px;
    }

    .table-w-80 {
        width: 560px;
        max-width: 580px;
    }

    .table-w-85 {
        min-width: 615px;
        max-width: 630px;
    }

    .button-group {
        justify-content: center;
    }

    .label-limit {
        text-align: start;
    }

    .btn-back {
        margin-bottom: 0.5rem;
    }

    .w-md-100 {
        width: 100%;
    }

    .form-search-p-0-40 {
        padding: 0px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 1170px) {
    .table-w-1 {
        width: 100px;
        max-width: 100px;
    }

    .table-w-3 {
        width: 120px;
        max-width: 120px;
    }

    .table-w-5 {
        min-width: 150px;
        max-width: 170px;
    }
    .table-w-10 {
        min-width: 180px;
        max-width: 200px;
    }

    .table-w-12 {
        min-width: 190px;
        max-width: 210px;
    }

    .table-w-15 {
        min-width: 200px;
        max-width: 220px;
    }

    .table-w-20 {
        min-width: 220px;
        max-width: 250px;
    }

    .table-w-25 {
        min-width: 250px;
        max-width: 280px;
    }

    .table-w-30 {
        min-width: 280px;
        max-width: 300px;
    }

    .table-w-40 {
        min-width: 300px;
        max-width: 330px;
    }

    .table-w-50 {
        min-width: 320px;
        max-width: 350px;
    }

    .table-w-60 {
        min-width: 350px;
        max-width: 380px;
    }

    .table-w-65 {
        width: 330px;
        max-width: 330px;
    }

    .table-w-70 {
        width: 360px;
        max-width: 360px;
    }

    .table-w-75 {
        width: 390px;
        max-width: 390px;
    }

    .table-w-80 {
        width: 412px;
        max-width: 420px;
    }

    .table-w-85 {
        min-width: 450px;
        max-width: 470px;
    }

    .w-md-100 {
        width: 100%;
    }

    .form-search-p-0-40 {
        padding: 0px 30px;
    }
}

.btn:hover {
    color: #fff !important;
    background-color: #1a6373 !important;
}

.text-news {
    color: #635bff !important;
}

.autocomplete-items {
    position: absolute;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}
.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

#checkbox-publish-date li,
#checkbox-publish-status li,
#checkbox-visa li,
#checkbox-industry li {
    padding: 5px !important;
}
.text-color-635BFF {
    color: #1a6373 !important;
}

.page-item.inactive .page-link {
    pointer-events: none;
    color: inherit;
    background-color: inherit;
    opacity: 1;
}

/* Fix css 29/10/2024 chinh sua form search  */
.border-search {
    border: 1px solid var(--bs-border-color);
}
.btn-search {
    margin-top: 10px;
}
.icon-btn-viewing:hover {
    background-color: #527fb9 !important;
}

.custom-btn-new {
    background-color: white;
    color: #1a6373;
    border-color: #1a6373;
    border-width: 0.5px;
}

.btn-dashboard {
    background-color: white;
    color: #1a6373;
    border-color: #1a6373;
    border-width: 0.5px;
}

.col-data {
    margin-top: 10px;
}
.btn-label-light {
    color: #5a607f;
    font-size: 16px;
}

.sidebar-content .nav-item a {
    padding: 6px 20px !important;
}
.sidebar-content .nav-item a i {
    text-align: left !important;
    width: 0px !important;
    padding-right: 15px !important;
}
.sidebar .nav.nav-secondary > .nav-item.active > a,
.sidebar .nav.nav-secondary > .nav-item:focus a,
.sidebar .nav.nav-secondary > .nav-item.active > a::before {
    background-color: #1a6373 !important;
}
.sidebar .nav.nav-secondary > .nav-item.active > a i::before {
    background-color: #1a6373 !important;
}
.sidebar .nav.nav-secondary > .nav-item.active > a i::after {
    background-color: #1a6373 !important;
}
.sidebar .nav.nav-secondary > .nav-item .nav-collapse li.active > a,
.sidebar[data-background-color="white"]
    .nav.nav-secondary
    > .nav-item
    .nav-collapse
    li.active
    > a {
    color: #1a6373 !important;
}
.sidebar .nav.nav-secondary > .nav-item > a:hover {
    background-color: #1a6373 !important;
}

.sidebar .nav.nav-secondary > .nav-item a:hover i,
.sidebar .nav.nav-secondary > .nav-item a:hover p,
.sidebar .nav.nav-secondary > .nav-item a:hover span,
.sidebar .nav.nav-secondary > .nav-item a:focus i,
.sidebar .nav.nav-secondary > .nav-item.active a i {
    color: white !important;
}

@media screen and (max-width: 1590px) {
    .form-input-item label:not(.error),
    .form-group-sub-title {
        padding-left: 0px;
        padding-right: 15px;
    }
}

.w-label {
    width: 35%;
}
.w-input {
    width: 70%;
    max-height: 41.78px !important;
}
.w-input-35 {
    width: 35%;
}
.form-select {
    padding-right: 30px;
}
.table > tbody > tr > td,
.table > tbody > tr > th {
    padding: 10px 5px !important;
}
.table-w-30,
.table-w-30 {
    min-width: 280px;
}
.custom-button-update {
    background-color: #1a6373 !important;
    color: white !important;
    opacity: unset !important;
    border: 1px solid #1a6373 !important;
}
.custom-button-update:hover {
    background-color: #1a6373 !important;
    color: white !important;
    opacity: unset !important;
    border: 1px solid #1a6373 !important;
}
.custom-button-cancel {
    color: #1a6373 !important;
    background-color: #ffffff !important;
    opacity: unset !important;
    border-color: #1a6373 !important;
}
.custom-button-cancel:hover {
    color: #1a6373 !important;
    background-color: #ffffff !important;
    opacity: unset !important;
    border-color: #1a6373 !important;
}

.fs-14 {
    font-size: 14px;
}

.text-right {
    text-align: right !important;
}
.custom-btn-dashboard {
    background-color: white;
    color: #1a6373;
    border-color: #1a6373;
    border-width: 0.5px;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #1a6373;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.page-item.disabled .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.message-row {
    max-height: calc(100vh - 250px);
    height: 100%;
    overflow-y: scroll;
    background-color: #f8f9fa;
    overflow-x: hidden;
}
.page-inner {
    padding-right: 15px;
    padding-left: 15px;
}

.message-photo {
    width: 35px;
    height: 35px;
    margin-right: 15px;
    border-radius: 50%;
}
.message-account-photo {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
}
.message-user-image {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}
.message-user-info {
    margin-left: 10px;
    cursor: pointer;
}
.image-message-modal {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    object-fit: cover;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: #1a6373;
}

.form-control,
.border-search,
.custom-border,
.form-select {
    border-color: #dee2e6 !important;
    border-width: 1px;
}

.w-input-30 {
    width: 30%;
}

.w-input-30 {
    width: 30%;
}

table.table-bordered {
    border: #bcbec0 solid 1px !important;
    margin-top: 20px;
}
table.table-bordered > thead > tr > th {
    border: #bcbec0 solid 1px !important;
}
table.table-bordered > tbody > tr > td {
    border: #bcbec0 solid 1px !important;
}
table.table-bordered > tbody > tr > th {
    border: #bcbec0 solid 1px !important;
}

.w-20 {
    width: 20%;
}

.w-80 {
    width: 80%;
}

#loginBtn.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* remove the gap so it doesn't flicker */
}

#loginBtn .dropdown-menu {
    padding: 10px;
    min-width: 220px;
    border-radius: 10px;
    text-align: center;
    position: absolute;
    top: 43px;
    right: 0;
}

#loginBtn .dropdown-item {
    font-weight: bold;
    padding: 6px 0;
    border-bottom: 1px solid #ccc;
}

#loginBtn .dropdown-item:last-child {
    border-bottom: none;
}

#loginBtn .dropdown-item:hover {
    color: teal;
}

#loginBtn .dropdown-item.active,
#loginBtn .dropdown-item:active {
    background-color: #dddddd;
}
