.text-content a.button {
    color: #000;
}
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    line-height: 1;
    color: white;
    margin-right: 5px;
}

.badge-status-active {
    background-color: #28a745;
    /* xanh lá */
}

.badge-status-inactive {
    background-color: #dc3545;
}
.badge-status-warning {
    background-color: #fcd34d;
    /* đỏ */
}

.badge-info {
    background-color: #17a2b8;
    /* xanh da trời nhạt */
}

.badge-custom {
    background-color: #6f42c1;
    /* tím */
}

.custom-alert {
    position: relative;
    padding: 1rem 1.25rem 1rem 3rem;
    border-left: 4px solid;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.custom-alert .icon {
    position: absolute;
    left: 0.5rem;
    font-size: 1.6rem;
}

.custom-alert .close-btn {
    margin-left: auto;
    background: transparent;
    border: none;
    font-size: 2.6rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s ease-in-out;
}

.custom-alert .close-btn:hover {
    opacity: 1;
}

/* Types */
.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #6ee7b7;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    border-color: #fcd34d;
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
    border-color: #93c5fd;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    inset: 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.fade.show {
    display: block;
}

.modal-dialog {
    max-width: 500px;
    margin: 0 auto; /* canh giữa ngang */
    position: relative;
    top: 50%;
    max-height: 90vh;
    transform: translateY(-50%);
}

.modal-content {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    /* height: 500px; */
}

.modal-header,
.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 1rem 0;
}

.btn {
    padding: 0.5rem 1rem;
    background: #eee;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #0d6efd;
    color: white;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
}

.thumb {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 10px 0px;
    height: auto;
    position: relative;
    display: block;
    /* justify-content: space-between; */
    background: rgb(255, 255, 255);
    border-width: 0px;
    border-style: initial;
    border-color: initial;
    border-image: initial;
    border-radius: 4px;
}
.tricky-link {
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    text-indent: -9999px;
    top: 0;
    width: 100%;
    z-index: 4;
}
.top-info {
    align-items: center;
    display: flex;
    height: 54px;
    justify-content: space-between;
    padding: 0px 15px;
    /* display: none; */
}
.top-info .item-type {
    background: #84fcdc;
    border-radius: 4px;
    color: #151515;
    font-size: 12px;
    line-height: normal;
    overflow: hidden;
    padding: 5px 8px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.featured-item-img .item-img {
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    height: 100%;
    width: 100%;
    background-position: 50% center;
}
.featured-item-img {
    position: relative;
}
.item-key-wrapper {
    position: absolute;
    top: 0;
    left: 10px;
}
.item-key-wrapper .item-key {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 0.65em;
    padding: 3px 8px;
    border-radius: 4px;
}
.item-head-wrapper {
    padding: 0 15px 10px;
    /* width: 295px; */
}
.item-head-wrapper .cat-price-wrap {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 14px 0 20px;
}
.item-head-wrapper .category {
    /* background: #f9eaed; */
    border-radius: 4px;
    color: #151515;
    font-size: 12px;
    line-height: normal;
    margin-right: 15px;
    max-width: 70%;
    overflow: hidden;
    padding: 5px 8px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.item-head-wrapper .price {
    color: #151515;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    max-width: 32%;
    text-align: right;
}
.item-head-wrapper .price {
    float: right;
    /* font-size: 1.1428571429rem; */
    margin-bottom: 0;
    margin-left: 0.3571428571rem;
}

.item-head-wrapper .item-title {
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    height: 60px;
    overflow: hidden;
    text-overflow: unset;
    white-space: normal;
    margin-top: 0 !important;
    line-height: 1.4;
}
.item-head-wrapper .item-desc h1,
.item-head-wrapper .item-desc h2,
.item-head-wrapper .item-desc h3,
.item-head-wrapper .item-desc h4,
.item-head-wrapper .item-desc h5,
.item-head-wrapper .item-desc p,
.item-head-wrapper .item-desc strong,
.item-head-wrapper .item-desc {
    font-size: 13px;
    height: 65px;
    line-height: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    color: #000;
}

.bottom-info {
    align-items: center;
    display: flex;
    color: #000;
}
.item-head-wrapper .location {
    font-size: 13px;
    min-height: 18px;
}
.bottom-info .contact-link {
    flex-grow: 1;
    font-size: 13px;
    text-align: right;
}

.listing-small-badge {
    display: inline-block;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.6);
    color: #444;
    border: none;
    border-radius: 100px;
    line-height: 26px;
    height: 26px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    vertical-align: top;
    position: relative;
    margin-bottom: 3px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.wrap-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.button-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.6s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    /* height: 51px; */
    line-height: 51px;
    padding: 0 20px;
    outline: none;
    font-size: 15px;
    color: #808080;
    margin: 0 0 16px 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    display: block;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.06);
    font-weight: 500;
    opacity: 1;
    border-radius: 3px;
}
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: none;
}

