/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.hcl-role-menu {
    position: relative;
    z-index: 80;
    display: inline-block;
    margin: 0;
    color: #334155;
    font-size: 12px;
    line-height: 1.2;
}

.hcl-role-menu summary {
    list-style: none;
}

.hcl-role-menu summary::-webkit-details-marker {
    display: none;
}

.hcl-role-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    min-height: 0;
    margin: 0;
    padding: 0 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 11px;
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition: all 160ms ease;
}

.hcl-role-trigger:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.hcl-role-trigger.is-login {
    border-color: #0284c7;
    color: #0369a1;
    background: #f0f9ff;
}

.hcl-role-trigger.is-login:hover {
    background: #e0f2fe;
    border-color: #0284c7;
}

.hcl-role-trigger.is-specialist {
    border-color: #059669;
    color: #065f46;
    background: #ecfdf5;
}

.hcl-role-trigger.is-specialist:hover {
    background: #d1fae5;
}

.hcl-role-trigger.is-admin {
    border-color: #7c3aed;
    color: #5b21b6;
    background: #f5f3ff;
}

.hcl-role-trigger.is-admin:hover {
    background: #ede9fe;
}

.hcl-role-trigger > svg:first-child {
    width: 15px;
    height: 15px;
}

.hcl-role-trigger .hcl-role-chevron {
    width: 13px;
    height: 13px;
    transition: transform 160ms ease;
}

.hcl-role-menu[open] .hcl-role-chevron {
    transform: rotate(180deg);
}

.hcl-role-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 90;
    overflow: hidden;
    min-width: 215px;
    width: max-content;
    max-width: 260px;
    padding: 8px 0;
    border: 1px solid #dbe3ec;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.hcl-role-dropdown-title {
    padding: 3px 14px 8px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.hcl-role-option {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    color: #475569;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease;
}

a.hcl-role-option:hover,
button.hcl-role-option:hover {
    background: #f8fafc;
    color: #0f172a;
}

.hcl-role-option > svg:first-child,
.hcl-role-check {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.hcl-role-option.is-specialist > svg:first-child {
    color: #059669;
}

.hcl-role-option.is-admin > svg:first-child {
    color: #7c3aed;
}

.hcl-role-option.is-account > svg:first-child {
    color: #0284c7;
}

.hcl-role-option.is-logout > svg:first-child {
    color: #dc2626;
}

.hcl-role-option.is-logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.hcl-role-option.is-active {
    font-weight: 850;
}

.hcl-role-option.is-active.is-specialist {
    background: #ecfdf5;
    color: #047857;
}

.hcl-role-option.is-active.is-admin {
    background: #f5f3ff;
    color: #6d28d9;
}

.hcl-role-check {
    justify-self: end;
    color: currentColor;
}

.hcl-card-private-info {
    width: 100%;
    margin-top: 4px;
    padding: 8px 9px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.45;
}

.hcl-card-private-info.is-unlocked {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.hcl-card-private-info.is-unlocked > div + div {
    margin-top: 2px;
}

.hcl-card-private-info.is-unlocked a {
    color: #047857;
    font-weight: 800;
    text-decoration: underline;
}

.hcl-card-private-info.is-locked {
    display: flex;
    align-items: center;
    gap: 6px;
    border-color: #fecaca;
    background: #fff7f7;
    color: #b91c1c;
}

.hcl-card-private-info.is-locked svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.hcl-popup-redacted-note {
    padding: 10px 12px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff7f7;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 700;
}

.hcl-property-filters {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    margin: 0;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    background: #f1f5f9;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hcl-property-filters .hcl-filter-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px;
    min-height: 0;
    margin: 0 !important;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    box-shadow: none;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.hcl-property-filters .hcl-filter-button:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    color: #0f172a;
}

.hcl-property-filters .hcl-filter-button.is-active,
.hcl-property-filters .hcl-filter-button.is-active:hover {
    border-color: #10b981;
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(5, 150, 105, 0.2);
}

.hcl-property-filters .hcl-filter-icon {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.hcl-property-filters .hcl-filter-button:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
}

.hcl-property-search {
    width: 100%;
    margin: 0;
    padding: 15px 16px 13px;
    border: 1px solid #dbe3ec;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.hcl-property-search * {
    box-sizing: border-box;
}

.hcl-search-main-row {
    display: flex;
    align-items: stretch;
    gap: 9px;
}

.hcl-search-query-wrap {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 10px;
    height: 39px;
    min-width: 0;
    margin: 0 !important;
    padding: 0 13px;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    background: #f8fafc;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.hcl-search-query-wrap:focus-within {
    border-color: #ef4444;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.hcl-search-query-wrap > svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: #ef233c;
}

.hcl-search-query-wrap input[type="search"] {
    width: 100%;
    height: 37px;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #1e293b;
    font-size: 12px;
    font-weight: 600;
}

.hcl-search-query-wrap input[type="search"]::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.hcl-search-submit {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 39px;
    min-height: 0;
    margin: 0 !important;
    padding: 0 17px;
    border: 1px solid #ef0014;
    border-radius: 12px;
    background: #ef0014;
    color: #ffffff;
    box-shadow: none;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    transition: background-color 160ms ease, transform 160ms ease;
}

.hcl-search-submit:hover {
    border-color: #dc0012;
    background: #dc0012;
    color: #ffffff;
}

.hcl-search-submit:active {
    transform: translateY(1px);
}

.hcl-search-submit svg {
    width: 15px;
    height: 15px;
}

.hcl-search-fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.hcl-search-field {
    display: block;
    min-width: 0;
    margin: 0 !important;
}

.hcl-search-field > span {
    display: block;
    margin: 0 0 4px 2px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hcl-search-field select {
    width: 100%;
    height: 35px;
    margin: 0 !important;
    padding: 0 31px 0 11px;
    border: 1px solid #dbe3ec;
    border-radius: 11px;
    background-color: #f8fafc;
    box-shadow: none;
    color: #1e293b;
    font-size: 12px;
    font-weight: 700;
    line-height: 35px;
    text-transform: none;
}

.hcl-search-field select:focus {
    border-color: #ef233c;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(239, 35, 60, 0.1);
    outline: none;
}

.hcl-search-quick-row {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eef2f7;
}

.hcl-search-quick-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}

.hcl-search-quick-heading > span {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hcl-search-quick-heading button,
.hcl-search-districts button {
    appearance: none;
    min-height: 0;
    margin: 0 !important;
    letter-spacing: 0;
    text-transform: none;
}

.hcl-search-quick-heading button {
    padding: 2px 3px;
    border: 0;
    background: transparent;
    color: #ef0014;
    box-shadow: none;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.hcl-search-quick-heading button:hover {
    background: transparent;
    color: #b91c1c;
}

.hcl-search-districts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hcl-search-districts button {
    height: 29px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    box-shadow: none;
    font-size: 11px;
    font-weight: 700;
    line-height: 27px;
    white-space: nowrap;
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.hcl-search-districts button:hover {
    border-color: #fecaca;
    background: #fff1f2;
    color: #dc2626;
}

.hcl-search-districts button.is-active,
.hcl-search-districts button.is-active:hover {
    border-color: #ef0014;
    background: #ef0014;
    color: #ffffff;
}

.hcl-property-save-button {
    appearance: none;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    min-height: 0;
    margin: 0 !important;
    padding: 0;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(5px);
    transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.hcl-property-save-button:hover {
    background: #ffffff;
    color: #ef0014;
    transform: translateY(-1px);
}

.hcl-property-save-button.is-active,
.hcl-property-save-button.is-active:hover {
    border-color: #f43f5e;
    background: #f43f5e;
    color: #ffffff;
}

.hcl-property-save-button svg {
    width: 18px;
    height: 18px;
}

.hcl-property-save-button.is-active svg {
    fill: currentColor;
}

body.hcl-bottom-bar-enabled {
    padding-bottom: 72px;
}

body.hcl-saved-open {
    overflow: hidden;
}

.hcl-bottom-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99990;
    height: 68px;
    border-top: 1px solid #dbe3ec;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
}

.hcl-bottom-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    width: min(480px, 100%);
    height: 100%;
    margin: 0 auto;
    padding: 5px 8px;
}

.hcl-bottom-item {
    appearance: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 56px;
    min-height: 0;
    margin: 0 !important;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 13px;
    background: transparent;
    color: #64748b;
    box-shadow: none;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.hcl-bottom-item:hover {
    background: #f8fafc;
    color: #334155;
}

.hcl-bottom-item svg {
    width: 20px;
    height: 20px;
}

.hcl-bottom-item.is-saved.is-active,
.hcl-bottom-item.is-saved:hover {
    border-color: #ffe4e6;
    background: #fff1f2;
    color: #ef0014;
}

.hcl-bottom-icon-wrap {
    position: relative;
    display: flex;
}

.hcl-bottom-count {
    position: absolute;
    top: -7px;
    right: -9px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #ef0014;
    color: #ffffff;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
}

.hcl-bottom-count[hidden] {
    display: none !important;
}

.hcl-saved-panel[hidden] {
    display: none !important;
}

.hcl-saved-panel {
    position: fixed;
    inset: 0 0 68px;
    z-index: 99980;
    overflow-x: hidden;
    overflow-y: auto;
    background: #f8fafc;
    overscroll-behavior: contain;
}

.hcl-saved-page-main {
    min-height: 65vh;
    background: #f8fafc;
}

.hcl-saved-panel.hcl-saved-page {
    position: relative;
    inset: auto;
    z-index: auto;
    min-height: 65vh;
    overflow: visible;
    background: #f8fafc;
}

.hcl-saved-panel-inner {
    width: min(1280px, 100%);
    min-height: 100%;
    margin: 0 auto;
    padding: 28px 20px 48px;
}

.hcl-saved-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #dbe3ec;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
}

.hcl-saved-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.hcl-saved-header h2 span {
    color: #f43f5e;
}

.hcl-saved-header p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
}

.hcl-saved-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.hcl-saved-header-actions > span {
    padding: 5px 11px;
    border: 1px solid #fecdd3;
    border-radius: 999px;
    background: #fff1f2;
    color: #e11d48;
    font-size: 11px;
    font-weight: 800;
}

.hcl-saved-header-actions button {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-height: 0;
    margin: 0 !important;
    padding: 0 0 2px;
    border: 0;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    box-shadow: none;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.hcl-saved-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hcl-saved-card {
    overflow: hidden;
    border: 1px solid #dbe3ec;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
}

.hcl-saved-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

.hcl-saved-card-image > a {
    display: block;
    width: 100%;
    height: 100%;
}

.hcl-saved-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hcl-saved-no-image {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}

.hcl-saved-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: flex;
    gap: 5px;
    pointer-events: none;
}

.hcl-saved-badges span {
    padding: 4px 7px;
    border-radius: 7px;
    background: #1e293b;
    color: #ffffff;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
}

.hcl-saved-badges span:nth-child(2) {
    background: #d1fae5;
    color: #047857;
}

.hcl-saved-badges .is-status.is-available {
    background: #059669;
    color: #ffffff;
}

.hcl-saved-badges .is-status.is-deposited {
    background: #facc15;
    color: #0f172a;
}

.hcl-saved-badges .is-status.is-unavailable {
    background: #dc2626;
    color: #ffffff;
}

.hcl-saved-badges .is-rent {
    background: #ef0014;
}

.hcl-saved-badges .is-sale {
    background: #059669;
}

.hcl-saved-image-count {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    padding: 4px 7px;
    border-radius: 7px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
}

.hcl-saved-card-body {
    padding: 14px;
}

.hcl-saved-price {
    margin-bottom: 7px;
    color: #ef0014;
    font-size: 17px;
    font-weight: 900;
}

.hcl-saved-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 38px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hcl-saved-location {
    margin-top: 9px;
    overflow: hidden;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hcl-saved-date {
    display: inline-flex;
    margin-top: 8px;
    padding: 5px 8px;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    font-size: 10px;
    gap: 5px;
}

.hcl-saved-date strong {
    color: #0f172a;
}

.hcl-saved-view {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin-top: 12px;
    border: 1px solid #fecaca;
    border-radius: 9px;
    background: #fff7f7;
    color: #dc2626;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.hcl-saved-empty {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-align: center;
}

.hcl-saved-empty[hidden],
.hcl-saved-grid[hidden] {
    display: none !important;
}

.hcl-saved-empty > span {
    font-size: 58px;
    line-height: 1;
}

.hcl-saved-empty strong {
    margin-top: 12px;
    color: #475569;
    font-size: 18px;
}

.hcl-saved-empty p {
    margin: 6px 0 0;
    font-size: 12px;
}

body.hcl-popup-open {
    overflow: hidden;
}

.hcl-property-popup[hidden] {
    display: none !important;
}

.hcl-property-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.hcl-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(3px);
}

.hcl-popup-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    height: min(90vh, 900px);
    max-height: 900px;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(2, 6, 23, 0.34);
    outline: none;
}

.hcl-popup-fixed-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #ffffff;
    color: #475569;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.hcl-popup-fixed-close:hover {
    background: #f1f5f9;
    color: #0f172a;
    transform: scale(1.06);
}

.hcl-popup-dialog.is-content-loaded .hcl-popup-fixed-close {
    display: none !important;
}

.hcl-popup-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    height: 100%;
    padding: 32px 20px;
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
}

