/**
 * Buffer Zone Check — Map Tool + Content Styles
 * Map layout styles are in dashcustom.css (vr-map-* classes)
 * Hero styles are in tool-hero.css (tool-search-hero-* classes)
 */

:root {
    --bz-primary: #ff6725;
    --bz-primary-dark: #e55a1b;
}

/* Property Header (result card) */
.property-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.property-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FF6725 0%, #FF8A56 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.25);
}

.property-title h5 { margin: 0 0 4px 0; font-size: 20px; font-weight: 700; color: #1a202c; }
.property-title p { margin: 0; font-size: 13px; color: #718096; font-weight: 500; }

/* Info Grid */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.info-item { background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; display: flex; align-items: center; gap: 12px; transition: all 0.3s ease; }
.info-item:hover { border-color: #ff672540; box-shadow: 0 4px 12px rgba(255, 103, 37, 0.08); transform: translateY(-2px); }
.info-item-icon { width: 38px; height: 38px; background: linear-gradient(135deg, #ff672510 0%, #ff672508 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #ff6725; flex-shrink: 0; }
.info-item-content { flex: 1; min-width: 0; }
.info-item-label { font-size: 11px; font-weight: 600; color: #718096; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.info-item-value { font-size: 14px; font-weight: 600; color: #2d3748; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; word-break: break-word; }

/* Content Animation */
.land-details-section { animation: fadeInContent 0.5s ease; }
@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Result Body Scrollbar */
.vr-map-result-body::-webkit-scrollbar { width: 6px; }
.vr-map-result-body::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.vr-map-result-body::-webkit-scrollbar-thumb { background: #ff6725; border-radius: 10px; }
.vr-map-result-body::-webkit-scrollbar-thumb:hover { background: #e55a1f; }

/* ─── Info Cards Grid ─── */
.bz-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bz-info-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 16px; padding: 24px; transition: all 0.3s; }
.bz-info-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.06); }
.bz-info-card-icon { width: 48px; height: 48px; border-radius: 12px; background: #fff3ed; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #e55a1b; margin-bottom: 14px; }
.bz-info-card h4 { font-size: 15px; font-weight: 700; color: #1f2937; margin: 0 0 8px; }
.bz-info-card p { font-size: 13px; color: #6b7280; line-height: 1.7; margin: 0; }

/* ─── Reference Table ─── */
.bz-ref-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; font-size: 14px; }
.bz-ref-table thead th { background: #fff3ed; color: #e55a1b; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.4px; padding: 14px 18px; text-align: left; }
.bz-ref-table tbody td { padding: 14px 18px; border-bottom: 1px solid #f0f0f0; color: #444; line-height: 1.6; }
.bz-ref-table tbody tr:last-child td { border-bottom: none; }
.bz-ref-table tbody tr:hover { background: #f5fffe; }

/* ─── Comparison Table ─── */
.bz-compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; font-size: 14px; }
.bz-compare-table thead th { background: #fff3ed; color: #e55a1b; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.4px; padding: 14px 16px; text-align: left; }
.bz-compare-table tbody td { padding: 14px 16px; border-bottom: 1px solid #f0f0f0; color: #444; line-height: 1.6; vertical-align: top; }
.bz-compare-table tbody tr:last-child td { border-bottom: none; }
.bz-compare-table tbody tr:hover { background: #f5fffe; }

/* ─── Steps List ─── */
.bz-steps-list { list-style: none; padding: 0; margin: 0; counter-reset: bz-step; }
.bz-steps-list li { position: relative; padding: 14px 0 14px 54px; font-size: 14px; color: #444; line-height: 1.7; border-bottom: 1px solid #f0f0f0; counter-increment: bz-step; }
.bz-steps-list li:last-child { border-bottom: none; }
.bz-steps-list li::before { content: counter(bz-step); position: absolute; left: 0; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: #fff3ed; color: #e55a1b; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ─── Guidance Disclaimer ─── */
.bz-disclaimer { background: #fff8e1; border: 1px solid #ffe082; border-radius: 12px; padding: 16px 20px; font-size: 13px; color: #795548; line-height: 1.7; }
.bz-disclaimer i { color: #ff6725; margin-right: 6px; }

/* ─── FAQ ─── */
.bz-faq-item { border: 1px solid #e8e8e8; border-radius: 10px; margin-bottom: 12px; overflow: hidden; transition: all 0.3s; }
.bz-faq-item.open { border-color: #ff6725; }
.bz-faq-question { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; color: #333; background: #fafafa; }
.bz-faq-question i { transition: transform 0.3s; color: #ff6725; }
.bz-faq-item.open .bz-faq-question i { transform: rotate(180deg); }
.bz-faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s; color: #555; font-size: 14px; line-height: 1.7; }
.bz-faq-item.open .bz-faq-answer { padding: 0 20px 16px; max-height: 600px; }

/* ─── Responsive ─── */
@media (max-width: 991px) { .bz-info-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
    .bz-info-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .bz-ref-table, .bz-compare-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 576px) {
    .bz-steps-list li { padding-left: 46px; }
    .bz-steps-list li::before { width: 30px; height: 30px; font-size: 12px; }
}

/* ─── Print ─── */
@media print {
    .vr-map-search-container, .vr-map-location-btn, .vr-map-instruction,
    .vr-map-legend, .vr-close-btn, .btn,
    .dashboard-side-menu, .dashboard-header,
    .related-tool-card, .related-tools-heading,
    #tool-article, .bz-faq-item, footer, nav, .breadcrumb { display: none !important; }

    .vr-map-result-card {
        position: relative !important;
        box-shadow: none !important;
        border: 1px solid #ddd;
    }

    .vr-map-result-card::before {
        content: 'Buffer Zone Check — Source: tg.verified.realestate';
        display: block;
        font-size: 12px;
        color: #666;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #ddd;
    }
}
