/* Prevent horizontal scroll - Swiper and grid can cause overflow */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body.rental-detail-page main {
    overflow-x: hidden;
    max-width: 100%;
}

.action-card {
    border: 1px solid #dcdcdc;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
}

.toast {
    margin-top: 1rem;
    min-height: 2rem;
}

.notice {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #1d2329;
}

.notice.success {
    background-color: #d4f5df;
    border: 1px solid #49b86e;
}

.notice.error {
    background-color: #fde0dc;
    border: 1px solid #e57368;
}

.table-container {
    overflow-x: auto;
}

.filter-form {
    margin-bottom: 1rem;
}

.filter-form .grid {
    align-items: end;
}

.filter-form select {
    width: 100%;
}

.filter-form .filter-submit {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.status-pill {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1d2329;
    font-weight: 600;
}

.status-pill.status-queued,
.status-pill.status-running {
    background-color: #eceff4;
    border: 1px solid #b4c1d4;
}

.status-pill.status-success {
    background-color: #d4f5df;
    border: 1px solid #49b86e;
}

.status-pill.status-failed {
    background-color: #fde0dc;
    border: 1px solid #e57368;
}

/* Public rentals grid */
.rentals-section .lease-filter ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}
.rentals-section .lease-filter a.contrast {
    font-weight: 600;
}
.rentals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.rental-card {
    border: 1px solid var(--pico-muted-border-color, #e0e0e0);
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--pico-card-background-color, #fff);
}
.rental-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.rental-card-image {
    aspect-ratio: 4/3;
    background: #eee;
    overflow: hidden;
}
.rental-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rental-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
}
.rental-card-body {
    padding: 1rem;
}
.rental-card-body h3 {
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
}
.rental-price {
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}
.rental-specs {
    font-size: 0.9rem;
    color: var(--pico-muted-color, #666);
    margin: 0 0 0.5rem 0;
}
.rental-desc {
    font-size: 0.85rem;
    margin: 0;
    color: var(--pico-muted-color, #666);
}

/* Rental detail page */
.rental-detail-section {
    min-height: 200px;
    overflow-x: hidden;
    max-width: 100%;
    padding: 1.5rem 0;
}
body.rental-detail-page main.container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
@media (min-width: 768px) {
    body.rental-detail-page main.container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
/* Full-width hero: photo section breaks out of container to span viewport */
.rental-detail-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-bottom: 1.5rem;
    background: #fff;
}
.rental-detail-hero .rental-detail-gallery {
    max-width: 100%;
}
.rental-detail-section .rental-detail-gallery {
    background: transparent;
    min-width: 0; /* prevent grid blowout */
    overflow: hidden;
}
/* Top header: address left, rent right; back button + specs on second row */
.rental-detail-header {
    margin-bottom: 1.5rem;
}
.rental-detail-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 1rem;
}
.rental-detail-header-top {
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.rental-detail-address {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    flex: 1;
    min-width: 0;
}
.rental-detail-rent {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}
.rental-detail-header-full-address {
    margin-bottom: 0.5rem;
}
.rental-detail-full-address-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.rental-detail-map-icon {
    width: 1rem;
    height: 1.5rem;
    flex-shrink: 0;
}
.rental-detail-full-address {
    font-size: 0.95rem;
    color: var(--pico-muted-color, #666);
}
a.rental-detail-full-address {
    text-decoration: none;
    color: var(--pico-primary, #0066cc);
}
a.rental-detail-full-address:hover {
    text-decoration: underline;
}
.rental-detail-header-bottom {
    align-items: center;
    gap: 1.25rem;
}
.rental-detail-specs-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.95rem;
    color: var(--pico-muted-color, #666);
}
.rental-detail-specs-inline span {
    white-space: nowrap;
}
.rental-detail-info {
    min-width: 0; /* prevent grid blowout */
    color: var(--pico-color, #1a1a1a) !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}
.rental-detail-info h2,
.rental-detail-info p,
.rental-detail-info h3,
.rental-detail-info a {
    color: inherit !important;
}
/* Two-column layout: main content left, CTA right */
.rental-detail-two-col {
    display: grid;
    gap: 2rem;
    margin-top: 1.5rem;
}
@media (min-width: 768px) {
    .rental-detail-two-col {
        grid-template-columns: 1fr minmax(280px, 360px);
    }
}
.rental-detail-main {
    min-width: 0;
}
.rental-detail-cta {
    min-width: 0;
    align-self: start;
}
/* CTA box styles */
.cta-box {
    background: #f8f9fa;
    border: 1px solid var(--pico-muted-border-color, #e0e0e0);
    border-radius: 0.5rem;
    padding: 1.25rem;
}
.cta-form-header {
    margin: -1.25rem -1.25rem 1rem -1.25rem;
    padding: 0.75rem 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    background: #082B4F;
    border-radius: 0.5rem 0.5rem 0 0;
}
.cta-box h3.cta-form-header {
    color: #fff !important;
}
.cta-agent-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.cta-agent-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}
.cta-agent-name {
    font-weight: 600;
    font-size: 1.1rem;
}
.cta-agent-full-name {
    display: block;
    white-space: nowrap;
}
.cta-agent-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--pico-muted-color, #666);
}
.cta-property-address {
    margin-bottom: 0.75rem;
}
.cta-property-address strong {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.cta-property-address p {
    margin: 0.25rem 0 0 0;
}
/* Floating label fields: label inside the field, floats up on focus/value */
.cta-field {
    position: relative;
    margin-top: 0.35rem;
}
.cta-field:first-child,
.cta-form fieldset .cta-field:first-child {
    margin-top: 0;
}
.cta-form fieldset .cta-field {
    margin-top: 0.35rem;
}
.cta-form fieldset .cta-field:first-of-type {
    margin-top: 0;
}
.cta-field label.cta-floating-label {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1;
    color: var(--pico-muted-color, #666);
    pointer-events: none;
    transition: top 0.15s ease, transform 0.15s ease, font-size 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 1.2rem);
}
/* Vertically center label in input/select (2rem field: center ~0.9rem from top) */
.cta-field:not(.cta-field-textarea) label.cta-floating-label {
    top: 0.9rem;
    transform: translateY(-50%);
}
.cta-field.cta-field-textarea label.cta-floating-label {
    top: 50%;
    transform: translateY(-50%);
}
.cta-field input:focus ~ label.cta-floating-label,
.cta-field input:not(:placeholder-shown) ~ label.cta-floating-label,
.cta-field input[type="date"]:valid ~ label.cta-floating-label,
.cta-field.has-value input ~ label.cta-floating-label,
.cta-field select:focus ~ label.cta-floating-label,
.cta-field select:valid ~ label.cta-floating-label,
.cta-field.has-value select ~ label.cta-floating-label,
.cta-field textarea:focus ~ label.cta-floating-label,
.cta-field textarea:not(:placeholder-shown) ~ label.cta-floating-label,
.cta-field.has-value textarea ~ label.cta-floating-label {
    top: 0.35rem;
    transform: none;
    font-size: 0.7rem;
    color: var(--pico-color, #1d2329);
}
.cta-field.cta-field-textarea textarea:focus ~ label.cta-floating-label,
.cta-field.cta-field-textarea textarea:not(:placeholder-shown) ~ label.cta-floating-label,
.cta-field.cta-field-textarea.has-value textarea ~ label.cta-floating-label {
    top: 0.35rem;
    transform: none;
    font-size: 0.7rem;
}
.cta-form input,
.cta-form select,
.cta-form textarea {
    width: 100%;
    padding: 0.35rem 0.6rem;
    min-height: 2rem;
}
.cta-field input {
    padding-top: 0.5rem;
}
.cta-field input[type="text"],
.cta-field input[type="email"],
.cta-field input[type="tel"],
.cta-field input[type="date"] {
    height: 2rem;
}
.cta-field select {
    height: 2rem;
    padding-top: 0.5rem;
}
.cta-field textarea {
    min-height: 3.5rem;
    padding: 0.5rem 0.6rem 0.35rem;
}
/* Legacy: non-floating labels (radio, checkbox, display-only) */
.cta-form label:not(.cta-floating-label) {
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 0.15rem;
    font-size: 0.9rem;
}
.cta-form label:first-of-type {
    margin-top: 0;
}
.cta-form fieldset label:first-of-type {
    margin-top: 0;
}
.cta-form input:not([type="radio"]):not([type="checkbox"]),
.cta-form select,
.cta-form textarea {
    width: 100%;
}
.cta-display-only {
    margin: 0.25rem 0 0 0;
    padding: 0.4rem 0;
    font-weight: 500;
    color: var(--pico-color, #1d2329);
}
.cta-field-hint {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: #6b7280;
}
.cta-field-hint.cta-error-msg {
    color: #b91c1c;
    font-weight: 500;
}
.cta-prepop-block {
    margin-bottom: 0.75rem;
    padding: 0.6rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.35rem;
    font-size: 0.9rem;
}
.cta-prepop-item {
    margin: 0.35rem 0;
}
.cta-prepop-item:first-child {
    margin-top: 0;
}
.cta-prepop-html-inner {
    display: inline;
}
.cta-prepop-rent {
    white-space: nowrap;
}
.cta-prepop-rent .cta-prepop-html-inner,
.cta-prepop-rent .cta-prepop-html-inner * {
    display: inline !important;
}
.cta-prepop-html-inner b {
    font-weight: 600;
}
.cta-radio-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.15rem 0;
}
.cta-radio-group label:first-child {
    transform: translateY(4px);
}
.cta-radio-group label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3.25rem;
    min-width: 3.25rem;
    padding: 0.4rem 0.5rem;
    margin: 0;
    cursor: pointer;
    border-radius: 9999px;
    border: 1px solid #b4c1d4;
    background: #eceff4;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    line-height: 1;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cta-radio-group label:hover {
    background: #e2e8f0;
}
.cta-radio-group label:has(input:checked) {
    background: #082C50;
    border-color: #082C50;
    color: #fff;
}
.cta-radio-group label:has(input:checked):hover {
    background: #0a3a68;
}
.cta-radio-group input[type="radio"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    margin: 0;
    cursor: pointer;
}
.cta-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
}
.cta-checkbox-label input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    min-width: 1.1rem;
    min-height: 1.1rem;
    aspect-ratio: 1;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
}
.cta-form fieldset {
    border: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
}
.cta-form fieldset:first-of-type {
    margin-top: 0;
}
.cta-form legend {
    font-weight: 600;
    margin-bottom: 0.35rem;
}
.cta-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.cta-form-actions {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.cta-submit-btn {
    padding: 0.6rem 1.25rem;
    background: #082C50 !important;
    color: #fff !important;
    border: none;
    border-radius: 0.35rem;
    font-weight: 600;
    cursor: pointer;
}
.cta-submit-btn:hover {
    background: #0a3a68 !important;
}
.cta-submit-btn.htmx-request {
    opacity: 0.7;
    cursor: wait;
}
.cta-loading {
    display: none;
    font-size: 0.9rem;
    color: var(--pico-muted-color, #666);
}
.cta-loading.htmx-request {
    display: inline;
}
.cta-success {
    margin-top: 1rem;
    padding: 1rem;
    background: #d4f5df;
    border: 1px solid #49b86e;
    border-radius: 0.35rem;
    color: #1d2329;
    font-weight: 500;
    text-align: center;
}
.cta-error {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #fde0dc;
    border: 1px solid #e57368;
    border-radius: 0.35rem;
    color: #1d2329;
}
/* CTA self-show uses btn-standard (see buttons.css). Override for rental-detail color inheritance. */
.rental-detail-info .cta-selfshow-btn,
.rental-detail-info .btn-standard {
    color: #fff !important;
}
/* Self-show layout: main content full width, button compact above */
.rental-detail-selfshow-layout {
    grid-template-columns: 1fr !important;
}
.rental-detail-selfshow-layout .rental-detail-cta {
    order: -1;
}
.rental-detail-selfshow-layout .rental-detail-main {
    order: 0;
}
.rental-detail-gallery .rental-detail-primary {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
}
.rental-gallery-swiper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}
.rental-main-swiper {
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0.5rem;
    width: 100%;
    height: 300px;
}
@media (min-width: 768px) {
    .rental-main-swiper {
        height: 420px;
    }
}
.rental-main-swiper .swiper-slide {
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}
.rental-main-swiper .swiper-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
}
.rental-gallery-fallback {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
}
.rental-gallery-fallback img {
    width: 100%;
    height: 90px;
    object-fit: contain;
    object-position: center;
    border-radius: 0.25rem;
}
.rental-main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: contain;
    object-position: center;
    display: block;
    position: relative;
    z-index: 1;
}
.rental-main-swiper .swiper-button-prev,
.rental-main-swiper .swiper-button-next {
    color: #fff;
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: 0.25rem;
}
.rental-thumbs-swiper {
    height: 72px;
}
.rental-thumbs-swiper .swiper-slide {
    cursor: pointer;
    border-radius: 0.25rem;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.6;
}
.rental-thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--pico-primary, #0066cc);
}
.rental-thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.rental-detail-placeholder {
    aspect-ratio: 4/3;
    background: #eee;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}
.rental-detail-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}
.rental-detail-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.25rem;
}
.rental-detail-info h2 {
    margin-top: 0;
}
/* Price and specs block - large bold price, "per month" muted, specs in bordered box */
.rental-detail-price-block {
    margin-top: 0.5rem;
}
.rental-detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #3d91e5;
}
.rental-detail-price-amount {
    color: var(--pico-color, #1a1a1a);
}
.rental-detail-price-period {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--pico-muted-color, #666);
}
.rental-detail-specs-box {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border: 1px solid var(--pico-muted-border-color, #e0e0e0);
    border-radius: 0.25rem;
    padding: 0.75rem 0;
}
.rental-detail-specs-item {
    flex: 1;
    min-width: 0;
    padding: 0 1rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--pico-muted-color, #666);
    border-right: 1px solid var(--pico-muted-border-color, #e0e0e0);
}
.rental-detail-specs-item:last-child {
    border-right: none;
}
.rental-detail-specs-num {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pico-color, #1a1a1a);
}
@media (max-width: 575px) {
    .rental-detail-specs-box {
        flex-direction: column;
    }
    .rental-detail-specs-item {
        border-right: none;
        border-bottom: 1px solid #3d91e5;
        padding: 0.5rem 1rem;
        text-align: left;
    }
    .rental-detail-specs-item:last-child {
        border-bottom: none;
    }
}
.rental-detail-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.rental-detail-links a:not(.btn-standard) {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
}
/* Video button: house icon by default, swaps to arrow on hover */
.btn-standard-video {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
}
.btn-standard-video .btn-house-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: inherit;
    transition: opacity 0.2s ease;
}
.btn-standard-video .btn-house-icon svg {
    width: 100%;
    height: 100%;
}
.btn-standard-video:hover .btn-house-icon {
    opacity: 0;
    pointer-events: none;
}
.rental-detail-description {
    margin-top: 1rem;
}
.rental-detail-description p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.rental-detail-description h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #3d91e5;
}
.rental-detail-fields {
    margin-top: 1.5rem;
}
/* Three-column layout: content snakes down each column with no gaps (like newspaper) */
.rental-detail-fields-grid {
    column-count: 1;
    column-gap: 2rem;
}
@media (min-width: 992px) {
    .rental-detail-fields-grid {
        column-count: 3;
    }
}
.rental-detail-fields-grid > * {
    break-inside: avoid; /* keep each sub-section from splitting across columns */
    margin-bottom: 1.25rem;
}
.rental-detail-fields-grid > *:last-child {
    margin-bottom: 0;
}
.rental-detail-grid-heading {
    column-span: all; /* span full width above columns */
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #3d91e5;
}
.rental-detail-fields h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
.rental-detail-section-block {
    margin-bottom: 1rem;
}
.rental-detail-section-block h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.35rem 0;
    color: var(--pico-color, #1a1a1a);
}
.rental-detail-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
}
.rental-detail-list li {
    margin-bottom: 0.2rem;
}
.rental-detail-section-with-icon h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
/* Sub-section icons - Lucide-style line art */
.rental-detail-section-icon::before {
    content: '';
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}
.rental-detail-icon-home::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
}
.rental-detail-icon-kitchen::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8'/%3E%3Cpath d='M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7'/%3E%3Cpath d='m2.1 21.8 6.4-6.3'/%3E%3Cpath d='m19 5-7 7'/%3E%3C/svg%3E");
}
.rental-detail-icon-car::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8'/%3E%3Cpath d='M7 14h.01'/%3E%3Cpath d='M17 14h.01'/%3E%3Crect width='18' height='8' x='3' y='10' rx='2'/%3E%3Cpath d='M5 18v2'/%3E%3Cpath d='M19 18v2'/%3E%3C/svg%3E");
}
.rental-detail-icon-sofa::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 9V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v3'/%3E%3Cpath d='M2 11v5a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v2H6v-2a2 2 0 0 0-4 0z'/%3E%3Cpath d='M4 18v2'/%3E%3Cpath d='M20 18v2'/%3E%3Cpath d='M12 4v9'/%3E%3C/svg%3E");
}
.rental-detail-icon-thermometer::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 14.76V3.5a2.5 2.5 0 0 0-5 0v11.26a4.5 4.5 0 1 0 5 0z'/%3E%3C/svg%3E");
}
.rental-detail-icon-lightbulb::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M15.09 14c.18-.98.65-1.74 1.41-2.5A4.65 4.65 0 0 0 18 8 6 6 0 0 0 6 8c0 1 .23 2.23 1.5 3.5A4.61 4.61 0 0 1 8.91 14'/%3E%3C/svg%3E");
}
.rental-detail-icon-pool::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2'/%3E%3Cpath d='M2 10a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2'/%3E%3Cpath d='M2 16h20'/%3E%3Cpath d='M2 14h20'/%3E%3Cpath d='M5 6v4'/%3E%3Cpath d='M19 6v4'/%3E%3Cpath d='M9 6v4'/%3E%3Cpath d='M15 6v4'/%3E%3C/svg%3E");
}
.rental-detail-icon-tree::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22v-7'/%3E%3Cpath d='M12 15a4 4 0 0 0 4-4c0-2-2-4-4-6-2 2-4 4-4 6a4 4 0 0 0 4 4z'/%3E%3Cpath d='M12 22v-3'/%3E%3Cpath d='M12 19a7 7 0 0 0 7-7c0-3.5-2.5-6-5-8-2.5 2-5 4.5-5 8a7 7 0 0 0 7 7z'/%3E%3Cpath d='M12 19v-2'/%3E%3Cpath d='M12 17a5 5 0 0 0 5-5c0-2-1.5-3.5-3-5-1.5 1.5-3 3-3 5a5 5 0 0 0 5 5z'/%3E%3C/svg%3E");
}
.rental-detail-icon-building::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2' ry='2'/%3E%3Cpath d='M9 22v-4h6v4'/%3E%3Cpath d='M8 6h.01'/%3E%3Cpath d='M16 6h.01'/%3E%3Cpath d='M12 6h.01'/%3E%3Cpath d='M12 10h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 10h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3Cpath d='M8 10h.01'/%3E%3Cpath d='M8 14h.01'/%3E%3C/svg%3E");
}
.rental-detail-icon-eye::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.rental-detail-icon-doc::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E");
}
/* MLS footer on rentals and detail pages */
.mls-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pico-muted-border-color, #e0e0e0);
    font-size: 0.85rem;
    color: var(--pico-muted-color, #666);
}
.mls-footer-courtesy {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: var(--pico-color, #1a1a1a);
}
.mls-footer-logo {
    margin: 0.5rem 0;
}
.mls-footer-logo img.stellar-mls-logo {
    height: 28px;
    width: auto;
    display: block;
}
.mls-footer-disclaimer {
    margin: 0.5rem 0;
    font-size: 0.8rem;
    line-height: 1.4;
}
.mls-footer-last-checked {
    margin: 0.5rem 0 0 0;
    font-size: 0.8rem;
}

.rental-detail-icon-paw::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.5 12c.5-1.5 2.5-2 4-2 2 0 3.5 1.5 3.5 3.5 0 2.5-2.5 4-5 4-1.5 0-2.5-.5-3-1'/%3E%3Cpath d='M12 12c-.5-1.5-2.5-2-4-2-2 0-3.5 1.5-3.5 3.5 0 2.5 2.5 4 5 4 1.5 0 2.5-.5 3-1'/%3E%3Cpath d='M9 10c-1 .5-2 2-2 3 0 2 1.5 3.5 4 3.5'/%3E%3Cpath d='M15 10c1 .5 2 2 2 3 0 2-1.5 3.5-4 3.5'/%3E%3Cpath d='M12 7c0 1.5-1 3-2.5 3S7 8.5 7 7s1-3 2.5-3 2.5 1.5 2.5 3z'/%3E%3C/svg%3E");
}
.rental-detail-map-section {
    margin-top: 2rem;
}
.rental-detail-map-section h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #3d91e5;
}
.rental-map {
    height: 300px;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}
/* Fix Leaflet zoom control + / - alignment (Pico/global styles can offset them) */
.rental-map .leaflet-control-zoom a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font: bold 18px/1 'Lucida Console', Monaco, monospace !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    padding: 0 !important;
}