/* Cartão de mensagem atualizado */
.message-card {
  background-color: #ffffff; /* branco suave */
  border-radius: 12px;
  padding: 30px;
  flex: 1 1 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Efeito ao passar o mouse */
.message-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Cabeçalho do cartão */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 15px;
}

.user-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4a4f63;
}

.user-info p {
  font-size: 0.9rem;
  color: #777;
  margin-top: 5px;
}

.icon-trash {
  font-size: 20px;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease;
}

.icon-trash:hover {
  color: #ff4d4d;
}

/* Corpo do cartão */
.card-body {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.card-body strong {
  display: block;
  margin-bottom: 8px;
  color: #4a4f63;
  font-size: 1rem;
}

/* Rodapé do cartão */
.card-footer {
  display: flex;
  justify-content: flex-end;
}

.btn-reply {
  background-color: #3f72fd;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-reply:hover {
  background-color: #315bcc;
  transform: scale(1.03);
}


/* Responsivo para evitar sobreposição em telas menores */
@media (max-width: 768px) {
  body {
    padding-left: 80px; /* Sidebar menor */
  }

  .cards-wrapper {
    grid-template-columns: 1fr;
  }
}



.notificacao-modal {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #ffffff;
  color: #333;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  animation: slideIn 0.3s ease forwards;
  font-family: "Segoe UI", sans-serif;
}

.notificacao-modal ion-icon {
  font-size: 24px;
}

.notificacao-modal button {
  margin-left: auto;
  background-color: transparent;
  border: none;
  font-weight: bold;
  cursor: pointer;
  color: inherit;
  padding: 5px 10px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.notificacao-modal button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.sucesso {
  border-left: 5px solid #28a745;
  color: #28a745;
}

.erro {
  border-left: 5px solid #dc3545;
  color: #dc3545;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.notificacao-modal.confirmacao {
  background-color: #fff;
  color: #333;
  border-left: 5px solid #ffc107; /* cor amarela para aviso */
}

.modal-conteudo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: start;
}

.modal-conteudo ion-icon {
  font-size: 26px;
  color: #ffc107;
}

.modal-botoes {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  align-self: flex-end;
}

.btn-confirmar {
  background-color: #3f72fd;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.btn-cancelar {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.btn-confirmar:hover {
  background-color: #315bcc;
}

.btn-cancelar:hover {
  background-color: #d32f2f;
}