/**
 * HouzezHub Property Requests & Buyer Matchmaker CSS
 */

.hzr-submission-wrapper,
.hzr-directory-wrapper {
    max-width: 1140px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2c3e50;
}

/* Header */
.hzr-form-header,
.hzr-directory-header {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.hzr-form-header h2,
.hzr-directory-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1a202c;
}

.hzr-subtitle {
    font-size: 15px;
    color: #718096;
    margin: 0;
}

.hzr-free-badge {
    background: #e6fffa;
    color: #234e52;
    border: 1px solid #b2f5ea;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Form Cards */
.hzr-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.hzr-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #2d3748;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 10px;
}

.hzr-card-desc {
    font-size: 14px;
    color: #718096;
    margin-bottom: 14px;
}

/* Form Grid */
.hzr-form-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.hzr-form-group {
    padding: 10px;
    box-sizing: border-box;
}

.hzr-col-12 { width: 100%; }
.hzr-col-6  { width: 50%; }
.hzr-col-4  { width: 33.333%; }

@media (max-width: 768px) {
    .hzr-col-6, .hzr-col-4 { width: 100%; }
}

.hzr-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #4a5568;
}

.hzr-input,
.hzr-select,
.hzr-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
    background: #fff;
}

.hzr-input:focus,
.hzr-select:focus,
.hzr-textarea:focus {
    border-color: #00aeff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 255, 0.15);
}

.hzr-budget-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hzr-group-addon {
    font-size: 14px;
    color: #718096;
}

.hzr-currency-select {
    width: auto;
    min-width: 120px;
}

/* Privacy Shield Card */
.hzr-privacy-shield {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
}

.hzr-privacy-shield .dashicons {
    font-size: 24px;
    color: #3182ce;
    width: 24px;
    height: 24px;
}

.hzr-privacy-shield p {
    margin: 0;
    font-size: 13px;
    color: #2b6cb0;
    line-height: 1.5;
}

.hzr-checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-top: 6px;
    font-weight: normal;
    color: #718096;
}

/* Buttons */
.hzr-btn-primary {
    background: #00aeff;
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hzr-btn-primary:hover {
    background: #0090d4;
    color: #fff;
}

.hzr-btn-secondary {
    background: #edf2f7;
    color: #4a5568;
    border: 1px solid #cbd5e0;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.hzr-btn-post-free {
    background: #28a745;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.hzr-btn-post-free:hover {
    background: #218838;
    color: #fff;
}

/* Map Search Bar */
.hzr-map-search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.hzr-map-notice {
    font-size: 12px;
    color: #718096;
    margin-top: 6px;
    font-style: italic;
}

/* Directory Layout */
.hzr-filter-bar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hzr-deal-tabs {
    display: flex;
    gap: 6px;
}

.hzr-tab-btn {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #4a5568;
}

.hzr-tab-btn.active {
    background: #00aeff;
    color: #fff;
    border-color: #00aeff;
}

.hzr-filter-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hzr-btn-filter {
    background: #2d3748;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.hzr-directory-split-layout {
    display: flex;
    gap: 24px;
}

.hzr-directory-map-column {
    width: 50%;
    position: sticky;
    top: 90px;
    height: 600px;
}

.hzr-directory-cards-column {
    width: 50%;
}

@media (max-width: 991px) {
    .hzr-directory-split-layout {
        flex-direction: column;
    }
    .hzr-directory-map-column,
    .hzr-directory-cards-column {
        width: 100%;
        position: static;
        height: auto;
    }
    .hzr-directory-map-column {
        height: 380px;
    }
}

/* Card Styling */
.hzr-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hzr-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.hzr-card.is-active {
    border-color: #00aeff;
    box-shadow: 0 0 0 2px rgba(0, 174, 255, 0.2);
}

.hzr-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.hzr-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}

