body {
    background-color: skyblue;
}

.email-verification-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    padding: 0.8rem 1rem;
    background: #fff3cd;
    border-bottom: 1px solid #e5c65b;
    color: #664d03;
    font-weight: 700;
    text-align: center;
}

.email-verification-banner form {
    margin: 0;
}

.email-verification-banner button {
    border: 0;
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    background: #007a52;
    color: #fff;
    font: inherit;
    font-size: 0.88rem;
    cursor: pointer;
}

.email-verification-banner button:hover {
    background: #005f40;
}

.app-install[hidden],
.app-install-modal[hidden],
.app-install-help[hidden] {
    display: none !important;
}

.app-install-trigger {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    background: #007a52;
    color: #fff;
    font: inherit;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.app-install-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.app-install-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.app-install-card {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    border-radius: 20px;
    padding: 1.5rem;
    background: #fff;
    color: #17211e;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.app-install-card img {
    border-radius: 16px;
}

.app-install-card h2 {
    margin: 0.8rem 0 0.4rem;
}

.app-install-card p {
    margin: 0 0 1rem;
    color: #52615c;
}

.app-install-close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    border: 0;
    background: transparent;
    color: #33413c;
    font-size: 1.8rem;
}

.app-install-actions {
    display: grid;
    gap: 0.7rem;
}

.app-install-choice {
    border: 0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    background: #007a52;
    color: #fff;
    font: inherit;
    font-weight: 800;
}

.app-install-choice-secondary {
    background: #17211e;
}

.app-install-help {
    margin-top: 1rem;
    border-radius: 10px;
    padding: 0.85rem;
    background: #eef9f4;
    color: #164c39;
    line-height: 1.5;
}

.install-modal-open {
    overflow: hidden;
}

.property-form-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(1rem, 4vw, 2rem) 0 clamp(2rem, 6vw, 4rem);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: #007a52;
    font-weight: 800;
    text-decoration: none;
}

.back-link::before {
    content: "<";
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #e9fff5;
    color: #007a52;
}