.hcl-popup-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    height: 100%;
    padding: 32px 20px;
    box-sizing: border-box;
}

.hcl-popup-error-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
    padding: 24px;
}

.hcl-popup-error-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    margin-bottom: 16px;
}

.hcl-popup-error-text {
    font-size: 15px;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 22px;
    font-weight: 500;
}

.hcl-popup-error-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.hcl-error-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1;
    border: none;
}

.hcl-error-action-btn.is-retry {
    background: #2563eb;
    color: #ffffff;
}

.hcl-error-action-btn.is-retry:hover {
    background: #1d4ed8;
}

.hcl-error-action-btn.is-reload {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.hcl-error-action-btn.is-reload:hover {
    background: #e2e8f0;
}

.hcl-error-action-btn.is-close {
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.hcl-error-action-btn.is-close:hover {
    background: #f8fafc;
    color: #0f172a;
}

.hcl-popup-dialog.is-guest-lead {
    width: min(450px, 100%);
    height: auto;
    max-height: calc(100dvh - 32px);
    border-radius: 22px;
}

.hcl-popup-dialog.is-guest-lead .hcl-popup-content {
    height: auto;
}

.hcl-guest-lead-panel {
    overflow: hidden;
    border-radius: inherit;
    background: #ffffff;
    color: #0f172a;
}

.hcl-guest-lead-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 61px;
    padding: 10px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.hcl-guest-lead-header > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

.hcl-guest-lead-header > div > span {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 8px;
    background: #e60012;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.hcl-guest-lead-header strong {
    overflow: hidden;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hcl-guest-lead-header button {
    appearance: none;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-height: 0;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    box-shadow: none;
}

.hcl-guest-lead-header button svg {
    width: 20px;
    height: 20px;
}

.hcl-guest-lead-body {
    padding: 20px;
}

.hcl-guest-lead-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-bottom: 16px;
    border: 1px solid #86efac;
    border-radius: 15px;
    background: #f0fdf4;
    color: #009b3d;
}

.hcl-guest-lead-phone-icon svg {
    width: 29px;
    height: 29px;
}

.hcl-guest-lead-body h2 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.3;
}

.hcl-guest-lead-body > p {
    margin: 5px 0 15px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.hcl-guest-lead-body form {
    display: grid;
    gap: 11px;
}

.hcl-guest-lead-body input[type="tel"] {
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 0 15px;
    border: 2px solid #ff3045;
    border-radius: 15px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: none;
    font-size: 15px;
    font-weight: 700;
}

.hcl-guest-lead-body input[type="tel"]:focus {
    border-color: #e60012;
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1);
    outline: none;
}

.hcl-guest-lead-body form > button {
    appearance: none;
    width: 100%;
    height: 49px;
    min-height: 0;
    margin: 0 !important;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: #ef0014;
    color: #ffffff;
    box-shadow: none;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
}

.hcl-guest-lead-body form > button:hover {
    background: #d90012;
    color: #ffffff;
}

.hcl-guest-lead-body form > button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.hcl-guest-lead-body form > small {
    color: #94a3b8;
    font-size: 9px;
    line-height: 1.4;
    text-align: center;
}

.hcl-guest-lead-message {
    padding: 8px 10px;
    border-radius: 9px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 700;
}

.hcl-guest-lead-message[hidden] {
    display: none !important;
}

.hcl-guest-lead-message.is-success {
    background: #f0fdf4;
    color: #087a35;
}

.hcl-popup-loading,
.hcl-popup-error {
    display: flex;
    height: 100%;
    min-height: 260px;
    align-items: center;
    justify-content: center;
    padding: 32px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.hcl-popup-content {
    height: 100%;
    min-height: 0;
}

.hcl-popup-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
    color: #334155;
}

.hcl-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 61px;
    padding: 10px 16px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.hcl-popup-heading-meta,
.hcl-popup-header-actions {
    display: flex;
    align-items: center;
}

.hcl-popup-heading-meta {
    min-width: 0;
    gap: 8px;
}

.hcl-popup-code {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.hcl-popup-code.is-rent {
    background: #e60012;
}

.hcl-popup-code.is-sale {
    background: #059669;
}

.hcl-popup-type {
    overflow: hidden;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hcl-popup-header-actions {
    flex: 0 0 auto;
    gap: 7px;
}

.hcl-popup-header-actions button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 0;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    box-shadow: none;
    transition: background-color 150ms ease, color 150ms ease;
}

.hcl-popup-header-actions button:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.hcl-popup-header-actions .hcl-popup-save.is-active {
    background: #ff1744;
    color: #ffffff;
}

.hcl-popup-header-actions .hcl-popup-save.is-active:hover {
    background: #e60032;
    color: #ffffff;
}

.hcl-popup-header-actions .hcl-popup-save.is-active svg {
    fill: currentColor;
}

.hcl-popup-header-actions button svg {
    width: 19px;
    height: 19px;
}

.hcl-popup-body {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 24px;
    overscroll-behavior: contain;
}

.hcl-popup-summary {
    color: #475569;
    font-size: 14px;
    line-height: 1.58;
}

.hcl-popup-title,
.hcl-popup-id {
    margin-bottom: 5px;
}

.hcl-popup-title strong,
.hcl-popup-id strong {
    color: #1e293b;
}

.hcl-popup-title span,
.hcl-popup-id span {
    color: #dc111c;
    font-weight: 800;
}

.hcl-popup-description {
    margin-top: 14px;
}

.hcl-popup-description > :first-child {
    margin-top: 0;
}

.hcl-popup-description > :last-child {
    margin-bottom: 0;
}

.hcl-popup-description p,
.hcl-popup-description ul,
.hcl-popup-description ol {
    margin-bottom: 8px;
}

.hcl-popup-description img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.hcl-popup-share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.hcl-popup-create-zalo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 32px;
    padding: 6px 13px;
    margin: 0;
    border: 1px solid #86efac;
    border-radius: 999px;
    background: #f0fdf4;
    color: #079447;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.hcl-popup-create-zalo:hover,
.hcl-popup-create-zalo:focus-visible {
    background: #00aa4f;
    color: #fff;
}

.hcl-popup-create-zalo.is-copied {
    border: 2px solid #163c2c;
    background: #d9fbe5;
    color: #087444;
}

.hcl-popup-create-zalo:active {
    transform: translateY(1px);
}

.hcl-popup-create-zalo svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
}

.hcl-popup-download-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 32px;
    padding: 6px 13px;
    margin: 0;
    border: 1px solid #fca5a5;
    border-radius: 999px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(220, 38, 38, 0.08);
    transition: background-color .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}

