/* Clases añadidas por main.js: .error-msg, .sent-msg-card */

.error-msg {
  flex-basis: 100%;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: hsl(0, 66%, 54%);
}

.sent-msg-card {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 50;
  max-width: 28rem;
  width: min(100% - 2rem, 90%);
  border-radius: 0.5rem;
  background-color: hsl(187, 24%, 22%);
  color: rgba(255, 255, 255, 0.92);
  padding: 1.5rem 1.75rem;
  transform: translateX(-50%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.sent-msg-card > p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.msg-sent-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.msg-sent-wrapper p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}
