:root {
    --page-bg: #f3f4f6;
    --card-bg: #ffffff;
    --text-main: #111111;
    --text-muted: #5b5b5b;
    --border-soft: rgba(17, 17, 17, 0.08);
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
    --premium-accent: #0f766e;
    --featured-accent: #b45309;
    --featured-glow: rgba(244, 158, 36, 0.28);
}

.app-body {
    background: var(--page-bg);
    font-family: 'Inter', sans-serif;
    padding: 10px 18px 24px;
    color: var(--text-main);
}

.app-nav {
    margin-bottom: 14px;
}

.brand-link,
.secondary-nav-link {
    color: inherit;
    text-decoration: none;
}

.nav-actions {
    position: relative;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.secondary-nav-link {
    font-weight: 600;
}

.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.user-menu-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.user-menu-toggle .right {
    color: var(--text-main);
}

.user-menu-chevron {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.user-menu.is-open .user-menu-chevron {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    padding: 8px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 20;
}

.user-menu.is-open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-link {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
}

.user-dropdown-link:hover {
    background: #f6f7f9;
}

.user-dropdown-link-danger {
    color: #b42318;
}

.page-shell {
    max-width: 1560px;
    margin: 0 auto;
}

.page-panel {
    background: var(--card-bg);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.admin-login-body {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 32px 18px;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.34), transparent 34%),
        linear-gradient(115deg, rgba(15, 23, 42, 0.84), rgba(15, 118, 110, 0.42)),
        url('../farm-5836815_1920.jpg') center/cover no-repeat;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
}

.admin-login-shell {
    width: min(100%, 1040px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 34px 90px rgba(2, 6, 23, 0.38);
    backdrop-filter: blur(16px);
}

.admin-login-shell::before {
    content: "Admin Control Center";
    display: flex;
    align-items: end;
    min-height: 560px;
    padding: 40px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, transparent 32%, rgba(15, 23, 42, 0.34));
    text-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.admin-login-panel {
    width: 100%;
    padding: 40px;
    background: rgba(255, 255, 255, 0.97);
}

.admin-login-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 34px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #0f172a;
}

.admin-login-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.admin-login-kicker {
    margin: 0 0 8px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-login-panel h1 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #0f172a;
    font-size: 34px;
    line-height: 1.05;
}

.admin-login-copy {
    margin: 10px 0 22px;
    color: #64748b;
    line-height: 1.55;
}

.admin-login-error {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 700;
}

.admin-login-form {
    display: grid;
    gap: 14px;
}

.admin-login-field {
    display: grid;
    gap: 8px;
}

.admin-login-form label {
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.admin-login-form input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    font: inherit;
    background: #f8fafc;
    color: #0f172a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-login-form input::placeholder {
    color: #94a3b8;
}

.admin-login-form input:focus {
    border-color: #0f766e;
    background: #fff;
    outline: 3px solid rgba(15, 118, 110, 0.16);
}

.admin-login-form button {
    min-height: 54px;
    margin-top: 8px;
    border: 0;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-login-form button:hover {
    transform: translateY(-1px);
    background: #111827;
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.26);
}

.admin-login-support {
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 780px) {
    .admin-login-shell {
        grid-template-columns: 1fr;
    }

    .admin-login-shell::before {
        min-height: 170px;
        padding: 26px;
        font-size: 38px;
    }

    .admin-login-panel {
        padding: 28px 22px;
    }

    .admin-login-brand {
        margin-bottom: 24px;
    }
}

.page-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.page-heading h1,
.page-heading h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 8px;
}

.page-heading p,
.page-subtext {
    color: var(--text-muted);
}

.flash-message,
.form-alert {
    max-width: 1560px;
    margin: 0 auto 14px;
    padding: 14px 18px;
    border-radius: 16px;
    font-weight: 600;
}

.flash-success,
.form-alert.success {
    background: rgba(32, 126, 84, 0.12);
    color: #11613d;
}

.flash-error,
.form-alert.error {
    background: rgba(193, 39, 45, 0.12);
    color: #9d1f24;
}

.plan-grid,
.results-grid,
.detail-grid,
.media-grid {
    display: grid;
    gap: 18px;
}

.plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.plan-card,
.result-card,
.detail-card,
.media-card {
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.plan-card {
    position: relative;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.plan-card h3,
.result-card h3,
.detail-card h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

.plan-card ul,
.detail-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    color: var(--text-muted);
}

.plan-card li,
.detail-list li {
    margin-bottom: 10px;
}

.btn-dark,
.btn-outline {
    background: #fff;
    color: #111;
}

#submit-listing-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 700;
    color: #F5F0E8;
    background: linear-gradient(135deg, #0a4a30 0%, #013220 100%);
    border: none;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(1, 50, 32, 0.3);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#submit-listing-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(1, 50, 32, 0.4);
}

#submit-listing-btn:active {
    transform: translateY(0);
}

.btn-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}

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


.full-width {
    grid-column: 1 / -1;
}

.btn-dark {
    background: #111;
    color: #fff;
}

.btn-outline {
    background: #fff;
    color: #111;
}


.full-width {
    grid-column: 1 / -1;
}

.field-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.field-group {
    min-width: 0;
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 16px;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 0.96rem;
    background: #fff;
}

.field-group textarea {
    min-height: 130px;
    resize: vertical;
}