.hcl-popup-download-all:hover,
.hcl-popup-download-all:focus-visible {
    background: #dc2626;
    color: #ffffff;
    border-color: #b91c1c;
}

.hcl-popup-download-all:active {
    transform: translateY(1px);
}

.hcl-popup-download-all svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
}

.hcl-popup-share-status {
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
}

.hcl-popup-share-status:not(:empty) {
    flex: 1 0 100%;
    padding: 7px 10px;
    border: 1px solid #bbf7d0;
    border-radius: 9px;
    background: #f0fdf4;
}

.hcl-popup-details {
    margin: 20px 0 0;
    border-top: 1px solid #e2e8f0;
}

.hcl-popup-details > div {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 45px;
    margin: 0;
    padding: 8px 4px;
    border-bottom: 1px solid #e8edf3;
}

.hcl-popup-details dt,
.hcl-popup-details dd {
    margin: 0;
}

.hcl-popup-details dt {
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.hcl-popup-details dd {
    min-width: 0;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.hcl-popup-details dd strong {
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
}

.hcl-popup-details dd a {
    color: #059669;
    font-weight: 800;
    text-decoration: underline;
}

.hcl-popup-property-status {
    font-weight: 800;
}

.hcl-popup-property-status.is-available {
    color: #059669;
}

.hcl-popup-property-status.is-deposited {
    color: #d97706;
}

.hcl-popup-property-status.is-unavailable {
    color: #dc2626;
}

.hcl-popup-gallery {
    position: relative;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 16px;
    background: #e2e8f0;
}

.hcl-popup-gallery-viewport {
    overflow: hidden;
}

.hcl-popup-gallery-track {
    display: flex;
    width: 100%;
    transition: transform 280ms ease;
    will-change: transform;
}

.hcl-popup-gallery-slide {
    flex: 0 0 100%;
    height: min(55vh, 520px);
    margin: 0;
}

.hcl-popup-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hcl-gallery-arrow {
    appearance: none;
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-height: 0;
    margin: 0 !important;
    padding: 0 0 3px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.76);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
}

.hcl-gallery-arrow:hover {
    background: rgba(15, 23, 42, 0.94);
    color: #ffffff;
}

.hcl-gallery-arrow.is-prev {
    left: 12px;
}

.hcl-gallery-arrow.is-next {
    right: 12px;
}

.hcl-gallery-top-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: calc(100% - 24px);
}

