/* Estilos para los botones de población vulnerable */
.btn-poblacion {
    background: linear-gradient(135deg, #2B96CC 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(43, 150, 204, 0.3);
}

.btn-poblacion:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(43, 150, 204, 0.4);
    color: white;
}

/* Estilos para los modales de población */
.modal-poblacion {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content-poblacion {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header-poblacion {
    background: linear-gradient(135deg, #2B96CC 0%, var(--secondary-color) 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: between;
    align-items: center;
}

.modal-header-poblacion h2 {
    margin: 0;
    font-size: 1.5rem;
    flex: 1;
}

.close-poblacion {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-poblacion:hover {
    color: #f8f9fa;
}

.modal-body-poblacion {
    padding: 30px;
}

.modal-footer-poblacion {
    padding: 20px 30px;
    background-color: #f8f9fa;
    border-radius: 0 0 15px 15px;
    text-align: right;
    border-top: 1px solid #dee2e6;
}

/* Estilos para secciones de información */
.info-section {
    margin-bottom: 30px;
}

.section-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    margin-bottom: 15px;
    padding-left: 0;
    position: relative;
}

.info-list li:before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.info-link {
    display: block;
    background-color: #e9f7fe;
    padding: 8px 12px;
    border-radius: 5px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 5px;
    border: 1px solid #b8e6ff;
    transition: all 0.3s ease;
}

.info-link:hover {
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
}

.emergency-number {
    display: inline-block;
    background-color: #dc3545;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    margin-left: 10px;
}

/* Estilos para tarjetas de grupos */
.grupo-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.grupo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.grupo-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.grupo-header i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.grupo-header h5 {
    margin: 0;
    font-size: 1.1rem;
}

.grupo-content {
    padding: 20px;
}

.grupo-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.grupo-content li {
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
}

.grupo-content li:before {
    content: "✓";
    color: #28a745;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.btn-grupo {
    display: block;
    text-align: center;
    background-color: var(--accent-color);
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-grupo:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Estilos para recursos adicionales */
.resources-section {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.resource-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.resource-item h6 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.resource-link {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content-poblacion {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header-poblacion {
        padding: 15px 20px;
    }
    
    .modal-header-poblacion h2 {
        font-size: 1.3rem;
    }
    
    .modal-body-poblacion {
        padding: 20px;
    }
    
    .btn-poblacion {
        padding: 15px;
        font-size: 1rem;
    }
}