.helper-text {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.subscription-status-card,
.info-card {
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: #fafafa;
    padding: 18px;
}

.subscription-status-card {
    min-width: 250px;
}

.subscription-status-card p,
.info-card p {
    color: var(--text-muted);
    margin-top: 10px;
}

.subscription-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.plan-topline,
.plan-metric-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.plan-topline {
    margin-bottom: 16px;
}

.plan-metric-row {
    margin: 18px 0;
}

.plan-metric {
    flex: 1 1 110px;
    min-width: 110px;
    padding: 14px;
    border-radius: 16px;
    background: #f7f7f7;
}

.plan-metric strong,
.plan-metric span {
    display: block;
}

.plan-metric span {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.plan-section h4 {
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

.plan-section-muted {
    padding-top: 4px;
    border-top: 1px solid var(--border-soft);
}

.plan-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--premium-accent);
    font-size: 0.8rem;
    font-weight: 700;
}

.plan-kicker-strong {
    background: rgba(180, 83, 9, 0.12);
    color: var(--featured-accent);
}

.plan-cta {
    width: 100%;
    margin-top: 12px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.preview-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f4f4f4;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.preview-item video {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: #111;
}

.preview-placeholder {
    padding: 16px;
    text-align: center;
}

.media-preview-item {
    align-items: stretch;
    justify-content: stretch;
}

.media-preview-item img,
.media-preview-item video {
    width: 100%;
    height: 180px;
}

.preview-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid rgba(17, 17, 17, 0.18);
    background: rgba(255, 255, 255, 0.94);
    color: #111;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.preview-remove-btn:hover {
    background: #111;
    color: #fff;
}

.preview-grid-video {
    grid-template-columns: 1fr;
}

.document-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.document-upload-item {
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 12px;
    background: #fafafa;
}

.document-meta {
    margin-top: 10px;
}

.document-meta-card {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.document-meta-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    word-break: break-word;
}

.document-meta-size {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.document-remove-btn {
    border: 1px solid rgba(17, 17, 17, 0.2);
    background: #fff;
    color: #111;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.document-remove-btn:hover {
    background: #111;
    color: #fff;
}

.document-error {
    margin-top: 12px;
    margin-bottom: 0;
}

.upload-progress {
    width: 100%;
    height: 10px;
    margin-top: 12px;
    background: #ececec;
    border-radius: 999px;
    overflow: hidden;
}

.upload-progress-bar {
    height: 100%;
    width: 0;
    background: #111;
    transition: width 0.12s linear;
}

.results-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.result-card {
    padding: 0;
    overflow: hidden;
}

.result-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.result-content {
    padding: 18px;
}

.result-meta,
.detail-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 12px 0;
}

.detail-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    align-items: start;
}

.media-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.media-card {
    padding: 0;
    overflow: hidden;
}

.media-card img {
    width: 100%;
    height: 240px;
    display: block;
    object-fit: cover;
}

.media-card video,
.video-frame iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    object-fit: contain;
    border: 0;
    background: #000;
}

.property-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.property-panel {
    display: grid;
    gap: 22px;
}

.property-panel .detail-card {
    border-radius: 12px;
    padding: 18px;
}

.property-gallery {
    display: grid;
    gap: 14px;
}

.property-main-media {
    border-radius: 24px;
    overflow: hidden;
    background: #eef2f7;
    border: 1px solid var(--border-soft);
}

.property-main-image,
.property-main-placeholder {
    width: 100%;
    height: min(56vw, 520px);
    display: block;
}

.property-main-image {
    object-fit: cover;
    transition: transform 0.45s ease;
}

.property-main-media:hover .property-main-image {
    transform: scale(1.035);
}

.property-main-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.property-thumb-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
}

.property-thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.property-thumb:hover,
.property-thumb.is-active {
    transform: translateY(-2px);
    border-color: #111;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.property-thumb img {
    width: 100%;
    height: 94px;
    object-fit: cover;
    display: block;
}

.property-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.property-heading-main {
    max-width: 72%;
}

.property-heading-main h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-top: 10px;
    margin-bottom: 8px;
    line-height: 1.05;
}

.property-heading-main p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.property-price-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    text-align: right;
}

.property-action-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
}

.property-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.property-badge-row .seller-type-owner,
.seller-type-choice .seller-type-owner {
    background: #013220;
    color: #fff;
}

.property-badge-row .seller-type-broker,
.seller-type-choice .seller-type-broker {
    background: #C9A84C;
    color: #013220;
}

.property-status-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f5f7fa;
    border: 1px solid var(--border-soft);
    font-size: 0.85rem;
    font-weight: 700;
}

.property-section {
    display: grid;
    gap: 16px;
}

.section-heading {
    display: grid;
    gap: 6px;
}

.section-heading h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
}

.section-heading p,
.empty-copy {
    color: var(--text-muted);
}

.key-details-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

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

.key-detail-card {
    padding: 18px;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.key-detail-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.key-detail-card strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.property-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 18px;
    align-items: start;
}

.property-map-section {
    grid-column: 1 / -1;
}

.listing-map-container {
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: #eef2f7;
}

.property-map-wrap {
    margin-top: 12px;
}

.property-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .property-content-grid {
        grid-template-columns: 1fr;
    }
    
    .property-map-section {
        grid-column: 1;
    }
    
    .listing-map-container {
        height: 300px;
    }
}

@media (max-width: 640px) {
    .listing-map-container {
        height: 260px;
    }
}