.hcl-gallery-download,
.hcl-gallery-download-all {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.hcl-gallery-download:hover {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.hcl-gallery-download-all {
    background: rgba(220, 38, 38, 0.92);
    border-color: rgba(255, 255, 255, 0.3);
}

.hcl-gallery-download-all:hover {
    background: #b91c1c;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.hcl-gallery-download-all.is-downloading,
.hcl-popup-download-all.is-downloading,
.hcl-single-download-all.is-downloading {
    opacity: 0.8;
    pointer-events: none;
}

.hcl-gallery-download-all.is-completed,
.hcl-popup-download-all.is-completed,
.hcl-single-download-all.is-completed {
    background: #16a34a !important;
    color: #ffffff !important;
    border-color: #15803d !important;
}

.hcl-single-heading-actions .hcl-single-download-all {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #dc2626;
}

.hcl-single-heading-actions .hcl-single-download-all:hover {
    background: #dc2626;
    color: #ffffff;
}

@media (max-width: 640px) {
    .hcl-gallery-top-actions {
        top: 8px;
        right: 8px;
        gap: 5px;
    }
    .hcl-gallery-top-actions .hcl-gallery-download,
    .hcl-gallery-top-actions .hcl-gallery-download-all {
        padding: 5px 8px;
        font-size: 10px;
        border-radius: 8px;
    }
}

.hcl-gallery-counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    padding: 5px 9px;
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.78);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.hcl-popup-redacted {
    color: #dc2626;
    font-weight: 800;
}

.hcl-popup-security {
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid #86efac;
    border-radius: 16px;
    background: #f0fdf4;
    box-shadow: 0 2px 5px rgba(22, 163, 74, 0.08);
}

.hcl-popup-security > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(100deg, #ef0014 0%, #d58514 54%, #00ad43 100%);
    color: #ffffff;
}

.hcl-popup-security > header > span {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.hcl-popup-security > header small {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.hcl-popup-security-body {
    padding: 14px 16px;
}

.hcl-popup-security-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hcl-popup-lock {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fee2e2;
    color: #ef0014;
    font-size: 20px;
    font-weight: 900;
}

.hcl-popup-security-message strong {
    display: block;
    color: #dc2626;
    font-size: 13px;
    font-weight: 900;
}

.hcl-popup-security-message p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
}

.hcl-popup-security-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin-top: 14px;
}

.hcl-popup-security-actions a,
.hcl-popup-security-actions span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    padding: 0 14px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.hcl-popup-security-actions .is-login {
    background: #00ad43;
    color: #ffffff;
}

.hcl-popup-security-actions .is-office {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
}

.hcl-popup-security.is-unlocked .hcl-popup-lock {
    background: #dcfce7;
    color: #16a34a;
}

.hcl-popup-security.is-unlocked .hcl-popup-security-message strong {
    color: #15803d;
}

.hcl-popup-related {
    margin-top: 22px;
}

.hcl-popup-related h3 {
    margin: 0 0 9px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

.hcl-popup-related ol {
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 1px solid #dbe3ec;
    border-radius: 14px;
    background: #ffffff;
    list-style: none;
}

.hcl-popup-related li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 4px;
    padding: 11px 13px;
    border-bottom: 1px solid #e8edf3;
}

.hcl-popup-related li:last-child {
    border-bottom: 0;
}

.hcl-related-number {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.hcl-popup-related li a {
    display: block;
    color: #dc111c;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

.hcl-popup-related li a:hover {
    text-decoration: underline;
}

.hcl-popup-related li p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
}

.hcl-popup-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px 16px 14px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.hcl-popup-footer > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border-radius: 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.hcl-popup-footer > a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hcl-popup-footer > a:active {
    transform: translateY(0);
}

.hcl-popup-footer svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.hcl-popup-hotline {
    background: #ef0014;
}

.hcl-popup-hotline:hover {
    background: #d90012;
    color: #ffffff;
}

.hcl-popup-zalo {
    background: #00ad43;
}

.hcl-popup-zalo:hover {
    background: #00963c;
    color: #ffffff;
}

.hcl-popup-contact-disabled {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

@media only screen and (max-width: 849px) {
    .hcl-search-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hcl-saved-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Tối ưu Header Mobile: Tránh tràn màn hình và cắt chữ nút Vai trò / Bộ lọc */
    .hcl-property-filters {
        padding: 3px;
        gap: 3px;
        border-radius: 10px;
    }

    .hcl-property-filters .hcl-filter-button {
        height: 32px;
        padding: 0 10px;
        font-size: 11.5px;
        gap: 4px;
        border-radius: 7px;
    }

    .hcl-property-filters .hcl-filter-icon {
        width: 13px;
        height: 13px;
        flex: 0 0 13px;
    }

    .hcl-role-trigger {
        height: 32px;
        padding: 0 10px;
        font-size: 11.5px;
        gap: 5px;
        border-radius: 10px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hcl-role-trigger > svg:first-child {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .hcl-role-trigger .hcl-role-chevron {
        width: 11px;
        height: 11px;
        flex-shrink: 0;
    }

    .hcl-role-trigger span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hcl-role-dropdown {
        max-width: min(260px, calc(100vw - 20px));
    }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


    .hcl-property-search {
        padding: 12px;
        border-radius: 14px;
    }

    .hcl-search-main-row {
        align-items: stretch;
    }

    .hcl-search-submit {
        padding: 0 13px;
    }

    .hcl-search-fields {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hcl-search-quick-heading {
        align-items: flex-start;
    }

    .hcl-search-districts {
        gap: 5px;
    }

    .hcl-search-districts button {
        height: 28px;
        padding: 0 10px;
        line-height: 26px;
    }

    body.hcl-bottom-bar-enabled {
        padding-bottom: 66px;
    }

    .hcl-bottom-bar {
        height: 64px;
    }

    .hcl-bottom-bar-inner {
        padding: 3px 5px;
    }

    .hcl-bottom-item {
        height: 55px;
        padding: 4px 5px;
        border-radius: 12px;
        font-size: 9px;
    }

    .hcl-bottom-item svg {
        width: 19px;
        height: 19px;
    }

    .hcl-saved-panel {
        bottom: 64px;
    }

    .hcl-saved-panel-inner {
        padding: 14px 10px 32px;
    }

    .hcl-saved-header {
        align-items: flex-start;
        margin-bottom: 12px;
        padding: 13px;
    }

    .hcl-saved-header h2 {
        font-size: 14px;
    }

    .hcl-saved-header p {
        font-size: 10px;
    }

    .hcl-saved-header-actions > span {
        padding: 4px 8px;
        font-size: 9px;
    }

    .hcl-saved-header-actions button {
        width: 28px;
        height: 28px;
    }

    .hcl-saved-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hcl-property-popup {
        align-items: flex-end;
        padding: 8px;
    }

    .hcl-popup-dialog {
        width: 100%;
        height: min(94dvh, 900px);
        border-radius: 20px;
    }

    .hcl-popup-dialog.is-guest-lead {
        align-self: center;
        height: auto;
        border-radius: 20px;
    }

    .hcl-guest-lead-body {
        padding: 18px 16px;
    }

    .hcl-guest-lead-body h2 {
        font-size: 18px;
    }

    .hcl-popup-header {
        min-height: 56px;
        padding: 9px 12px;
    }

    .hcl-popup-header-actions button {
        width: 34px;
        height: 34px;
        border-radius: 11px;
    }

    .hcl-popup-body {
        padding: 18px 16px;
    }

    .hcl-popup-details > div {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .hcl-popup-details dd strong {
        font-size: 17px;
    }

    .hcl-popup-gallery-slide {
        height: min(52vh, 430px);
    }

    .hcl-gallery-arrow {
        width: 34px;
        height: 34px;
        font-size: 26px;
    }

    .hcl-popup-security > header {
        align-items: flex-start;
        padding: 9px 11px;
    }

    .hcl-popup-security > header > span {
        font-size: 11px;
    }

    .hcl-popup-security-body {
        padding: 12px;
    }

    .hcl-popup-security-actions {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .hcl-popup-security-actions a {
        padding: 0 10px;
    }

    .hcl-popup-footer {
        padding: 9px 10px 10px;
    }

}
/* Luôn lấy phần chính giữa ảnh đại diện trong danh sách bất động sản. */
.hcl-property-card-image {
    object-position: center center !important;
}

/* Huy hiệu trạng thái BĐS trên thẻ danh sách */
.hcl-status-badge {
    display: inline-flex;
    align-items: center;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.hcl-status-badge.is-available {
    background-color: #059669 !important;
    color: #ffffff !important;
}

.hcl-status-badge.is-deposited {
    background-color: #facc15 !important;
    color: #0f172a !important;
}

.hcl-status-badge.is-unavailable {
    background-color: #dc2626 !important;
    color: #ffffff !important;
}

.hcl-status-badge.is-negotiating {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

.hcl-status-badge.is-stopped {
    background-color: #475569 !important;
    color: #ffffff !important;
}

/* Trang tài khoản mở từ bottom bar. */
.hcl-bottom-item.is-active,
.hcl-bottom-item.is-active:hover {
    border-color: #ffe4e6;
    background: #fff1f2;
    color: #ef0014;
}

.hcl-account-page-main {
    min-height: 68vh;
    background: #f6f8fb;
}

.hcl-account-page-inner {
    width: min(1240px, 100%);
    margin: 0 auto;
    padding: 22px 20px 64px;
}

.hcl-account-card {
    padding: 20px;
    border: 1px solid #dbe3ec;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.hcl-account-heading,
.hcl-account-identity,
.hcl-account-title-row,
.hcl-account-switcher,
.hcl-account-role-actions {
    display: flex;
    align-items: center;
}

.hcl-account-heading {
    justify-content: space-between;
    gap: 18px;
}

.hcl-account-identity {
    min-width: 0;
    gap: 12px;
}

.hcl-account-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #ef0014;
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(239, 0, 20, 0.18);
}

.hcl-account-icon svg {
    width: 24px;
    height: 24px;
}

.hcl-account-title-row {
    flex-wrap: wrap;
    gap: 8px;
}

.hcl-account-title-row h1 {
    margin: 0;
    color: #0f172a;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
}

.hcl-account-badge {
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 9px;
    font-weight: 900;
    line-height: 1.2;
}

.hcl-account-identity p {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

.hcl-account-identity .hcl-account-username {
    margin-top: 5px;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
}

.hcl-account-username strong {
    color: #0f172a;
    font-weight: 800;
}

.hcl-account-primary-action a,
.hcl-account-primary-action button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0 !important;
    padding: 0 17px;
    border: 0;
    border-radius: 12px;
    background: #00ad43;
    color: #ffffff;
    box-shadow: none;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
}

.hcl-account-primary-action a:hover,
.hcl-account-primary-action button:hover {
    background: #009b3d;
    color: #ffffff;
}

.hcl-account-access {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #dbe3ec;
    border-radius: 13px;
    background: #f8fafc;
}

.hcl-account-access > svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: #64748b;
}

.hcl-account-access strong {
    display: block;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.4;
}

.hcl-account-access p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
}

.hcl-account-switcher {
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.hcl-account-switcher > strong {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.hcl-account-role-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.hcl-account-role-actions a,
.hcl-account-role-actions button,
.hcl-account-role-actions span {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 29px;
    margin: 0 !important;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    box-shadow: none;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
}

.hcl-account-role-actions a:hover,
.hcl-account-role-actions button:hover,
.hcl-account-role-actions .is-active {
    background: #0f172a;
    color: #ffffff;
}

.hcl-account-card.is-specialist .hcl-account-icon {
    background: #00ad43;
    box-shadow: 0 5px 12px rgba(0, 173, 67, 0.18);
}

.hcl-account-card.is-specialist .hcl-account-badge,
.hcl-account-card.is-specialist .hcl-account-role-actions .is-active {
    background: #dcfce7;
    color: #087a35;
}

.hcl-account-card.is-specialist .hcl-account-access {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.hcl-account-card.is-admin .hcl-account-icon {
    background: #7c3aed;
    box-shadow: 0 5px 12px rgba(124, 58, 237, 0.18);
}

.hcl-account-card.is-admin .hcl-account-badge,
.hcl-account-card.is-admin .hcl-account-role-actions .is-active {
    background: #ede9fe;
    color: #6d28d9;
}

.hcl-account-card.is-admin .hcl-account-access {
    border-color: #ddd6fe;
    background: #f5f3ff;
}

/* Nút tác vụ cho Quản trị viên / Editor trên thẻ Tài khoản */
.hcl-account-admin-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hcl-account-btn-pwd {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    margin: 0 !important;
    padding: 0 15px;
    border: 1px solid #7c3aed;
    border-radius: 12px;
    background: #7c3aed;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.2);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
}

.hcl-account-btn-pwd:hover,
.hcl-account-btn-pwd.is-active {
    background: #6d28d9;
    border-color: #6d28d9;
    box-shadow: 0 4px 10px rgba(109, 40, 217, 0.28);
    transform: translateY(-1px);
}

.hcl-account-btn-logout {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0 !important;
    padding: 0 15px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569 !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    transition: all 0.18s ease;
}

.hcl-account-btn-logout:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c !important;
}

/* Khung form đổi mật khẩu */
.hcl-account-pwd-drawer {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed #cbd5e1;
    animation: hclDrawerSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hclDrawerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hcl-account-pwd-card {
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.hcl-account-pwd-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.hcl-account-pwd-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hcl-account-pwd-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ede9fe;
    color: #7c3aed;
    flex-shrink: 0;
}

.hcl-account-pwd-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.hcl-account-pwd-sub {
    margin: 2px 0 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.hcl-account-pwd-close {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    line-height: 1;
}

.hcl-account-pwd-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Thông báo phản hồi */
.hcl-account-pwd-alert {
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.hcl-account-pwd-alert.is-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.hcl-account-pwd-alert.is-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Các trường input */
.hcl-account-pwd-field {
    margin-bottom: 12px;
}

.hcl-account-pwd-field label {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.hcl-account-pwd-field label .required {
    color: #ef4444;
    font-weight: 800;
    margin-left: 2px;
}

.hcl-pwd-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.hcl-pwd-input-group input {
    width: 100%;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 42px 0 13px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 13px !important;
    box-shadow: none !important;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.hcl-pwd-input-group input:focus {
    border-color: #7c3aed !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15) !important;
    outline: none !important;
}

.hcl-pwd-toggle-btn {
    appearance: none;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.hcl-pwd-toggle-btn:hover {
    color: #475569;
    background: #f1f5f9;
}

.hcl-pwd-hint {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
}

.hcl-account-pwd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Nút Submit / Cancel */
.hcl-account-pwd-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.hcl-account-pwd-cancel-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin: 0 !important;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.hcl-account-pwd-cancel-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.hcl-account-pwd-submit-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    margin: 0 !important;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #7c3aed;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.22);
    transition: all 0.18s;
}

.hcl-account-pwd-submit-btn:hover {
    background: #6d28d9;
    box-shadow: 0 4px 10px rgba(109, 40, 217, 0.3);
}

.hcl-account-pwd-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.is-spinning {
    animation: hclSpin 0.75s linear infinite;
}

@keyframes hclSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Form nhập bất động sản ở trang tài khoản Admin. */
.hcl-property-entry {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #dbe3ec;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
}

.hcl-property-entry-header,
.hcl-property-entry-header > div {
    display: flex;
    align-items: center;
}

.hcl-property-entry-header {
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.hcl-property-entry-header > div {
    gap: 11px;
}

.hcl-property-entry-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #00ad43;
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(0, 173, 67, 0.18);
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
}

.hcl-property-entry-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
}

.hcl-property-entry-header p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 11px;
}

.hcl-property-entry-admin-badge {
    flex: 0 0 auto;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ede9fe;
    color: #6d28d9;
    font-size: 9px;
    font-weight: 900;
}

.hcl-property-entry-notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.5;
}

.hcl-property-entry-notice strong,
.hcl-property-entry-notice span {
    display: block;
}

.hcl-property-entry-notice.is-success {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.hcl-property-entry-notice.is-success a {
    color: #087a35;
    font-weight: 800;
}

.hcl-property-entry-notice.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.hcl-property-entry-grid,
.hcl-property-entry-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hcl-property-entry-form label {
    display: grid;
    align-content: start;
    gap: 6px;
    margin: 0;
}

.hcl-property-entry-form label.is-wide {
    grid-column: 1 / -1;
}

.hcl-property-entry-form label > small {
    color: #64748b;
    font-size: 9px;
    line-height: 1.4;
}

.hcl-property-entry-form label > span,
.hcl-property-entry-private legend {
    color: #334155;
    font-size: 11px;
    font-weight: 900;
}

.hcl-property-entry-form input[type="text"],
.hcl-property-entry-form input[type="tel"],
.hcl-property-entry-form input[type="number"],
.hcl-property-entry-form select,
.hcl-property-entry-form textarea {
    width: 100%;
    margin: 0;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: none;
    font-size: 12px;
    line-height: 1.5;
}

.hcl-property-entry-form input[type="text"],
.hcl-property-entry-form input[type="tel"],
.hcl-property-entry-form input[type="number"],
.hcl-property-entry-form select {
    height: 42px;
    padding: 0 12px;
}

.hcl-property-multiselect {
    position: relative;
}

.hcl-property-multiselect-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    height: 42px;
    margin: 0 !important;
    padding: 0 12px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: none;
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
}

.hcl-property-multiselect-toggle:hover,
.hcl-property-multiselect.is-open .hcl-property-multiselect-toggle {
    border-color: #00ad43;
}

.hcl-property-multiselect-toggle:focus-visible {
    border-color: #00ad43;
    box-shadow: 0 0 0 3px rgba(0, 173, 67, 0.1);
    outline: none;
}

[data-hcl-property-multiselect-label] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hcl-property-multiselect-arrow {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 17px;
    line-height: 1;
    transition: transform 160ms ease;
}

.hcl-property-multiselect.is-open .hcl-property-multiselect-arrow {
    transform: rotate(180deg);
}

.hcl-property-multiselect-options {
    position: absolute;
    z-index: 20;
    top: calc(100% + 5px);
    right: 0;
    left: 0;
    max-height: 210px;
    padding: 6px;
    overflow-y: auto;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.hcl-property-entry-form .hcl-property-multiselect-options label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 33px;
    padding: 6px 8px;
    border-radius: 7px;
    color: #334155;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.hcl-property-entry-form .hcl-property-multiselect-options label:hover {
    background: #f0fdf4;
}

.hcl-property-entry-form .hcl-property-multiselect-options label > span {
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}

.hcl-property-entry-form .hcl-property-multiselect-options input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #00ad43;
}

.hcl-property-entry-form textarea {
    min-height: 84px;
    padding: 10px 12px;
    resize: vertical;
}

.hcl-property-entry-form input:focus,
.hcl-property-entry-form select:focus,
.hcl-property-entry-form textarea:focus {
    border-color: #00ad43;
    box-shadow: 0 0 0 3px rgba(0, 173, 67, 0.1);
    outline: none;
}

.hcl-property-code-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.hcl-property-code-input-wrap input {
    width: 100%;
    padding-right: 38px !important;
}

.hcl-property-code-input-wrap input[readonly] {
    background-color: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: not-allowed;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
}

.hcl-property-code-input-wrap input[readonly]:focus {
    border-color: #94a3b8 !important;
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.2) !important;
}

.hcl-property-code-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    margin-left: 6px;
    vertical-align: middle;
}

.hcl-property-code-status-icon {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.hcl-property-code-status-icon svg {
    width: 18px;
    height: 18px;
}

.hcl-code-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-top-color: #0284c7;
    border-radius: 50%;
    animation: hcl-code-spin 0.6s linear infinite;
}

@keyframes hcl-code-spin {
    to { transform: rotate(360deg); }
}

.hcl-property-code-feedback {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
    min-height: 16px;
    transition: color 150ms ease;
}

.hcl-property-code-feedback.is-error {
    color: #dc2626;
}

.hcl-property-code-feedback.is-success {
    color: #16a34a;
}

.hcl-property-code-feedback.is-checking {
    color: #64748b;
}

.hcl-property-entry-form input.is-invalid,
.hcl-property-entry-form textarea.is-invalid {
    border-color: #ef4444 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.hcl-property-entry-form input.is-valid,
.hcl-property-entry-form textarea.is-valid {
    border-color: #22c55e !important;
    background-color: #f0fdf4 !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1) !important;
}

.hcl-property-entry-form input.is-checking,
.hcl-property-entry-form textarea.is-checking {
    border-color: #0284c7 !important;
    background-color: #f0f9ff !important;
}

.hcl-property-address-input-wrap {
    position: relative;
    width: 100%;
}

.hcl-property-address-input-wrap textarea {
    width: 100%;
    padding-right: 38px !important;
}

.hcl-property-address-status-icon {
    position: absolute;
    right: 11px;
    top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.hcl-property-address-status-icon svg {
    width: 18px;
    height: 18px;
}

.hcl-property-address-feedback {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
    min-height: 16px;
    transition: color 150ms ease;
}

.hcl-property-address-feedback.is-error {
    color: #dc2626;
}

.hcl-property-address-feedback.is-success {
    color: #16a34a;
}

.hcl-property-address-feedback.is-checking {
    color: #64748b;
}

.hcl-property-address-feedback.is-hint {
    color: #64748b;
}

.hcl-property-entry-private {
    min-width: 0;
    margin: 18px 0 0;
    padding: 15px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: #f0fdf4;
}

.hcl-property-entry-private legend {
    padding: 0 6px;
    color: #087a35;
}

.hcl-property-entry-private > p {
    margin: 0 0 12px;
    color: #4b7160;
    font-size: 10px;
}

/* Quản lý hình ảnh BĐS trong form Đăng / Sửa bài */
.hcl-property-entry-media-section {
    margin: 20px 0 0;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.hcl-property-entry-media-section legend {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 850;
}

.hcl-media-count-badge {
    padding: 3px 9px;
    border-radius: 999px;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 10px;
    font-weight: 800;
}

.hcl-media-section-desc {
    margin: 2px 0 16px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
}

.hcl-media-block {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #f1f5f9;
    border-radius: 13px;
    background: #f8fafc;
}

.hcl-media-block:last-child {
    margin-bottom: 0;
}

.hcl-media-block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.hcl-media-block-title > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #e2e8f0;
    color: #1e293b;
    font-size: 13px;
    font-weight: 900;
}

.hcl-media-featured-block .hcl-media-block-title > span {
    background: #fef3c7;
    color: #b45309;
}

.hcl-media-gallery-existing-block .hcl-media-block-title > span {
    background: #dbeafe;
    color: #1d4ed8;
}

.hcl-media-gallery-new-block .hcl-media-block-title > span {
    background: #dcfce7;
    color: #15803d;
}

.hcl-media-block-title strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
    font-weight: 850;
}

.hcl-media-block-title small {
    display: block;
    color: #64748b;
    font-size: 10px;
    margin-top: 1px;
}

/* Ảnh đại diện hiện có */
.hcl-featured-current-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.hcl-featured-img-card {
    position: relative;
    flex: 0 0 160px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: #e2e8f0;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    transition: opacity .2s ease, filter .2s ease;
}

.hcl-featured-img-card.is-removed {
    opacity: .35;
    filter: grayscale(1);
}

.hcl-featured-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hcl-featured-current-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(22, 163, 74, 0.9);
    color: #ffffff;
    font-size: 9px;
    font-weight: 850;
    backdrop-filter: blur(4px);
}

.hcl-featured-img-card.is-removed .hcl-featured-current-badge {
    background: rgba(220, 38, 38, 0.9);
}

.hcl-featured-remove-btn {
    appearance: none;
    position: absolute;
    bottom: 6px;
    right: 6px;
    padding: 4px 8px;
    border: 0;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .2s ease;
}

.hcl-featured-remove-btn:hover {
    background: #dc2626;
}

.hcl-featured-change-guide {
    flex: 1;
    min-width: 0;
}

.hcl-featured-change-guide p {
    margin: 0 0 4px;
    color: #15803d;
    font-size: 12px;
}

.hcl-featured-change-guide small {
    display: block;
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
}

.hcl-featured-empty-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
}

.hcl-empty-camera-icon {
    font-size: 24px;
}

.hcl-featured-empty-notice strong {
    display: block;
    color: #334155;
    font-size: 12px;
}

.hcl-featured-empty-notice small {
    display: block;
    color: #64748b;
    font-size: 10px;
    margin-top: 1px;
}

.hcl-media-upload-row {
    margin-top: 10px;
}

.hcl-media-upload-title {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
    font-size: 12px;
    font-weight: 800;
}

.hcl-upload-dropzone {
    position: relative;
    border: 2px dashed #93c5fd;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 18px 22px;
    cursor: pointer;
    transition: all .25s ease;
    box-sizing: border-box;
    display: block;
}

.hcl-upload-dropzone:hover {
    border-color: #2563eb;
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.hcl-upload-dropzone.is-dragover {
    border-color: #1d4ed8;
    background: #dbeafe;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
    transform: scale(1.006);
}

.hcl-upload-dropzone.has-selection {
    border-color: #86efac;
    background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 100%);
}

.hcl-custom-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
    margin: 0;
    padding: 0;
}

.hcl-dropzone-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.hcl-dropzone-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #e0e7ff;
    color: #4338ca;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(67, 56, 202, 0.12);
    transition: transform .2s ease;
}

.hcl-upload-dropzone:hover .hcl-dropzone-icon-box {
    transform: scale(1.08);
}

.hcl-dropzone-icon-box.is-gallery-icon {
    background: #dbeafe;
    color: #1d4ed8;
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.12);
}

.hcl-dropzone-info {
    flex: 1;
    min-width: 0;
}

.hcl-dropzone-action-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 5px;
}

.hcl-dropzone-btn-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 850;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    transition: all .2s ease;
}

.hcl-upload-dropzone:hover .hcl-dropzone-btn-label {
    background: #1e293b;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.28);
}

.hcl-dropzone-btn-label.is-primary {
    background: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28);
}

.hcl-upload-dropzone:hover .hcl-dropzone-btn-label.is-primary {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.38);
}

.hcl-dropzone-drag-hint {
    color: #64748b;
    font-size: 11.5px;
    font-weight: 650;
}

.hcl-dropzone-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 3px 0;
    padding: 3px 9px;
    border-radius: 6px;
    background: #e2e8f0;
    color: #475569;
    font-size: 10px;
    font-weight: 750;
    width: fit-content;
    transition: all .2s ease;
}

.hcl-dropzone-status.has-files {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-weight: 800;
}

.hcl-dropzone-sub {
    margin-top: 3px;
    color: #64748b;
    font-size: 10.5px;
    font-weight: 550;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .hcl-upload-dropzone {
        padding: 14px 16px;
    }
    .hcl-dropzone-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .hcl-dropzone-action-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

.hcl-file-live-preview {
    margin-top: 8px;
}

.hcl-live-preview-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: #f0fdf4;
}

.hcl-live-preview-card img {
    width: 44px;
    height: 34px;
    object-fit: cover;
    border-radius: 6px;
}

.hcl-live-preview-tag {
    color: #15803d;
    font-size: 10px;
    font-weight: 750;
}

/* Lưới ảnh gallery hiện có */
.hcl-existing-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
    gap: 12px;
}

