/**
 * Flood Inundation Zone Finder — Content Styles
 * Map layout styles are in dashcustom.css (vr-map-* classes)
 */

:root {
    --flood-primary: #ff6725;
    --flood-primary-dark: #e55a1f;
    --flood-primary-light: #ff8c5c;
}

/* Property Header */
.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;
}

/* Regulation Sections */
.regulation-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.regulation-header {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.regulation-header.flood-info { color: #17a2b8; }
.regulation-header.safety { color: #dc3545; }
.regulation-header.preparedness { color: #28a745; }

.regulation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.regulation-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #374151;
    font-size: 13px;
    line-height: 1.6;
}

.regulation-list li:last-child { margin-bottom: 0; }

.regulation-list li:before {
    content: "\2022";
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: #ff6725;
    color: white;
    font-weight: bold;
    font-size: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
}

.info-content {
    color: #374151;
    font-size: 13px;
    line-height: 1.6;
}

/* 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; }

/* FAQ Section */
.fi-faq-item { border-bottom: 1px solid #eee; }
.fi-faq-question { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; cursor: url(../dashboard/images/icon/pointer.svg), pointer !important; font-weight: 600; font-size: 15px; }
.fi-faq-question i { transition: transform 0.3s; color: #ff6725; }
.fi-faq-item.open .fi-faq-question i { transform: rotate(180deg); }
.fi-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.fi-faq-item.open .fi-faq-answer { max-height: 500px; }
.fi-faq-answer p { padding: 0 0 15px 0; color: #555; line-height: 1.7; }

/* Responsive */
@media (max-width: 768px) {
    .info-grid { grid-template-columns: 1fr; }
}

/* Print */
@media print {
    .vr-map-search-container,
    .vr-map-location-btn,
    .vr-map-instruction,
    .vr-map-legend,
    .vr-close-btn,
    .btn { display: none !important; }

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