/* Estilos Generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f9;
}

/* Header */
.header-emergencias {
    text-align: center;
    background: linear-gradient(to right, hsl(0, 5%, 92%), hsl(1, 100%, 47%));
    color: white;
    padding: 30px;
}

.header-emergencias h1 {
    margin: 0;
    font-size: 36px;
}

/* Grid Principal */
.grid-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px 10%;
    gap: 20px;
}

/* Imagen */
.img-container img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Cuadro de información */
.info-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 500px;
}

/* Tabla */
.table-container {
    text-align: center;
    padding: 20px;
}

.table-container table {
    width: 80%;
    margin: auto;
    border-collapse: collapse;
    background: white;
}

.table-container th, .table-container td {
    padding: 10px;
    border: 1px solid #ddd;
}

.table-container th {
    background: #ff4e50;
    color: white;
}

/* Sección de Íconos */
.icon-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px;
}

.icon-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 200px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.icon-box img {
    width: 50px;
}

/* Código de Barras */
.barcode-section {
    text-align: center;
    margin: 40px 0;
}

.barcode-section img {
    width: 300px;
}
/* ===================
   PIE DE PÁGINA
   =================== */
   footer {
    background: #2c2c2c;
    color: white;
    padding: 40px 0;
    text-align: left;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    max-width: 300px;
}

.footer-section h3 {
    margin-bottom: 10px;
}

.footer-section p, .footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

/* Íconos de redes sociales */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a img {
    width: 32px;
    height: 32px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid gray;
    padding-top: 10px;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}