.hcl-existing-gallery-item {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, filter .2s ease;
}

.hcl-existing-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.09);
}

.hcl-existing-gallery-item.is-deleted {
    opacity: .35;
    filter: grayscale(1);
    border-color: #fca5a5;
}

.hcl-existing-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e2e8f0;
}

.hcl-existing-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hcl-existing-index-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 8px;
    font-weight: 900;
}

.hcl-existing-is-featured-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(22, 163, 74, 0.9);
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
}

.hcl-existing-view-link {
    position: absolute;
    bottom: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    backdrop-filter: blur(3px);
    transition: background .2s ease;
}

.hcl-existing-view-link:hover {
    background: #0f172a;
    color: #ffffff;
}

.hcl-existing-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.hcl-existing-btn-featured {
    appearance: none;
    width: 100%;
    padding: 5px 4px;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    transition: all .2s ease;
}

.hcl-existing-btn-featured:hover {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}

.hcl-existing-btn-delete {
    appearance: none;
    width: 100%;
    padding: 5px 4px;
    border: 1px solid #fecaca;
    border-radius: 6px;
    background: #fff5f5;
    color: #dc2626;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    transition: all .2s ease;
}

.hcl-existing-btn-delete:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

.hcl-existing-deleted-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    z-index: 5;
    padding: 8px;
    text-align: center;
}

