/* Estilo do fundo do modal */
#modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Quando ativado */
#modal-container.active {
    display: flex;
}

/* Estilo do conteúdo do modal */
#emergency-modal {
    background-color: #ffffff;
    width: 50%;
    max-height: 80vh;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Título do modal */
#emergency-modal h1 {
    text-align: center;
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #333;
}

/* Lista de contatos */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

/* Números destacados */
.emergency-number {
    color: #d32f2f;
    font-weight: bold;
}

/* Botão de fechar */
#close-modal-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #333;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

#close-modal-btn:hover {
    background-color: #555;
}