.property-main-content {
    display: grid;
    gap: 18px;
    align-content: start;
}

.property-side-stack {
    display: grid;
    gap: 18px;
}

.property-rich-text {
    color: #313131;
    line-height: 1.8;
}

.property-actions-card {
    display: grid;
    gap: 12px;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.property-actions-card .btn-dark,
.property-actions-card .btn-outline {
    width: 100%;
}
.inline-action-form {
    margin: 0;
    justify-self: end;
}

.listing-action-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(180, 35, 24, 0.14);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(180, 35, 24, 0.06) 0%, rgba(180, 35, 24, 0.12) 100%);
    color: #b42318;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(180, 35, 24, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.listing-action-icon:hover {
    transform: translateY(-1px);
    border-color: rgba(180, 35, 24, 0.24);
    background: linear-gradient(180deg, rgba(180, 35, 24, 0.12) 0%, rgba(180, 35, 24, 0.18) 100%);
    box-shadow: 0 12px 24px rgba(180, 35, 24, 0.14);
}

.listing-action-icon:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12), 0 12px 24px rgba(180, 35, 24, 0.14);
}

.listing-view-btn {
    justify-self: start;
}

.contact-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-sm {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.84rem;
}

.btn-outline.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.document-verification-list {
    display: grid;
    gap: 10px;
}

.document-verification-item {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: #fafafa;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.document-verification-meta {
    display: grid;
    gap: 6px;
}

.document-title {
    margin: 0;
    font-weight: 600;
}

.document-status {
    font-size: 0.82rem;
    font-weight: 600;
}

.document-status.is-available {
    color: #0f766e;
}

.document-status.is-missing {
    color: #9d1f24;
}