.hcl-existing-deleted-overlay > span {
    font-size: 10px;
    font-weight: 850;
    color: #fca5a5;
}

.hcl-existing-btn-undo {
    appearance: none;
    padding: 4px 10px;
    border: 0;
    border-radius: 6px;
    background: #ffffff;
    color: #0f172a;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
    transition: background .2s ease;
}

.hcl-existing-btn-undo:hover {
    background: #f1f5f9;
}

.hcl-existing-empty-notice {
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    text-align: center;
    color: #64748b;
    font-size: 11px;
}

/* Xem trước ảnh mới tải lên */
.hcl-new-gallery-preview-grid {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
}

.hcl-new-files-count-badge {
    margin-bottom: 8px;
    color: #15803d;
    font-size: 11px;
    font-weight: 850;
}

.hcl-new-files-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
}

.hcl-new-file-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.hcl-new-file-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.hcl-new-file-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    padding: 2px 5px;
    border-radius: 4px;
    background: rgba(21, 128, 61, 0.9);
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
}

.hcl-new-file-name {
    display: block;
    padding: 3px 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #475569;
    font-size: 8px;
    font-weight: 650;
}

.hcl-property-entry-submit {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 220px;
    min-height: 42px;
    margin: 20px 0 0 !important;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: #00ad43;
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(0, 173, 67, 0.18);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
}

.hcl-property-entry-submit:hover {
    background: #009b3d;
    color: #ffffff;
}

.hcl-property-entry-submit:disabled,
.hcl-property-entry-submit[data-hcl-compressing="true"] {
    opacity: 0.75 !important;
    cursor: not-allowed !important;
    background: #64748b !important;
    box-shadow: none !important;
    pointer-events: none;
}

.hcl-dropzone-status.is-processing {
    background: #fef9c3 !important;
    color: #854d0e !important;
    border: 1px solid #fde047 !important;
    animation: hclStatusPulse 1.2s infinite ease-in-out;
}

@keyframes hclStatusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hcl-status-spinner {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid #ca8a04;
    border-top-color: transparent;
    border-radius: 50%;
    animation: hclSpin .6s linear infinite;
    vertical-align: middle;
    margin-right: 4px;
}

.hcl-btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: hclSpin .6s linear infinite;
}

@keyframes hclSpin {
    to { transform: rotate(360deg); }
}

.hcl-savings-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    background: #15803d;
    color: #ffffff;
    font-size: 9px;
    font-weight: 850;
    margin-left: 5px;
    letter-spacing: 0.02em;
    vertical-align: baseline;
}

.hcl-new-file-savings {
    position: absolute;
    bottom: 4px;
    right: 4px;
    padding: 1px 4px;
    border-radius: 3px;
    background: rgba(15, 23, 42, 0.8);
    color: #4ade80;
    font-size: 7.5px;
    font-weight: 800;
    z-index: 2;
}

.hcl-property-entry-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-left: 10px;
    padding: 0 18px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.hcl-property-entry-cancel:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #0f172a;
}

/* Danh sách quản lý BĐS ở trang tài khoản Admin. */
.hcl-follow-up-reminders {
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid #fecaca;
    border-radius: 18px;
    background: #fffafa;
    box-shadow: 0 2px 5px rgba(127, 29, 29, 0.06);
}

.hcl-follow-up-header,
.hcl-follow-up-header > div,
.hcl-follow-up-item,
.hcl-follow-up-actions,
.hcl-follow-up-meta {
    display: flex;
    align-items: center;
}

.hcl-follow-up-header {
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    border-bottom: 1px solid #fee2e2;
    background: #fff1f2;
}

.hcl-follow-up-header > div {
    gap: 11px;
}

.hcl-follow-up-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #dc2626;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.hcl-follow-up-header h2 {
    margin: 0;
    color: #991b1b;
    font-size: 16px;
    font-weight: 900;
}

.hcl-follow-up-header p,
.hcl-follow-up-item-main > p,
.hcl-follow-up-empty {
    margin: 3px 0 0;
    color: #9f1239;
    font-size: 11px;
}

.hcl-follow-up-count {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
}

.hcl-follow-up-notice,
.hcl-follow-up-empty {
    padding: 14px 20px;
}

.hcl-follow-up-notice {
    margin: 14px 20px 0;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    background: #f0fdf4;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
}

.hcl-follow-up-list {
    display: grid;
}

.hcl-follow-up-item {
    justify-content: space-between;
    gap: 16px;
    padding: 15px 20px;
    border-top: 1px solid #fee2e2;
}

.hcl-follow-up-item-main {
    min-width: 0;
}

.hcl-follow-up-meta {
    flex-wrap: wrap;
    gap: 6px;
}

.hcl-follow-up-meta span {
    padding: 3px 7px;
    border-radius: 6px;
    background: #ffe4e6;
    color: #9f1239;
    font-size: 9px;
    font-weight: 900;
}

.hcl-follow-up-meta .is-overdue {
    background: #dc2626;
    color: #ffffff;
}

.hcl-follow-up-meta .is-due {
    background: #fef3c7;
    color: #92400e;
}

.hcl-follow-up-item h3 {
    margin: 7px 0 0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.35;
}

.hcl-follow-up-actions {
    flex: 0 0 auto;
    gap: 8px;
}

.hcl-follow-up-actions form {
    margin: 0;
}

.hcl-follow-up-actions a,
.hcl-follow-up-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid #fecaca;
    border-radius: 9px;
    background: #ffffff;
    color: #b91c1c;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.hcl-follow-up-actions .is-call {
    border-color: #dc2626;
    background: #dc2626;
    color: #ffffff;
}

.hcl-follow-up-actions .is-zalo {
    border-color: #0ea5e9;
    background: #f0f9ff;
    color: #0369a1;
}

.hcl-follow-up-actions button {
    cursor: pointer;
}

.hcl-property-manager {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #dbe3ec;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
}

.hcl-property-manager-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.hcl-property-manager-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 17px;
    font-weight: 900;
}

.hcl-property-manager-header p,
.hcl-property-manager-empty p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 11px;
}

.hcl-property-manager-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hcl-property-manager-header a {
    flex: 0 0 auto;
    padding: 8px 13px;
    border-radius: 10px;
    background: #00ad43;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.4;
    text-decoration: none;
    transition: all 150ms ease;
}

