/* MANUAL TEST 12345 */
.property-layout-row {
    --property-pane-height: calc(110vh - 88px);
    height: var(--property-pane-height);
}

.property-list-column,
.property-map-column {
    height: 100%;
}

.property-list-column {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.property-list-column .sticky-top {
    top: 0;
    flex: 0 0 auto;
}

#property-list-container {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

#property-list-container .selected-property-card {
    border: 2px solid #0dcaf0;
    box-shadow: 0 0 0 0.5rem rgba(13, 202, 240, 0.12);
    background: rgba(13, 202, 240, 0.05);
}

.property-map-area {
    height: 100%;
    width: 100%;
}

.property-card-trigger {
    padding: 0;
}

.property-card-trigger:focus {
    outline: none;
}

.property-neon-marker-wrap {
    position: relative;
    width: 18px;
    height: 18px;
}

.property-neon-marker-wrap::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(12, 18, 30, 0.65);
    background: rgba(9, 14, 24, 0.25);
}

.property-neon-marker-core,
.property-neon-marker-pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

/* AFTER */
.property-neon-marker-core {
    width: 7px; 
    height: 7px;
    /* border: 1px solid #0a1020; */
    /* color comes from inline style set by getLandTypeIcon() */
}

.property-neon-marker-pulse {
    width: 16px;
    height: 16px;
    /* animation: propertyNeonPulse 1.2s ease-out infinite; */
    /* color comes from inline style set by getLandTypeIcon() */
}

/* @keyframes propertyNeonPulse {
    0% {
        opacity: 0.95;
        transform: translate(-50%, -50%) scale(1);
    }
    70% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.6);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.6);
    }
} */

/* Map Controls Overlay */
.map-controls {
    position: absolute;
    top: 15px;
    right: 55px;
    z-index: 1000;
    /* background: rgba(255, 255, 255, 0.85); */
    /* backdrop-filter: blur(4px); */
    border-radius: 8px;
    padding: 12px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); */
    max-width: 100%;
}

.map-controls .btn-sm {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.map-controls .form-control {
    font-size: 0.875rem;
    padding: 0.375rem 0.5rem;
}

@media (max-width: 1199.98px) {
    .property-layout-row {
        height: auto;
    }

    .property-list-column,
    .property-map-column {
        height: auto;
    }

    .property-list-column {
        overflow: visible;
    }

    .property-list-column .sticky-top {
        position: static;
    }

    #property-list-container {
        max-height: none;
        overflow: visible;
    }

    .property-map-area {
        height: 420px;
    }

    .map-controls {
        position: static;
        background: #f8f9fa;
        margin: 10px;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .property-map-area {
        height: 320px;
    }

    .map-controls {
        top: 10px;
        right: 10px;
        padding: 8px;
        left: 10px;
        max-width: none;
    }

    .map-search-wrap {
        flex-direction: column;
    }

    .map-search-wrap .form-control {
        max-width: none;
    }

    .map-search-wrap .btn-search {
        margin-left: 0;
        margin-top: 5px;
    }
}

@media (max-width: 1199.98px) {
    .property-layout-row {
        height: auto;
    }

    .property-list-column,
    .property-map-column {
        height: auto;
    }

    .property-list-column {
        overflow: visible;
    }

    .property-list-column .sticky-top {
        position: static;
    }

    #property-list-container {
        max-height: none;
        overflow: visible;
    }

    .property-map-area {
        height: 420px;
    }
}

@media (max-width: 575.98px) {
    .property-map-area {
        height: 320px;
    }
}

/* Sidebar Offcanvas Toggle Button */
.sidebar-toggle-btn {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.sidebar-toggle-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.sidebar-toggle-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.sidebar-toggle-btn i {
    font-size: 1.25rem;
}

/* ── Side Drawer ──────────────────────────────────────── */
.property-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    height: 100dvh;
    z-index: 1055;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.property-drawer.drawer-open {
    transform: translateX(0);
    pointer-events: auto;
}

.property-drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.property-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #dee2e6;
    flex-shrink: 0;
}

.property-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

/* Nudge the offcanvas left when a drawer is open so they don't overlap */
#offcanvasExample.offcanvas.show ~ .property-drawer.drawer-open {
    right: 0; /* drawer is always on the far right */
}

@media (max-width: 576px) {
    .property-drawer {
        width: 100%;
    }
}