.hzr-badge-buy { background: #28a745; color: #fff; }
.hzr-badge-rent_long { background: #007bff; color: #fff; }
.hzr-badge-rent_short { background: #17a2b8; color: #fff; }

.hzr-property-type {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
}

.hzr-card-date {
    margin-left: auto;
    font-size: 12px;
    color: #a0aec0;
}

.hzr-card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #1a202c;
}

.hzr-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
    background: #f7fafc;
    padding: 10px 14px;
    border-radius: 6px;
}

.hzr-spec-item {
    font-size: 13px;
}

.hzr-spec-label {
    color: #718096;
}

.hzr-spec-val {
    font-weight: 600;
    color: #2d3748;
}

.hzr-card-notes {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Contact Paywall Box */
.hzr-contact-box {
    border-top: 1px dashed #e2e8f0;
    padding-top: 14px;
}

.hzr-masked-info {
    font-size: 13px;
    color: #718096;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hzr-masked-row {
    display: flex;
    gap: 8px;
}

.hzr-masked-row .hzr-label {
    width: 120px;
    font-weight: 500;
}

.hzr-masked-row .hzr-masked-val {
    font-family: monospace;
    color: #a0aec0;
}

.hzr-unlock-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hzr-btn-unlock-paypal {
    background: #ffc439;
    color: #111;
    border: 1px solid #e0a800;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.hzr-btn-unlock-paypal:hover {
    background: #f4b400;
}

.hzr-btn-unlock-credit {
    background: #e6fffa;
    color: #234e52;
    border: 1px solid #b2f5ea;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.hzr-btn-unlock-credit:hover {
    background: #b2f5ea;
}

/* Unlocked State */
.hzr-unlocked-details {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    padding: 14px 16px;
    border-radius: 8px;
}

.hzr-unlocked-badge {
    font-size: 12px;
    font-weight: 700;
    color: #22543d;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hzr-lead-person {
    font-size: 16px;
    font-weight: 700;
    color: #276749;
    margin-bottom: 8px;
}

.hzr-lead-contact-links {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 14px;
    flex-wrap: wrap;
}

.hzr-lead-contact-links a {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 600;
}

.hzr-lead-contact-links a:hover {
    text-decoration: underline;
}

.hzr-btn-whatsapp {
    background: #25d366;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hzr-btn-whatsapp:hover {
    background: #1ebd5a;
    color: #fff;
}

/* Amenities Selector Pills */
.hzr-amenities-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.hzr-amenity-pill-item {
    cursor: pointer;
    user-select: none;
    margin: 0 !important;
    position: relative;
}

.hzr-amenity-pill-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.hzr-amenity-pill-item .hzr-pill-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    transition: all 0.15s ease;
}

.hzr-amenity-pill-item:hover .hzr-pill-box {
    border-color: #94a3b8;
    background: #f1f5f9;
}

.hzr-amenity-pill-item input:checked + .hzr-pill-box {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
}

.hzr-amenity-pill-item .hzr-check-icon {
    font-size: 15px;
    width: 15px;
    height: 15px;
    display: none;
    color: #2563eb;
}

.hzr-amenity-pill-item input:checked + .hzr-pill-box .hzr-check-icon {
    display: inline-block;
}

/* Single View Amenities Tags */
.hzr-amenities-display-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hzr-amenity-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    color: #166534;
    font-size: 13px;
    font-weight: 600;
}

.hzr-rental-dates-banner {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 4px solid #0284c7;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}



/* Management and proposal forms use the same readable spacing as request forms. */
.hzr-dashboard .hzr-workflow-form { margin: 12px 0; }
.hzr-workflow-form label { display: block; margin: 10px 0; }
.hzr-workflow-form input:not([type="hidden"]):not([type="checkbox"]),
.hzr-workflow-form select, .hzr-workflow-form textarea { width: 100%; max-width: 560px; padding: 10px; border: 1px solid #cbd5e1; border-radius: 6px; }
.hzr-workflow-form button { padding: 10px 16px; border: 0; border-radius: 6px; background: #155e75; color: white; cursor: pointer; }
.hzr-trust-signals { margin: 12px 0; padding: 10px; background: #f0f9ff; color: #164e63; border-radius: 6px; font-size: 14px; }
.hzr-workflow-form textarea { min-height: 90px; }