.hcl-property-manager-header a:hover {
    background: #009b3d;
    color: #ffffff;
}

.hcl-property-manager-header .hcl-export-btn {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    font-weight: 800;
}

.hcl-property-manager-header .hcl-export-btn:hover {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0284c7;
}

/* Tìm kiếm & Bộ lọc trong Quản lý Bất Động Sản */
.hcl-property-manager-search {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.hcl-property-manager-search-bar {
    margin-bottom: 12px;
}

.hcl-property-manager-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.hcl-manager-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hcl-manager-search-icon svg {
    width: 100%;
    height: 100%;
}

.hcl-manager-search-input {
    width: 100%;
    height: 42px;
    padding: 8px 38px 8px 40px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 150ms ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.hcl-manager-search-input:focus {
    border-color: #00ad43 !important;
    box-shadow: 0 0 0 3px rgba(0, 173, 67, 0.15) !important;
    outline: none !important;
}

.hcl-manager-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease;
}

.hcl-manager-search-clear:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.hcl-property-manager-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 10px;
    align-items: flex-end;
}

.hcl-manager-filter-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hcl-manager-filter-field label {
    margin: 0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hcl-manager-filter-field select {
    width: 100%;
    height: 38px;
    padding: 6px 10px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer;
    margin: 0 !important;
    box-sizing: border-box !important;
    transition: border-color 150ms ease;
}

.hcl-manager-filter-field select:focus {
    border-color: #00ad43 !important;
    outline: none !important;
}

.hcl-manager-filter-actions {
    display: flex;
    align-items: flex-end;
}

.hcl-manager-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 150ms ease;
    white-space: nowrap;
}

.hcl-manager-reset-btn svg {
    width: 14px;
    height: 14px;
}

.hcl-manager-reset-btn:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
    color: #0f172a;
}

.hcl-manager-reset-btn.is-centered {
    margin: 14px auto 0;
}

.hcl-property-manager-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #cbd5e1;
}

.hcl-manager-counter-wrap {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.hcl-manager-counter-wrap strong {
    color: #00ad43;
    font-weight: 800;
}

.hcl-property-manager-no-results {
    padding: 40px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    text-align: center;
}

.hcl-manager-no-results-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
}

.hcl-manager-no-results-icon svg {
    width: 24px;
    height: 24px;
}

.hcl-property-manager-no-results h4 {
    margin: 0 0 6px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 800;
}

.hcl-property-manager-no-results p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

.hcl-property-manager-list {
    display: grid;
    gap: 10px;
}

.hcl-property-manager-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 11px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #ffffff;
}

.hcl-property-manager-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 58px;
    overflow: hidden;
    border-radius: 9px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 25px;
}

.hcl-property-manager-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hcl-property-manager-info {
    min-width: 0;
}

