/**
 * HYDRAA FTL 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 {
    --hf-primary: #ff6725;
    --hf-primary-dark: #e55a1b;
    --hf-primary-light: #ff8c5c;
}

/* 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;
    letter-spacing: -0.3px;
}

.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; }

/* ─── Guidance / Info Sections (below map) ─── */

.hf-guidance-section { margin-bottom: 24px; }
.hf-guidance-section h6 {
    font-size: 14px;
    font-weight: 700;
    color: #e55a1b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #fff3ed;
}
.hf-guidance-section p,
.hf-guidance-section li {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}
.hf-guidance-section ul,
.hf-guidance-section ol { padding-left: 20px; margin-bottom: 0; }
.hf-guidance-section li { margin-bottom: 6px; }

/* Step Cards */
.hf-step-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 12px;
}
.hf-step-card {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #fff3ed;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hf-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13,71,161,0.1);
}
.hf-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e55a1b;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}
.hf-step-card h6 {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    border: none;
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
}
.hf-step-card p { font-size: 12px; color: #777; margin: 0; line-height: 1.5; }

/* Risk Alert Banner */
.hf-risk-alert {
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.hf-risk-alert i { color: #e65100; font-size: 20px; margin-top: 2px; }
.hf-risk-alert-content h6 { font-size: 14px; font-weight: 700; color: #e65100; margin: 0 0 4px; border: none; padding: 0; text-transform: none; letter-spacing: 0; }
.hf-risk-alert-content p { font-size: 13px; color: #bf360c; margin: 0; line-height: 1.5; }

/* Lake Table */
.hf-lake-table-wrapper { overflow-x: auto; margin-top: 12px; }
.hf-lake-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hf-lake-table thead th { background: #e55a1b; color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; font-size: 13px; white-space: nowrap; }
.hf-lake-table thead th:first-child { border-radius: 8px 0 0 0; }
.hf-lake-table thead th:last-child { border-radius: 0 8px 0 0; }
.hf-lake-table tbody td { padding: 10px 16px; border-bottom: 1px solid #fff3ed; color: #444; }
.hf-lake-table tbody tr:hover { background: #f5f8ff; }
.hf-lake-table tbody tr:last-child td { border-bottom: none; }
.hf-lake-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 12px; }
.hf-lake-badge.high { background: #fff3ed; color: #c62828; }
.hf-lake-badge.moderate { background: #fff3e0; color: #e65100; }
.hf-lake-badge.active { background: #fff3ed; color: #ff6725; }

/* Info Boxes */
.hf-info-box {
    background: #f5f8ff;
    border: 1px solid #fff3ed;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
}
.hf-info-box h6 { font-size: 14px; font-weight: 700; color: #e55a1b; margin-bottom: 6px; border: none; padding: 0; text-transform: none; letter-spacing: 0; }
.hf-info-box p { font-size: 13px; color: #555; margin: 0; line-height: 1.6; }

/* Buffer vs FTL Comparison */
.hf-comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.hf-comparison-card { padding: 20px; border-radius: 12px; border: 1px solid #fff3ed; }
.hf-comparison-card.ftl-card { background: #fff3ed; border-color: #ffd6c2; }
.hf-comparison-card.buffer-card { background: #fff8e1; border-color: #ffecb3; }
.hf-comparison-card h6 { font-size: 15px; font-weight: 700; margin-bottom: 8px; border: none; padding: 0; text-transform: none; letter-spacing: 0; }
.hf-comparison-card.ftl-card h6 { color: #c62828; }
.hf-comparison-card.buffer-card h6 { color: #e65100; }
.hf-comparison-card ul { padding-left: 18px; margin: 0; }
.hf-comparison-card li { font-size: 13px; color: #555; margin-bottom: 4px; line-height: 1.6; }

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

/* SEO Article */
#tool-article h2 { font-size: 22px; font-weight: 700; color: #e55a1b; margin-bottom: 18px; }
#tool-article h3 { font-size: 17px; font-weight: 700; color: #ff6725; margin: 24px 0 10px; }
#tool-article p { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 14px; }
#tool-article ul, #tool-article ol { padding-left: 20px; margin-bottom: 14px; }
#tool-article li { font-size: 15px; line-height: 1.7; color: #444; margin-bottom: 6px; }

/* Mobile */
@media (max-width: 768px) {
    .info-grid { grid-template-columns: 1fr; }
    .hf-step-cards { grid-template-columns: 1fr 1fr; }
    .hf-comparison-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .hf-step-cards { grid-template-columns: 1fr; }
    #tool-article h2 { font-size: 19px; }
    #tool-article h3 { font-size: 16px; }
    #tool-article p, #tool-article li { font-size: 14px; }
    .hf-lake-table { font-size: 13px; }
    .hf-lake-table thead th, .hf-lake-table tbody td { padding: 8px 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, .hf-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: 'HYDRAA FTL Check — Source: tg.verified.realestate';
        display: block;
        font-size: 12px;
        color: #666;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #ddd;
    }
}