.document-verification-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.document-not-available {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.property-main-media {
    position: relative;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.72);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

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

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


@media (max-width: 640px) {
    .listing-actions {
        grid-template-columns: 1fr auto;
        gap: 10px;
    }

    .listing-action-icon {
        width: 40px;
        height: 40px;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.badge-basic {
    background: #111;
}

.badge-premium {
    background: var(--premium-accent);
}

.badge-featured {
    background: linear-gradient(135deg, #d97706, #92400e);
}

.seller-type-choice {
    display: grid;
    gap: 22px;
}

.seller-type-choice-heading {
    display: grid;
    gap: 8px;
}

.seller-type-choice-heading h2,
.broker-fieldset-heading h2 {
    margin: 0;
    color: var(--ink, #111827);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
}

.seller-type-choice-heading p,
.broker-fieldset-heading p {
    margin: 0;
    color: var(--muted, #667085);
}

.seller-type-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.seller-type-option {
    display: grid;
    gap: 8px;
    min-height: 140px;
    padding: 22px;
    border: 1px solid var(--border-soft, #d8dde6);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.seller-type-option:hover,
.seller-type-option:focus-visible {
    transform: translateY(-2px);
    border-color: #C9A84C;
    box-shadow: 0 16px 36px rgba(1, 50, 32, 0.12);
    outline: none;
}

.seller-type-option strong {
    color: #013220;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
}

.seller-type-option span {
    color: var(--muted, #667085);
    line-height: 1.55;
}

.broker-fieldset {
    padding-top: 8px;
}

.broker-fieldset-heading {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(201, 168, 76, 0.45);
    border-radius: 8px;
    background: #fffaf0;
}

.plan-premium {
    border-color: rgba(15, 118, 110, 0.18);
}

.plan-featured {
    border-color: rgba(180, 83, 9, 0.28);
    box-shadow: 0 20px 45px var(--featured-glow);
    background: linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
}

.empty-state {
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border-soft);
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 900px) {
    .app-body {
        padding: 10px 12px 18px;
    }

    .page-panel {
        padding: 20px;
    }

    .page-heading {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .page-heading > div:last-child {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .form-grid,
    .detail-grid,
    .subscription-info-grid,
    .property-content-grid,
    .key-details-grid {
        grid-template-columns: 1fr;
    }

    .property-heading {
        flex-direction: column;
    }

    .property-heading-main {
        max-width: 100%;
    }

    .property-price-box {
        text-align: left;
    }

    .quick-info-grid {
        grid-template-columns: 1fr;
    }

    .property-video-frame iframe,
    .property-video-frame video {
        aspect-ratio: 16 / 9;
        height: auto;
        min-height: 0;
        max-height: 200px;
    }
}

@media (max-width: 768px) {
    .page-heading {
        gap: 10px;
    }

    .map-page-panel {
        padding: 20px;
    }

    .map-button {
        padding: 0 12px;
        min-height: 40px;
    }

    .public-listings-map {
        min-height: 480px;
    }

    .property-panel {
        gap: 16px;
    }

    .property-panel .detail-card {
        padding: 14px;
    }

    .key-detail-card {
        padding: 14px;
    }

    .property-heading-main h1 {
        font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    }

    .property-price {
        font-size: 1.5rem;
    }

    .property-gallery {
        gap: 10px;
    }

    .property-main-image,
    .property-main-placeholder {
        height: min(50vw, 380px);
    }
}

@media (max-width: 640px) {
    .app-body {
        padding: 8px 10px 16px;
    }

    .page-panel {
        padding: 16px;
        border-radius: 18px;
    }

    .subscription-info-grid {
        gap: 12px;
        margin-bottom: 16px;
    }

    .info-card {
        padding: 14px;
        border-radius: 14px;
    }

    .listing-form {
        gap: 14px;
    }

    .form-grid {
        gap: 12px;
    }

    .field-group input,
    .field-group select,
    .field-group textarea {
        padding: 12px 14px;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    .field-group textarea {
        min-height: 110px;
    }

    .helper-text {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .preview-item,
    .preview-item img {
        min-height: 104px;
        height: 104px;
    }

    .document-upload-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .document-upload-item {
        padding: 10px;
        border-radius: 12px;
    }

    .document-meta-card {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
        align-items: center;
    }

    .document-meta-name {
        font-size: 0.86rem;
    }

    .document-meta-size {
        font-size: 0.8rem;
    }

    .document-remove-btn {
        justify-self: end;
        padding: 5px 10px;
        font-size: 0.76rem;
    }

    .btn-outline,
    .btn-dark {
        min-height: 42px;
    }

    #publish-listing-btn {
        width: 100%;
    }

    .page-heading {
        margin-bottom: 18px;
    }

    .page-heading h1,
    .page-heading h2 {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .page-subtext,
    .page-heading p {
        font-size: 0.94rem;
        line-height: 1.5;
    }

    .property-price {
        font-size: 1.5rem;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .media-card img {
        height: 220px;
    }

    .media-card video,
    .video-frame iframe {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .detail-card {
        padding: 18px;
        border-radius: 18px;
    }

    .detail-meta {
        gap: 8px;
        margin: 10px 0 14px;
        font-size: 0.88rem;
    }

    .detail-list li {
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .btn-outline,
    .btn-dark {
        min-height: 40px;
        padding: 0 16px;
    }

    .user-menu {
        width: 100%;
    }

    .user-menu-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .user-dropdown {
        left: 0;
        right: 0;
        min-width: 0;
    }

    .property-main-image,
    .property-main-placeholder {
        height: 260px;
    }

    .property-thumb-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .property-thumb img {
        height: 74px;
    }

    .document-verification-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .document-verification-actions {
        width: 100%;
        display: flex;
        gap: 8px;
    }

    .document-verification-actions .btn-sm {
        flex: 1;
        text-align: center;
    }

    .gallery-arrow {
        width: 34px;
        height: 34px;
    }

    .property-panel {
        gap: 14px;
    }

    .property-panel .detail-card {
        padding: 14px;
        border-radius: 10px;
    }

    .property-heading-main h1 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        margin-top: 6px;
    }

    .property-price-box {
        align-items: flex-start;
    }

    .key-detail-card {
        padding: 14px;
        border-radius: 14px;
    }

    .property-content-grid {
        gap: 14px;
    }

    .property-main-content {
        gap: 14px;
    }

    .property-side-stack {
        gap: 14px;
    }

    .section-heading h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 420px) {
    .page-panel {
        padding: 14px;
    }

    .app-body {
        padding: 6px 8px 14px;
    }

    .page-heading h1,
    .page-heading h2 {
        font-size: 1.5rem;
    }

    .property-price {
        font-size: 1.35rem;
    }

    .media-card img {
        height: 200px;
    }

    .page-heading {
        gap: 10px;
        margin-bottom: 14px;
    }

    .form-alert {
        padding: 10px 12px;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    .field-group label {
        margin-bottom: 6px;
        font-size: 0.9rem;
    }

    .field-group input,
    .field-group select,
    .field-group textarea {
        padding: 11px 12px;
        font-size: 0.92rem;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .document-meta-card {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .document-remove-btn {
        justify-self: start;
    }

    .media-card video,
    .video-frame iframe {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .detail-card {
        padding: 16px;
    }

    .contact-button-row {
        flex-direction: column;
    }

    .contact-button-row .btn-dark,
    .contact-button-row .btn-outline {
        width: 100%;
    }

    /* View Listing — small screen refinements */
    .property-heading {
        gap: 10px;
    }

    .property-main-image,
    .property-main-placeholder {
        height: 220px;
    }

    .property-thumb-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .property-thumb img {
        height: 64px;
    }

    .property-price {
        font-size: 1.25rem;
    }

    .property-content-grid {
        gap: 10px;
    }

    .property-main-content,
    .property-side-stack {
        gap: 10px;
    }

    .section-heading {
        gap: 4px;
    }

    .key-detail-card {
        padding: 12px;
    }

    .gallery-arrow-prev {
        left: 8px;
    }

    .gallery-arrow-next {
        right: 8px;
    }

    .property-video-frame iframe,
    .property-video-frame video {
        aspect-ratio: 16 / 9;
        height: auto;
        width: 100%;
        min-height: 0;
        max-height: 180px;
    }

}

/* Inquiry Form Styles */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inquiry-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inquiry-form label {
    font-weight: 600;
    color: var(--text-main);
    font-size: 14px;
}

.inquiry-form input[type="text"],
.inquiry-form textarea {
    padding: 12px;
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main);
    background: var(--card-bg);
    transition: border-color 0.2s;
}

.inquiry-form input[type="text"]:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--premium-accent);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.inquiry-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Chatbox Styles */
.user-chat-panel,
.admin-chat-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 450px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
}

.chatbox-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(243, 244, 246, 0.5);
}

.chatbox-welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

.chat-message {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user-message {
    justify-content: flex-end;
}

.chat-message.admin-message {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 12px;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.4;
}

.user-message .chat-bubble {
    background: var(--premium-accent);
    color: white;
    border-bottom-right-radius: 4px;
}

.admin-message .chat-bubble {
    background: #e5e7eb;
    color: var(--text-main);
    border-bottom-left-radius: 4px;
}

.chat-timestamp {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.chatbox-form {
    padding: 14px;
    border-top: 1px solid var(--border-soft);
    background: var(--card-bg);
}

.chatbox-input-group {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.chatbox-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main);
    background: var(--card-bg);
    resize: none;
    transition: border-color 0.2s;
    max-height: 100px;
}

.chatbox-input:focus {
    outline: none;
    border-color: var(--premium-accent);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.chatbox-send-btn {
    padding: 10px 20px;
    background: var(--premium-accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.chatbox-send-btn:hover {
    background: #0d5d56;
}

.chatbox-send-btn:active {
    transform: scale(0.98);
}

.chatbox-send-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

/* Admin chat panel specific styles */
.admin-chat-panel .chat-message.admin-message {
    justify-content: flex-end;
}

.admin-chat-panel .chat-message.admin-message .chat-bubble {
    background: var(--premium-accent);
    color: white;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 12px;
}

.admin-chat-panel .chat-message.user-message {
    justify-content: flex-start;
}

.admin-chat-panel .chat-message.user-message .chat-bubble {
    background: #e5e7eb;
    color: var(--text-main);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 12px;
}


.admin-crm-hero {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 24px;
    margin-bottom: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background: linear-gradient(135deg, #111827 0%, #12352f 100%);
    color: #fff;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.admin-crm-hero h2 {
    max-width: 820px;
    margin: 4px 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.admin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-admin-green {
    background: #0f766e !important;
}

.admin-section-kicker {
    margin: 0;
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-crm-hero .admin-section-kicker {
    color: #a7f3d0;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.admin-stat-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.admin-stat-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 22px;
    font-weight: 800;
}

.admin-stat-card p,
.admin-stat-card span {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.admin-stat-card strong {
    display: block;
    margin: 6px 0;
    color: #0f172a;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.admin-stat-card a {
    grid-column: 1 / -1;
    display: inline-flex;
    width: fit-content;
    min-height: 34px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.admin-dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
}

.admin-dashboard-center,
.admin-dashboard-right {
    display: grid;
    gap: 22px;
}

.admin-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.admin-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.admin-card-heading h2 {
    margin: 4px 0 0;
    color: #0f172a;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
}

.admin-card-heading a,
.admin-row-action {
    color: #0f766e;
    text-decoration: none;
    font-weight: 800;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.admin-data-table th {
    padding: 12px 10px;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-data-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #eef2f6;
    color: #334155;
    font-size: 14px;
    vertical-align: middle;
}

.admin-property-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
}

.admin-property-cell img,
.admin-property-placeholder {
    width: 52px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    background: #ecfdf5;
    color: #0f766e;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.admin-property-cell strong,
.admin-property-cell span {
    display: block;
}

.admin-property-cell strong {
    color: #0f172a;
}

.admin-property-cell span {
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.admin-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-active { background: #dbeafe; color: #1d4ed8; }
.status-site-visit { background: #ede9fe; color: #6d28d9; }
.status-closed { background: #dcfce7; color: #166534; }

.admin-empty-row,
.admin-muted {
    color: #64748b;
}

.admin-activity-list {
    display: grid;
    gap: 14px;
}

.admin-activity-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f6;
}

.admin-activity-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.admin-activity-item > span {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 999px;
    background: #0f766e;
    box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.1);
}

.admin-activity-item strong,
.admin-activity-item p,
.admin-activity-item small {
    display: block;
}

.admin-activity-item strong {
    color: #0f172a;
    font-size: 14px;
}

.admin-activity-item p {
    margin: 3px 0;
    color: #334155;
    font-weight: 700;
}

.admin-activity-item small {
    color: #64748b;
}

.admin-quick-actions {
    display: grid;
    gap: 10px;
}

.admin-quick-actions .admin-card-heading {
    margin-bottom: 4px;
}

.admin-quick-actions a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
}

.admin-report-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
}

.admin-report-strip h2,
.admin-report-strip p {
    margin: 0;
}

.admin-report-strip h2 {
    margin-top: 4px;
    font-family: 'Montserrat', sans-serif;
}

.admin-report-strip p {
    margin-top: 6px;
    color: #64748b;
}

@media (max-width: 1180px) {
    .admin-stat-grid,
    .admin-dashboard-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .admin-crm-hero,
    .admin-report-strip,
    .admin-card-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-stat-grid {
        grid-template-columns: 1fr;
    }
}

.admin-conversation-shell {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.admin-conversation-list,
.admin-chat-workspace {
    min-height: 640px;
}

.admin-conversation-items {
    display: grid;
    gap: 10px;
    max-height: 560px;
    overflow-y: auto;
    padding-right: 4px;
}

.admin-conversation-item {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    background: #fff;
}

.admin-conversation-item.is-active,
.admin-conversation-item:hover {
    border-color: rgba(15, 118, 110, 0.28);
    background: #f0fdfa;
}

.admin-user-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-weight: 800;
}

.admin-conversation-item strong,
.admin-conversation-item small,
.admin-conversation-item em,
.admin-conversation-item time {
    display: block;
}

.admin-conversation-item strong {
    color: #0f172a;
}

.admin-conversation-item small {
    margin-top: 3px;
    color: #475569;
    font-weight: 700;
}

.admin-conversation-item em {
    margin-top: 5px;
    color: #64748b;
    font-size: 13px;
    font-style: normal;
    line-height: 1.4;
}

.admin-conversation-item b {
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #0f766e;
    color: #fff;
    font-size: 12px;
}

.admin-conversation-item time {
    grid-column: 2 / 4;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}

.admin-chat-workspace {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 18px;
}

.admin-chat-property-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f6;
}

.admin-chat-property-thumb {
    width: 68px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 24px;
    font-weight: 800;
}

.admin-chat-property-header h2,
.admin-chat-property-header p {
    margin: 0;
}

.admin-chat-property-header h2 {
    margin-top: 4px;
    font-family: 'Montserrat', sans-serif;
    color: #0f172a;
}

.admin-chat-property-header p:last-child {
    margin-top: 4px;
    color: #64748b;
    font-weight: 700;
}

.admin-chat-window {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    padding: 6px 4px;
}

.admin-chat-message {
    max-width: 72%;
    padding: 14px 16px;
    border-radius: 18px;
    line-height: 1.55;
}

.admin-chat-message strong,
.admin-chat-message time {
    display: block;
}

.admin-chat-message strong {
    margin-bottom: 6px;
}

.admin-chat-message p {
    margin: 0;
}

.admin-chat-message time {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.72;
}

.admin-chat-message.user-message {
    align-self: flex-start;
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.admin-chat-message.admin-message {
    align-self: flex-end;
    background: #0f766e;
    color: #fff;
}

.admin-chat-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #eef2f6;
}

.admin-chat-composer input {
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    font: inherit;
}

.admin-chat-composer button {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font: inherit;
    font-weight: 800;
}

@media (max-width: 980px) {
    .admin-conversation-shell,
    .admin-chat-property-header,
    .admin-chat-composer {
        grid-template-columns: 1fr;
    }

    .admin-conversation-list,
    .admin-chat-workspace {
        min-height: auto;
    }

    .admin-chat-message {
        max-width: 100%;
    }
}
.property-map-wrap {
    margin-top: 4px;
}

.property-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    min-height: 44px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(15, 118, 110, 0.28);
    background: linear-gradient(180deg, #f0fdfa 0%, #e6f7f5 100%);
    color: #0f766e;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-map-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.16);
}

.map-page-panel {
    display: grid;
    gap: 18px;
}

.map-draft-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid rgba(1, 50, 32, 0.14);
    border-radius: 14px;
    background: var(--card-bg);
}

.map-pin-status {
    margin: 0;
    color: #013220;
    font-weight: 700;
}

.map-sketch-button {
    border-color: rgba(15, 118, 110, 0.7);
    background: var(--card-bg);
    color: var(--premium-accent);
}

.map-sketch-button:hover {
    border-color: var(--premium-accent);
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.06);
    transform: translateY(-1px);
}

.map-sketch-button:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
}

.map-container {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: #eef2f7;
}

.map-container .leaflet-top {
    top: 126px;
}

.public-listings-map,
.listing-location-map {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: #eef2f7;
}

.public-listings-map {
    min-height: 620px;
    border: 0;
    border-radius: 18px;
}

.map-listing-popup {
    display: grid;
    gap: 6px;
    min-width: 160px;
}

.map-listing-popup strong,
.map-listing-popup span,
.map-listing-popup a {
    display: block;
}

.map-listing-popup strong {
    color: #0f172a;
    font-size: 14px;
}

.map-listing-popup span {
    color: #334155;
    font-weight: 700;
}

.map-listing-popup a {
    color: #0f766e;
    font-weight: 800;
    text-decoration: none;
}

.approved-listing-price-icon {
    display: flex;
    justify-content: center;
    background: transparent;
    border: 0;
}

.approved-listing-price-pin {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    max-width: 140px;
    height: 30px;
    padding: 0 12px;
    border: 1px solid #C9A84C;
    border-radius: 999px;
    background: #013220;
    color: #F5F0E8;
    box-shadow: 0 8px 18px rgba(1, 50, 32, 0.24);
    font-family: Inter, Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.approved-listing-price-pin::after {
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 13px;
    height: 13px;
    border-right: 1px solid #C9A84C;
    border-bottom: 1px solid #C9A84C;
    background: #013220;
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.approved-listing-price-pin span {
    position: relative;
    z-index: 1;
    overflow: hidden;
    max-width: 116px;
    text-overflow: ellipsis;
}

.listing-map-picker {
    display: grid;
    gap: 12px;
}

.listing-map-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.listing-map-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.listing-map-clear {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.admin-listing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.inline-action-form {
    display: inline-flex;
    margin: 0;
}

.admin-row-action {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.admin-row-action:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.admin-row-action-danger {
    color: #b42318;
}

.admin-row-action-delete {
    color: #7f1d1d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.status-approved {
    background: #dcfce7;
    color: #166534;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.property-map-wrap {
    margin-top: 4px;
}

.property-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    min-height: 44px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(15, 118, 110, 0.28);
    background: linear-gradient(180deg, #f0fdfa 0%, #e6f7f5 100%);
    color: #0f766e;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-map-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.16);
}

.map-page-shell {
    padding-top: 4px;
}

.map-page-panel {
    display: grid;
    gap: 20px;
    padding: clamp(20px, 2.4vw, 32px);
}

.map-page-panel .page-heading {
    gap: 10px;
    align-items: flex-start;
}

.map-page-panel .badge {
    border-radius: 999px;
    background: rgba(1, 50, 32, 0.08);
    color: #013220;
    border-color: rgba(1, 50, 32, 0.12);
}

.map-heading-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.map-page-panel .plot-total-badge {
    background: #013220;
    color: #fff;
    border-color: #013220;
}

.map-draft-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid rgba(1, 50, 32, 0.14);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.map-draft-tool-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.map-pin-status {
    margin: 0;
    color: #013220;
    font-weight: 700;
    line-height: 1.5;
}

.map-sketch-button {
    border-color: rgba(0, 0, 0, 0.7);
    background: #fff;
    color: #013220;
}

.map-sketch-button:hover {
    border-color: #C9A84C;
    box-shadow: 0 10px 20px rgba(1, 50, 32, 0.08);
    transform: translateY(-1px);
}

.map-sketch-button:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
}

.map-controls-section {
    display: grid;
    gap: 12px;
    position: absolute;
    top: 14px;
    right: 14px;
    left: 14px;
    z-index: 700;
    pointer-events: none;
}

.map-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid rgba(1, 50, 32, 0.12);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
    pointer-events: auto;
}

.map-action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(1, 50, 32, 0.16);
    border-radius: 999px;
    background: #fff;
    color: #013220;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.map-button svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.map-button:hover,
.map-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(1, 50, 32, 0.12);
}

.map-button:active {
    transform: translateY(0) scale(0.98);
}

.map-button:disabled,
.map-button.is-loading,
.map-button.requires-login {
    opacity: 0.72;
    transform: none;
    box-shadow: none;
}

.map-button:disabled,
.map-button.is-loading {
    cursor: not-allowed;
}

.map-button.requires-login {
    cursor: pointer;
}

.map-button.primary {
    border-color: transparent;
    background: linear-gradient(135deg, #013220 0%, #0f4a31 100%);
    color: #fff;
}

.map-button.success {
    border-color: rgba(15, 118, 110, 0.16);
    background: var(--card-bg);
    color: var(--text-main);
}

.map-button.danger {
    border-color: rgba(139, 21, 56, 0.12);
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.06), rgba(255, 255, 255, 0.98));
    color: #8b1538;
    box-shadow: 0 8px 18px rgba(139, 21, 56, 0.04);
}

.map-status {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: flex-start;
    width: fit-content;
    max-width: min(620px, 100%);
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    pointer-events: auto;
}

.map-status.info {
    background: rgba(1, 50, 32, 0.05);
    border-color: rgba(1, 50, 32, 0.14);
    color: #013220;
}

.map-status.success {
    background: rgba(15, 118, 110, 0.12);
    border-color: rgba(15, 118, 110, 0.24);
    color: var(--premium-accent);
}

.map-status.warning {
    background: rgba(244, 158, 36, 0.12);
    border-color: rgba(244, 158, 36, 0.24);
    color: #9a2c2c;
}

.map-status.error {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.18);
    color: #b91c1c;
}

.map-login-link {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #013220;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.plots-panel {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: var(--card-bg);
    box-shadow: var(--shadow-soft);
}

.plots-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.plots-header h3 {
    margin: 0;
    color: #013220;
    font-size: 1rem;
}

.plot-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, #013220, #0d4b32);
    color: #fff;
    font-weight: 800;
}

.plots-list {
    display: grid;
    gap: 10px;
}

.plot-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(1, 50, 32, 0.1);
    border-left: 5px solid var(--plot-color, #013220);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(1, 50, 32, 0.06);
}

.plot-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.plot-marker {
    display: grid;
    place-items: center;
    width: 30px;
    height: 40px;
    color: var(--plot-color, #013220);
    flex-shrink: 0;
}

.plot-marker svg {
    display: block;
    width: 30px;
    height: 40px;
}

.plot-details {
    min-width: 0;
}

.plot-title {
    font-weight: 700;
    color: #013220;
}

.plot-address {
    margin-top: 2px;
    color: #334155;
    font-size: 0.88rem;
}

.plot-coords {
    margin-top: 2px;
    font-size: 0.82rem;
    color: #5f6b72;
}

/* Status badge for listed plots */
.plot-status-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.6;
}
.plot-status-badge.status-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid rgba(146, 64, 14, 0.2);
}
.plot-status-badge.status-approved {
    background: #dcfce7;
    color: #166534;
    border: 1px solid rgba(22, 101, 52, 0.2);
}
.plot-status-badge.status-rejected {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid rgba(153, 27, 27, 0.2);
}

/* Disabled action buttons (e.g. edit on listed plots) */
.plot-action-btn.is-disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.plot-actions {
    display: flex;
    gap: 8px;
}

.plot-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(1, 50, 32, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #013220;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plot-action-btn svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
}

.plot-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(1, 50, 32, 0.12);
}

.plot-action-btn.delete {
    color: #8b1538;
    border-color: rgba(139, 21, 56, 0.16);
}

.plot-action-btn.list {
    color: #0f766e;
    border-color: rgba(15, 118, 110, 0.16);
}

.plot-action-btn.list.is-listed {
    color: #92400e;
    border-color: rgba(146, 64, 14, 0.2);
    background: #fef3c7;
    cursor: pointer;
    opacity: 0.9;
}

.plot-action-btn.list.is-approved {
    color: #166534;
    border-color: rgba(22, 101, 52, 0.2);
    background: #dcfce7;
    cursor: pointer;
    opacity: 0.9;
}

.plot-action-btn.list a,
.plot-action-btn.list a:hover {
    text-decoration: none;
    color: inherit;
}

.empty-plots-state {
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 24px;
    min-height: 132px;
    border: 1px dashed rgba(1, 50, 32, 0.16);
    border-radius: 16px;
    background: rgba(245, 240, 232, 0.6);
    color: #5b5b5b;
    text-align: center;
}

.empty-plots-state svg {
    width: 32px;
    height: 32px;
    max-width: 32px;
    flex: 0 0 32px;
    color: #C9A84C;
}

.empty-plots-icon {
    display: block;
}

.land-pin-icon {
    background: transparent;
    border: 0;
}

.land-pin-icon svg,
.land-pin-preview {
    display: block;
}

.land-pin-icon svg {
    width: 30px;
    height: 40px;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.28));
}

.land-sketch-vertex {
    background: #fff;
    border: 2px solid var(--plot-color, #013220);
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(1, 50, 32, 0.2);
}

.sketch-point-marker {
    background: transparent !important;
    border: 0 !important;
}

.sketch-point-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid #fff;
    color: #F5F0E8;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(1, 50, 32, 0.32);
    cursor: grab;
}

.sketch-point-inner:active {
    cursor: grabbing;
}

.map-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    max-width: min(340px, calc(100vw - 32px));
    padding: 12px 14px;
    border: 1px solid rgba(1, 50, 32, 0.14);
    border-radius: 14px;
    background: #013220;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(1, 50, 32, 0.22);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.map-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.public-listings-map {
    min-height: 620px;
}

.map-container .public-listings-map {
    border: 0;
    border-radius: 18px;
    box-shadow: none;
}

.map-listing-popup {
    display: grid;
    gap: 6px;
    min-width: 160px;
}

.map-listing-popup strong,
.map-listing-popup span,
.map-listing-popup a {
    display: block;
}

.map-listing-popup strong {
    color: #0f172a;
    font-size: 14px;
}

.map-listing-popup span {
    color: #334155;
    font-weight: 700;
}

.map-listing-popup a {
    color: #0f766e;
    font-weight: 800;
    text-decoration: none;
}

.listing-map-picker {
    display: grid;
    gap: 12px;
}

.listing-map-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.listing-map-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.listing-map-meta [data-map-status] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(1, 50, 32, 0.05);
    color: #013220;
    font-weight: 600;
}

.listing-map-meta [data-map-status].success {
    background: rgba(201, 168, 76, 0.16);
}

.listing-map-meta [data-map-status].warning {
    background: rgba(244, 158, 36, 0.12);
}

.listing-map-meta [data-map-status].error {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}

.listing-map-clear {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.admin-listing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.inline-action-form {
    display: inline-flex;
    margin: 0;
}

.admin-row-action {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.admin-row-action:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.admin-row-action-danger {
    color: #b42318;
}

.status-approved {
    background: #dcfce7;
    color: #166534;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 900px) {
    .map-toolbar,
    .map-draft-tools {
        align-items: flex-start;
    }

    .map-controls-section {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .map-action-group,
    .map-draft-tool-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .page-heading {
        gap: 10px;
    }

    .map-page-panel {
        padding: 20px;
    }

    .map-button {
        padding: 0 12px;
        min-height: 40px;
    }

    .public-listings-map {
        min-height: 480px;
    }
}

@media (max-width: 700px) {
    .map-page-panel {
        padding: 20px;
    }

    .map-draft-tools,
    .map-toolbar,
    .plots-panel {
        padding: 14px;
    }

    .map-controls-section {
        position: static;
        padding: 12px;
        background: var(--card-bg);
        pointer-events: auto;
    }

    .map-toolbar {
        box-shadow: none;
        backdrop-filter: none;
    }

    .map-status {
        width: 100%;
        box-shadow: none;
    }

    .map-container .leaflet-top {
        top: 0;
    }

    .map-draft-tools {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-draft-tool-actions,
    .map-action-group {
        width: 100%;
        flex-direction: column;
    }

    .map-button,
    .map-sketch-button {
        width: 100%;
        justify-content: center;
    }

    .public-listings-map {
        min-height: 460px;
    }

    .plot-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .plot-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .listing-map-search-row,
    .listing-map-meta {
        grid-template-columns: 1fr;
    }

    .listing-map-meta {
        display: grid;
        align-items: stretch;
    }

    .listing-map-search-row .btn-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .map-page-panel {
        padding: 16px;
    }

    .page-heading {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .page-heading h1 {
        font-size: clamp(1.5rem, 3vw, 2rem);
        margin-bottom: 4px;
    }

    .page-heading p {
        font-size: 0.9rem;
    }

    .map-heading-badges {
        justify-content: flex-start;
        width: 100%;
    }

    .map-button,
    .map-sketch-button {
        padding: 0 10px;
        min-height: 40px;
        font-size: 0.85rem;
    }

    .map-button svg {
        width: 14px;
        height: 14px;
    }

    .map-status {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    .plots-panel {
        max-height: 280px;
    }

    .plots-header h3 {
        font-size: 0.95rem;
    }

    .plot-item {
        padding: 10px 12px;
        gap: 8px;
    }

    .plot-marker {
        width: 24px;
        height: 32px;
    }

    .plot-marker svg {
        width: 24px;
        height: 32px;
    }

    .public-listings-map {
        min-height: 360px;
    }
}