.hcl-property-manager-info h3 {
    overflow: hidden;
    margin: 5px 0 3px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hcl-property-manager-info > p {
    margin: 0;
    color: #64748b;
    font-size: 10px;
}

.hcl-property-manager-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.hcl-property-manager-meta span {
    padding: 3px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.hcl-property-manager-meta .is-code {
    background: #e0f2fe;
    color: #0369a1;
}

.hcl-property-manager-meta .is-property-status.is-available {
    background: #dcfce7;
    color: #15803d;
}

.hcl-property-manager-meta .is-property-status.is-deposited {
    background: #fef08a;
    color: #854d0e;
}

.hcl-property-manager-meta .is-property-status.is-unavailable {
    background: #fee2e2;
    color: #dc2626;
}

.hcl-property-manager-meta .is-status.is-publish {
    background: #dcfce7;
    color: #15803d;
}

.hcl-property-manager-meta .is-status.is-draft,
.hcl-property-manager-meta .is-status.is-pending {
    background: #fef3c7;
    color: #a16207;
}

.hcl-property-manager-meta .is-district {
    background: #fef08a;
    color: #854d0e;
}

.hcl-property-manager-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hcl-property-manager-actions a {
    padding: 7px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 10px;
    font-weight: 900;
}

.hcl-property-manager-actions .is-edit {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

.hcl-property-manager-actions .is-delete {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.hcl-property-manager-empty {
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    text-align: center;
}

/* Nút Hotline và Zalo nổi với hiệu ứng sóng tỏa. */
.hcl-floating-contacts {
    position: fixed;
    inset: 0;
    z-index: 99970;
    pointer-events: none;
}

body.hcl-user-is-specialist .hcl-floating-contacts {
    display: none !important;
}

.hcl-floating-contact {
    position: fixed;
    bottom: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.24);
    pointer-events: auto;
    text-decoration: none;
    transition: transform 180ms ease, filter 180ms ease;
}

.hcl-floating-contact::before,
.hcl-floating-contact::after {
    position: absolute;
    inset: -4px;
    z-index: -1;
    border: 2px solid currentColor;
    border-radius: inherit;
    content: "";
    opacity: 0;
    animation: hcl-contact-wave 2.2s ease-out infinite;
}

.hcl-floating-contact::after {
    animation-delay: 1.1s;
}

.hcl-floating-contact:hover {
    color: #ffffff;
    filter: brightness(1.05);
    transform: translateY(-2px) scale(1.04);
}

.hcl-floating-contact.is-hotline {
    left: clamp(16px, 4vw, 64px);
    background: #f31940;
}

.hcl-floating-contact.is-hotline::before,
.hcl-floating-contact.is-hotline::after {
    border-color: rgba(243, 25, 64, 0.55);
}

.hcl-floating-contact.is-hotline svg {
    width: 29px;
    height: 29px;
}

.hcl-floating-contact.is-zalo {
    right: clamp(16px, 4vw, 64px);
    background: #08a4e6;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.hcl-floating-contact.is-zalo::before,
.hcl-floating-contact.is-zalo::after {
    border-color: rgba(8, 164, 230, 0.55);
}

.hcl-popup-footer.has-one-contact > a {
    grid-column: 1 / -1;
}

@keyframes hcl-contact-wave {
    0% {
        opacity: 0.42;
        transform: scale(1);
    }
    75%,
    100% {
        opacity: 0;
        transform: scale(1.85);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hcl-floating-contact::before,
    .hcl-floating-contact::after {
        animation: none;
    }
}

@media only screen and (max-width: 48em) {
    .hcl-account-page-inner {
        padding: 14px 10px 36px;
    }

    .hcl-account-card {
        padding: 14px;
        border-radius: 15px;
    }

    .hcl-account-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .hcl-account-primary-action,
    .hcl-account-primary-action a,
    .hcl-account-primary-action button {
        width: 100%;
    }

    .hcl-account-admin-actions {
        display: flex;
        gap: 8px;
        width: 100%;
    }

    .hcl-account-admin-actions .hcl-account-btn-pwd,
    .hcl-account-admin-actions .hcl-account-btn-logout {
        flex: 1;
        min-width: 0;
    }

    .hcl-account-pwd-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hcl-account-pwd-card {
        padding: 14px;
    }

    .hcl-account-pwd-actions {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .hcl-account-pwd-actions button {
        width: 100%;
    }

    .hcl-account-switcher {
        align-items: flex-start;
        flex-direction: column;
    }

    .hcl-account-role-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .hcl-follow-up-header,
    .hcl-follow-up-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .hcl-follow-up-count,
    .hcl-follow-up-actions,
    .hcl-follow-up-actions a,
    .hcl-follow-up-actions form,
    .hcl-follow-up-actions button {
        width: 100%;
    }

    .hcl-follow-up-actions {
        justify-content: stretch;
    }

    .hcl-property-entry {
        padding: 14px;
        border-radius: 15px;
    }

    .hcl-property-entry-header {
        align-items: flex-start;
    }

    .hcl-property-entry-grid,
    .hcl-property-entry-media {
        grid-template-columns: 1fr;
    }

    .hcl-property-entry-form label.is-wide {
        grid-column: auto;
    }

    .hcl-property-entry-submit {
        width: 100%;
    }

    .hcl-property-entry-cancel {
        width: 100%;
        margin: 9px 0 0;
    }

    .hcl-property-manager {
        padding: 14px;
        border-radius: 15px;
    }

    .hcl-property-manager-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .hcl-property-manager-header-actions {
        width: 100%;
    }

    .hcl-property-manager-header-actions a,
    .hcl-property-manager-header > a {
        flex: 1 1 auto;
        width: 100%;
        text-align: center;
    }

    .hcl-property-manager-filters {
        grid-template-columns: 1fr 1fr;
    }

    .hcl-manager-filter-actions {
        grid-column: 1 / -1;
    }

    .hcl-manager-reset-btn {
        width: 100%;
    }

    .hcl-property-manager-item {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .hcl-property-manager-thumb {
        width: 64px;
        height: 58px;
    }

    .hcl-property-manager-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .hcl-property-manager-actions a {
        flex: 1 1 auto;
        text-align: center;
    }

    .hcl-floating-contact {
        bottom: 78px;
        width: 50px;
        height: 50px;
    }

    .hcl-floating-contact.is-hotline svg {
        width: 24px;
        height: 24px;
    }

    .hcl-floating-contact.is-zalo {
        font-size: 15px;
    }
}

.hcl-report-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    border-radius: inherit;
}

[data-hcl-report-panel][hidden] {
    display: none !important;
}

/* ==========================================================================
   Phân trang trong Quản Lý Bất Động Sản (Admin Property Manager Pagination)
   ========================================================================== */
.hcl-manager-pagination-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.hcl-manager-pagination-wrap[hidden] {
    display: none !important;
}

.hcl-manager-pagination-info {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.hcl-manager-pagination-info strong {
    color: #0f172a;
    font-weight: 700;
}

.hcl-manager-pagination-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hcl-mgr-page-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.hcl-mgr-page-btn:hover:not(:disabled):not(.is-disabled) {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.hcl-mgr-page-btn:disabled,
.hcl-mgr-page-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.hcl-mgr-page-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hcl-mgr-page-num {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.hcl-mgr-page-num:hover:not(.is-active) {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.hcl-mgr-page-num.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

.hcl-mgr-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 38px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 640px) {
    .hcl-manager-pagination-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px;
        text-align: center;
    }

    .hcl-manager-pagination-nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hcl-mgr-page-btn {
        min-height: 36px;
        padding: 0 10px;
        font-size: 12px;
    }

    .hcl-mgr-page-num {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
}

/* ==========================================================================
   HCL VISIT REPORTS SECTION (ĐẦU CHỦ & ADMIN)
   ========================================================================== */

/* Thẻ điều hướng nhanh trên trang tài khoản */
.hcl-account-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}

.hcl-quick-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.hcl-quick-nav-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}

.hcl-quick-nav-pill.is-reports {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.hcl-quick-nav-pill.is-reports:hover {
    background: #dbeafe;
    color: #1e40af;
}

.hcl-quick-nav-pill.is-primary {
    background: #047857;
    color: #ffffff;
    border-color: #059669;
}

.hcl-quick-nav-pill.is-primary:hover {
    background: #065f46;
    color: #ffffff;
}

.hcl-quick-nav-badge {
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 999px;
    line-height: 1.4;
}

/* Badge số lượt dẫn khách trong danh sách BĐS */
.hcl-property-manager-meta .is-vr-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
}

.hcl-property-manager-meta .is-vr-count:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* Section Header Badges */
.hcl-vr-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.hcl-vr-stat-pill strong {
    color: #0f172a;
    font-weight: 700;
}

.hcl-vr-stat-pill.is-highlight {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.hcl-vr-stat-pill.is-highlight strong {
    color: #b91c1c;
}

/* Lưới thống kê báo cáo */
.hcl-vr-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.hcl-vr-stat-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hcl-vr-stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.hcl-vr-stat-num {
    font-size: 24px;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1.2;
    margin-bottom: 4px;
}

.hcl-vr-stat-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Tóm tắt bộ lọc */
.hcl-vr-counter-summary {
    font-size: 13px;
    color: #64748b;
    margin: 12px 0 16px 0;
    padding-left: 2px;
}

.hcl-vr-counter-summary strong {
    color: #0f172a;
}

/* Danh sách báo cáo */
.hcl-vr-list {
    display: grid;
    gap: 14px;
}

/* Thẻ báo cáo dẫn khách */
.hcl-vr-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.hcl-vr-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* Thumbnail */
.hcl-vr-thumb-container {
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
}

.hcl-vr-thumb-btn {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: zoom-in;
}

.hcl-vr-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hcl-vr-thumb-btn:hover img {
    transform: scale(1.05);
}

.hcl-vr-thumb-zoom-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    padding: 3px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    transition: background 0.2s ease;
}

.hcl-vr-thumb-btn:hover .hcl-vr-thumb-zoom-badge {
    background: #2563eb;
}

.hcl-vr-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #94a3b8;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
}

/* Nội dung thẻ */
.hcl-vr-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hcl-vr-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.hcl-vr-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hcl-vr-badge-code {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

.hcl-vr-badge-type {
    background: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.hcl-vr-time-ago {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
}

.hcl-vr-title {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.hcl-vr-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.hcl-vr-title a:hover {
    color: #2563eb;
}

/* Grid thông tin */
.hcl-vr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px 16px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 10px;
    border: 1px solid #f1f5f9;
}

.hcl-vr-grid-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
}

.hcl-vr-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hcl-vr-val {
    color: #1e293b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hcl-vr-phone-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.hcl-vr-phone-link:hover {
    text-decoration: underline;
}

.hcl-vr-owner-tag {
    background: #fef3c7;
    color: #92400e;
    padding: 1px 7px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
}

/* Mục đích */
.hcl-vr-purpose {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.4;
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    padding: 6px 10px;
    border-radius: 0 6px 6px 0;
}

.hcl-vr-purpose-label {
    font-weight: 700;
    color: #b45309;
    margin-right: 4px;
}

.hcl-vr-purpose-text {
    color: #78350f;
}

/* Card footer */
.hcl-vr-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
}

.hcl-vr-sent-date {
    color: #94a3b8;
}

.hcl-vr-btn-view-prop {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.15s ease;
}

.hcl-vr-btn-view-prop:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Lightbox Modal */
.hcl-vr-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.hcl-vr-lightbox-modal[hidden] {
    display: none !important;
}

.hcl-vr-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
}

.hcl-vr-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.hcl-vr-lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: rgba(30, 41, 59, 0.9);
    color: #f8fafc;
    font-size: 13.5px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hcl-vr-lightbox-dl-btn {
    color: #38bdf8;
    font-size: 12.5px;
    text-decoration: none;
    margin-right: 32px;
}

.hcl-vr-lightbox-dl-btn:hover {
    text-decoration: underline;
}

.hcl-vr-lightbox-close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.hcl-vr-lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.hcl-vr-lightbox-body {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: calc(90vh - 60px);
    overflow: auto;
}

.hcl-vr-lightbox-body img {
    max-width: 100%;
    max-height: calc(90vh - 80px);
    object-fit: contain;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .hcl-vr-card {
        grid-template-columns: 1fr;
    }

    .hcl-vr-thumb-container {
        width: 100%;
        height: 180px;
    }

    .hcl-vr-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hcl-vr-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Bình luận trên trang chi tiết bất động sản */
.hcl-single-comments .hcl-single-section-title {
    margin-bottom: 16px;
}

.hcl-comment-list .comment-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hcl-comment-list .comment {
    margin: 0 0 12px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.hcl-comment-list .comment:last-child {
    margin-bottom: 0;
}

.hcl-comment-list .comment-body {
    position: relative;
}

.hcl-comment-list .comment-author {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
}

.hcl-comment-list .comment-author .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.hcl-comment-list .comment-author .fn {
    color: #0f172a;
    font-size: 12px;
    font-weight: 850;
}

.hcl-comment-list .comment-author .says {
    color: #94a3b8;
    font-size: 10px;
}

.hcl-comment-list .comment-metadata {
    margin: 4px 0 0 49px;
    color: #94a3b8;
    font-size: 10px;
}

.hcl-comment-list .comment-metadata a {
    color: inherit;
}

.hcl-comment-list .comment-content {
    margin: 11px 0 0 49px;
    color: #475569;
    font-size: 12px;
    line-height: 1.65;
}

.hcl-comment-list .comment-content > :last-child {
    margin-bottom: 0;
}

.hcl-comment-list .reply {
    margin: 10px 0 0 49px;
}

.hcl-comment-list .comment-reply-link {
    color: #dc2626;
    font-size: 10px;
    font-weight: 850;
}

.hcl-comment-list .children {
    margin: 12px 0 0 28px;
    padding: 0;
    list-style: none;
}

.hcl-comments-empty,
.hcl-comments-closed {
    margin: 0 0 16px;
    padding: 13px 14px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

.hcl-comment-form-wrap {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.hcl-comment-form .comment-reply-title {
    margin: 0 0 13px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

.hcl-comment-form .comment-notes {
    margin: 0 0 13px;
    color: #64748b;
    font-size: 10px;
}

.hcl-comment-form .comment-form-author,
.hcl-comment-form .comment-form-phone,
.hcl-comment-form .comment-form-comment {
    display: grid;
    gap: 6px;
    margin: 0 0 12px;
}

.hcl-comment-form .comment-form-author,
.hcl-comment-form .comment-form-phone {
    display: inline-grid;
    width: calc(50% - 7px);
    vertical-align: top;
}

.hcl-comment-form .comment-form-author {
    margin-right: 10px;
}

.hcl-comment-form label {
    color: #334155;
    font-size: 10px;
    font-weight: 850;
}

.hcl-comment-form .required {
    color: #dc2626;
}

.hcl-comment-form input,
.hcl-comment-form textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    color: #0f172a;
    font-size: 12px;
    line-height: 1.45;
}

.hcl-comment-form input {
    min-height: 40px;
    padding: 8px 10px;
}

.hcl-comment-form textarea {
    min-height: 105px;
    padding: 10px;
    resize: vertical;
}

.hcl-comment-form input:focus,
.hcl-comment-form textarea:focus {
    border-color: #dc2626;
    outline: 2px solid rgba(220, 38, 38, .14);
    outline-offset: 1px;
}

.hcl-comment-form .form-submit {
    margin: 0;
}

.hcl-comment-form .hcl-comment-submit {
    min-height: 40px;
    margin: 0;
    padding: 8px 16px;
    border: 0;
    border-radius: 9px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.hcl-comment-form .hcl-comment-submit:hover {
    background: #b91c1c;
}

@media (max-width: 549px) {
    .hcl-comment-list .comment-content,
    .hcl-comment-list .comment-metadata,
    .hcl-comment-list .reply {
        margin-left: 0;
    }

    .hcl-comment-list .comment-content {
        margin-top: 10px;
    }

    .hcl-comment-list .children {
        margin-left: 12px;
    }

    .hcl-comment-form .comment-form-author,
    .hcl-comment-form .comment-form-phone {
        display: grid;
        width: 100%;
        margin-right: 0;
    }
}


