/* Flash Container */
#flash-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Common Flash Message Styles */
.flash-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 24rem;
  padding: 1rem;
  border: 1px solid;
  border-radius: 0.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  font-family: sans-serif;
}

/* Success Styling */
.flash-message.success {
  background-color: #d1fae5;
  color: #047857;
  border-color: #6ee7b7;
}

/* Error Styling */
.flash-message.error {
  background-color: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}

/* Icon and Text */
.icon-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Icon Size */
.icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Close Button */
.close-button {
  margin-left: 1rem;
  background: none;
  border: none;
  color: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.close-button:hover {
  color: #000;
}

.close-button:focus {
  outline: none;
}
