.formSentPopUpModal {
  display: none;
  position: fixed;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--contact-background-dark);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--contact-text-color);
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.formSentPopUpContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.formSentPopUpTitle {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

/* PROGRESS BAR */

.progressContainer {
  position: relative;
  width: 100%; /* Fills the content width */
  height: 5px;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
}

.progressBar {
  width: 0;
  height: 100%;
  background-color: var(--contact-progress-bar);
  transition: width linear;
}

/* CLOSE BUTTON */

.formSentPopupFailManualEmailButton {
  display: inline-block;
  padding: 1vh 2vw;
  font-size: 1em;
  color: var(--contact-button-text-color);
  background-color: var(--contact-send-failed-open-mail-button-background-color);
  border: none;
  border-radius: 0.5em;
  cursor: pointer;
  font-weight: bold;
}

.formSentPopupFailManualEmailButton:hover, .formSentPopupFailCloseButton:hover {
  background-color: var(--contact-send-button-hover-background-color);
}

/* CLOSE MODAL */

.formSentPopupFailCloseButton {
	display: inline-block;
	padding: 0.5vh 1vw;
	font-size: 0.8em;
	color: var(--contact-button-text-color);
	background-color: var(--contact-send-failed-button-background-color-close);
	border: none;
	border-radius: 0.5em;
	cursor: pointer;
	font-weight: bold;
}

.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5em;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #ddd;
}