.property-form-card {
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.property-form-header {
    padding: clamp(1.25rem, 4vw, 2rem);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(0, 122, 82, 0.95), rgba(0, 199, 130, 0.86)),
        linear-gradient(45deg, #0d0d0d, #00a86b);
}

.form-eyebrow {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.property-form-header h1 {
    margin: 0;
    font-size: clamp(1.7rem, 5vw, 2.35rem);
    line-height: 1.1;
}

.property-form-header p {
    max-width: 640px;
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
}

.property-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.15rem;
    padding: clamp(1.25rem, 4vw, 2rem);
}

.form-group {
    display: grid;
    min-width: 0;
    gap: 0.45rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    color: #263241;
    font-size: 0.9rem;
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d8dee8;
    border-radius: 11px;
    background: #f8fafc;
    color: #0f172a;
    font: inherit;
    padding: 0.82rem 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-group textarea {
    min-height: 132px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8a96a8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00a86b;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 168, 107, 0.14);
}

.form-group ul,
.form-error,
.invalid-feedback {
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    color: #dc2626;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-group li {
    color: #dc2626;
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.photo-uploader {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px dashed #a7b5c7;
    border-radius: 14px;
    background: #f8fafc;
}

.photo-uploader-list {
    display: grid;
    gap: 0.65rem;
}

.photo-uploader-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.photo-uploader-input {
    min-height: auto;
    border: 0;
    background: transparent;
    padding: 0.25rem 0;
}

.photo-add-button,
.photo-remove-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.photo-add-button {
    background: #00a86b;
    box-shadow: 0 10px 22px rgba(0, 168, 107, 0.24);
}

.photo-add-button span {
    font-size: 1.25rem;
    line-height: 0.8;
}

.photo-remove-button {
    width: 38px;
    padding: 0;
    background: #dc2626;
    font-size: 1rem;
}

.form-help {
    margin: 0.35rem 0 0;
    color: #64748b;
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5eaf1;
}

.form-actions .btn {
    min-width: 150px;
}

@media (max-width: 760px) {
    .property-form {
        grid-template-columns: 1fr;
    }

    .photo-uploader {
        grid-template-columns: 1fr;
    }

    .photo-add-button,
    .form-actions .btn {
        width: 100%;
    }
}
.show-container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 1.5rem 0 4rem; }
.show-card { margin-top: 1.25rem; padding: clamp(1rem, 2.5vw, 1.75rem); border: 1px solid #e5e7eb; border-radius: 20px; background: #fff; box-shadow: 0 16px 45px rgba(15, 23, 42, .07); }
.property-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #64748b; font-size: .82rem; }
.property-toolbar .show-actions { margin: 0; }
.property-cover { border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06); }
.property-gallery img { transition: transform .2s ease, box-shadow .2s ease; }
.property-gallery img:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(15, 23, 42, .14); }
.property-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 340px); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 1.75rem; }
.property-tags { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; margin-bottom: .9rem; }
.property-main-info h1 { margin: 0; color: #0f172a; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.12; }
.property-location { margin: .7rem 0 0; color: #64748b; font-size: 1rem; }
.property-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: .75rem; margin: 1.75rem 0; }
.property-features span { display: grid; gap: .2rem; padding: .9rem 1rem; border: 1px solid #d8f3e7; border-radius: 12px; background: #f3fbf7; color: #14532d; }
.property-features small { color: #64748b; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.property-features strong { font-size: 1rem; }
.property-description { padding-top: 1.4rem; border-top: 1px solid #e5e7eb; }
.property-description h2 { margin: 0 0 .75rem; color: #0f172a; font-size: 1.15rem; }
.property-description p { margin: 0; color: #475569; line-height: 1.8; }
.property-summary { align-self: start; position: sticky; top: 1.25rem; padding: 1.35rem; border: 1px solid #dbe5e1; border-radius: 16px; background: linear-gradient(145deg, #fff, #f5fbf8); box-shadow: 0 15px 35px rgba(15, 23, 42, .08); }
.property-price-label { display: block; margin-bottom: .25rem; color: #64748b; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.show-price { color: #007a52; font-size: clamp(1.55rem, 3vw, 2rem); font-weight: 900; line-height: 1.2; }
.show-price small { font-size: .72rem; font-weight: 800; }
.owner-card { display: flex; align-items: center; gap: .8rem; margin: 1.25rem 0; padding: 1rem 0; border-top: 1px solid #dbe5e1; border-bottom: 1px solid #dbe5e1; }
.owner-avatar { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: #007a52; color: #fff; font-size: .9rem; font-weight: 900; }
.owner-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.owner-avatar-button { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; }
.owner-avatar-button:focus-visible { outline: 3px solid #00a86b; outline-offset: 3px; }
.profile-photo-dialog { width: auto; max-width: 96vw; padding: 0; border: 0; border-radius: 18px; background: transparent; box-shadow: 0 25px 70px rgba(0, 0, 0, .45); overflow: visible; }
.profile-photo-dialog::backdrop { background: rgba(3, 15, 11, .82); backdrop-filter: blur(4px); }
.profile-photo-dialog img { display: block; width: auto; max-width: min(92vw, 900px); height: auto; max-height: 88vh; border-radius: 18px; object-fit: contain; background: #071d17; }
.profile-photo-dialog-close { position: absolute; top: -14px; right: -14px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #071d17; color: #fff; font-size: 25px; line-height: 1; cursor: pointer; }
@media (max-width: 520px) { .profile-photo-dialog img { max-width: 94vw; max-height: 82vh; border-radius: 12px; } .profile-photo-dialog-close { top: 8px; right: 8px; } }
.owner-card span, .owner-card strong { display: block; }
.owner-card span { margin-bottom: .2rem; color: #64748b; font-size: .75rem; }
.owner-card strong { color: #0f172a; }
.property-summary .btn-whatsapp { width: 100%; padding: .8rem 1rem; text-align: center; }
.property-safety { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid #dbe5e1; color: #64748b; font-size: .76rem; line-height: 1.5; }
.report-card summary { cursor:pointer; font-weight:700; color:#991b1b; }
.report-login-prompt { display:grid; gap:1rem; justify-items:start; padding-top:1rem; }
.report-login-prompt p { margin:0; color:#4b5563; }
.form-check { display:flex; align-items:center; gap:.5rem; }
.form-check input { width:auto; }

.property-owner { color: #4b5563; font-size: .95rem; }
.reviews-card h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.reviews-summary { color: #4b5563; margin-bottom: 1rem; }
.stars-display, .review-stars { color: #f5a623; letter-spacing: .08em; }
.review-form { display: grid; gap: .75rem; margin-bottom: 1.5rem; padding: 1rem; background: #f9fafb; border-radius: 10px; }
.review-form textarea { width: 100%; resize: vertical; }
.star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; border: 0; padding: 0; margin: 0; }
.star-rating legend { width: 100%; margin-bottom: .35rem; font-weight: 600; }
.star-rating input { position: absolute; opacity: 0; pointer-events: none; }
.star-rating label { color: #d1d5db; cursor: pointer; font-size: 2rem; line-height: 1; }
.star-rating label:hover, .star-rating label:hover ~ label, .star-rating input:checked ~ label { color: #f5a623; }
.star-rating input:focus-visible + label { outline: 2px solid var(--color-secondary); outline-offset: 2px; }
.review-item { padding: .9rem; background: #f9fafb; border-radius: 8px; margin-top: .75rem; border-left: 3px solid var(--color-secondary); }
.review-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; }
.review-item p, .reviews-empty, .review-login { color: #374151; font-size: .9rem; line-height: 1.5; }

@media (max-width: 800px) {
    .property-detail-grid { grid-template-columns: 1fr; }
    .property-summary { position: static; }
    .property-toolbar { align-items: flex-start; flex-direction: column; }
    .property-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .show-container { width: min(100% - 1rem, 1180px); padding-top: .75rem; }
    .show-card { padding: .75rem; border-radius: 14px; }
    .property-cover { border-radius: 10px; }
    .property-gallery { gap: .5rem; }
    .property-gallery img { min-height: 95px; }
    .property-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .review-heading { align-items: flex-start; flex-direction: column; }
}
.property-contact-buttons { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.phone-reveal-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; border-radius: 999px; background: #eb0750; color: #fff; padding: .65rem 1rem; font: inherit; font-size: .875rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; }
.phone-reveal-button:hover { background: #c90543; color: #fff; }
.property-contact-buttons .phone-reveal-button { background: #25d366; }
.property-contact-buttons .phone-reveal-button:hover { background: #20bd5a; }
.phone-reveal-button:focus-visible, .phone-safety-close:focus-visible { outline: 3px solid #182344; outline-offset: 3px; }
.phone-safety-dialog { box-sizing: border-box; width: min(600px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 1.5rem 2.5rem; border: 0; border-radius: 18px; background: #fff; color: #42617c; box-shadow: 0 20px 70px #0003; }
.phone-safety-dialog::backdrop { background: rgb(15 23 42 / 55%); }
.phone-safety-close { position: absolute; top: .5rem; right: .8rem; border: 0; background: transparent; color: #42617c; font-size: 1.8rem; cursor: pointer; }
.phone-safety-illustration { display: flex; justify-content: center; }
.phone-safety-dialog h2 { margin: .75rem 0 1rem; color: #25d366; text-align: center; font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 800; }
.phone-safety-dialog ol { margin: 0 0 1rem; padding-left: 1.25rem; line-height: 1.6; }
.phone-safety-dialog li + li { margin-top: .7rem; }
.phone-safety-confirm { min-width: 120px; font-size: 1.1rem; background: #25d366; }
.phone-safety-confirm:hover { background: #20bd5a; }
@media (max-width: 480px) { .phone-safety-dialog { padding: 1.5rem; } }