.w-info-start-up {
    display: flex;
    align-items: center;
    gap: 10px;
}

#titlebar.listing-titlebar .title-block {
    display: block;
    color: #000;
    font-size: 18px;
    font-weight: 700;
}

#titlebar.listing-titlebar span .link-small {
    color: #000;
    font-size: 14px;
}
.login-mobile {
    display: none ;
}
/* Các breakpoint cho các kích thước màn hình khác nhau */

/* Mobile */
@media (max-width: 576px) {
    /* .logo_company {
        display: none;
    } */
}
@media(max-width: 1024px) {
    #logo {
        display: flex;
        justify-content: space-between
    }
    .login-mobile {
        display: inline-block;
        flex: none;
        margin-top: 7px;
    }
}

@media (min-width: 350px) and (max-width: 768px) {

    .listing-wrapper {
        display: flex;
        flex-direction: column;
    }
    .listing-wrapper .image {
        order: -1;
    }
    .range-slider {
        margin: 0 35px;
    }


    #logo {
        display: flex;
        justify-content: space-between
    }

    .login-mobile {
        display: inline-block;
        flex: none;
        margin-top: 7px;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 992px) {
    .header {
        font-size: 18px;
    }
}

/* Desktop */
@media (min-width: 993px) {
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 50px;
    position: absolute;
    top: 1px;
    right: 5px;
    width: 20px;
}
.tox-statusbar__branding {
    display: none;
}

/* =================== Alert email ================== */
#small-dialog .mfp-close,
#alert-email-dialog,
.mfp-close,
.mfp-close:hover {
    color: #fff;
}

/* Popup close button*/
#alert-email-dialog .mfp-close,
#small-dialog .mfp-close {
    color: #666;
    background-color: #e4e4e4;
    border-radius: 50%;
    top: 28px;
    right: 40px;
    width: 40px;
    height: 40px;
}

#alert-email-dialog .mfp-close:hover,
#small-dialog .mfp-close:hover {
    color: #fff;
    transform: rotate(0);
    background-color: #66676b;
}

#alert-email-dialog .mfp-close::after,
#alert-email-dialog .mfp-close::before,
#small-dialog .mfp-close::after,
#small-dialog .mfp-close::before {
    top: 4px;
    height: 9px;
    font-size: 21px;
    transition: 0s;
}
#alert-email-dialog,
#small-dialog {
    background: #fff;
    padding: 40px;
    padding-top: 0;
    text-align: left;
    max-width: 610px;
    margin: 40px auto;
    position: relative;
    box-sizing: border-box;
    border-radius: 4px;
}

#alert-email-dialog {
    max-width: 900px;
}

#alert-email-dialog span.line,
#small-dialog span.line {
    padding-top: 0;
}
#alert-email-dialog,
#small-dialog {
    background: #fff;
    padding: 30px;
    padding-top: 0;
    padding-bottom: 80px;
}

#alert-email-dialog .mfp-close,
#small-dialog .mfp-close {
    top: 24px;
    right: 30px;
    width: 40px;
    height: 40px;
}
.alert-email__heading {
    color: #000;
    font-size: 24px;
    font-weight: 500;
    margin:35px 0;
}
.alert-email__text {
    color: #000;
    font-size: 15px;
    font-weight: 300;
}
.boxed-photo-banner-pd {
    padding: 25px;
}
@media (max-width: 767px) {
#alert-email-dialog,
#small-dialog {
    max-width: 95vw;
}
.boxed-photo-banner-pd {
    padding: 15px;
}
}
#alert-email-dialog {
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden; 
    padding-right: 25px;
    padding-bottom: 100px;
}

#alert-email-dialog::-webkit-scrollbar {
    width: 0;
}

#alert-email-dialog {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}
/* =================== Alert email ================== */


.sign-in-form .tabs-nav li a:hover, .sign-in-form .tabs-nav li.active a{
    color: red;
}