/* ========================================
   AREAMAP PAGE STYLES
   Simple, Formal & Modern Design
   ======================================== */

.areamap-section {
    padding: 4rem 0;
    background: #f8fafc;
    min-height: 60vh;
}

.areamap-header {
    text-align: center;
    margin-bottom: 3rem;
}

.areamap-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.areamap-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
}

/* Filters */
.areamap-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #2d5a9c;
    color: #2d5a9c;
    background: rgba(45, 90, 156, 0.05);
}

.filter-btn.active {
    background: #2d5a9c;
    color: #ffffff;
    border-color: #2d5a9c;
}

/* Grid Layout */
.areamap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Card Design */
.areamap-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.areamap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #2d5a9c;
}

.areamap-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(45, 90, 156, 0.1) 0%, rgba(45, 90, 156, 0.05) 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.areamap-card:hover .areamap-card-icon {
    background: linear-gradient(135deg, rgba(45, 90, 156, 0.15) 0%, rgba(45, 90, 156, 0.1) 100%);
    transform: scale(1.1);
}

.areamap-card-icon i {
    font-size: 1.25rem;
    color: #2d5a9c;
    transition: all 0.3s ease;
}

.areamap-card:hover .areamap-card-icon i {
    color: #1e3a5f;
    transform: scale(1.1);
}

.areamap-card-content {
    flex: 1;
    min-width: 0;
}

.areamap-card-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #f3f4f6;
    border-radius: 0.25rem;
}

.areamap-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Stats Section */
.areamap-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: #f8fafc;
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(45, 90, 156, 0.1) 0%, rgba(45, 90, 156, 0.05) 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: #2d5a9c;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

/* Empty State */
.areamap-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border-radius: 0.75rem;
    border: 2px dashed #e5e7eb;
}

.areamap-empty i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.areamap-empty p {
    font-size: 1.1rem;
    color: #9ca3af;
    margin: 0;
}

/* Responsive Design - Tablet */
@media (max-width: 991.98px) {
    .areamap-section {
        padding: 3rem 0;
    }

    .areamap-header {
        margin-bottom: 2rem;
    }

    .areamap-title {
        font-size: 1.75rem;
    }

    .areamap-subtitle {
        font-size: 1rem;
    }

    .areamap-filters {
        margin-bottom: 2rem;
    }

    .areamap-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.25rem;
    }

    .areamap-card {
        padding: 1.25rem;
    }

    .areamap-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 767.98px) {
    .areamap-section {
        padding: 2.5rem 0;
    }

    .areamap-header {
        margin-bottom: 1.5rem;
    }

    .areamap-title {
        font-size: 1.5rem;
    }

    .areamap-subtitle {
        font-size: 0.95rem;
    }

    .areamap-filters {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
    }

    .areamap-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .areamap-card {
        padding: 1.25rem;
        gap: 0.875rem;
    }

    .areamap-card-icon {
        width: 44px;
        height: 44px;
    }

    .areamap-card-icon i {
        font-size: 1.1rem;
    }

    .areamap-card-name {
        font-size: 1rem;
    }

    .areamap-card-type {
        font-size: 0.7rem;
    }

    .areamap-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem;
        margin-top: 2rem;
    }

    .stat-item {
        padding: 0.875rem;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
    }

    .stat-icon i {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }
}

