.popup-container {
  position: fixed;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.popup-container.top-right {
  top: 10px;
  right: 10px;
}

.popup-message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  min-width: 260px;
  max-width: 400px;
  font-family: sans-serif;
  animation: fadeIn 0.3s ease-out;
  position: relative;
  color: #fff;
}

.popup-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
  fill: currentColor;
}

.popup-text {
  flex-grow: 1;
}

.popup-close {
  font-size: 24px;
  cursor: pointer;
  color: #ffffff;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #f16f5d;
}

.popup-message.sucesso {
  background: linear-gradient(to left, #107667ed 0%, #242526 90%);
}

.popup-message.erro {
  background: linear-gradient(to left, #e74c3c 0%, #242526 90%);
}

.popup-message.info {
  background: linear-gradient(to left, #3498db 0%, #242526 90%);
}

.popup-message.loading {
  background: linear-gradient(to left, #f39c12 0%, #242526 90%);
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.closing {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}


.popup-confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100002;
  animation: fadeIn 0.3s ease-out;
}

.popup-confirm-content {
  background: linear-gradient(to left, rgb(51, 51, 51) 0%, #242526 90%);
  padding: 36px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 320px;
  max-width: 420px;
  color: #fff;
  font-family: sans-serif;
  text-align: center;
  animation: fadeIn 0.3s ease-out;
}

.popup-confirm-content p {
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.4;
}

.popup-confirm-content button {
  padding: 10px 20px;
  margin: 0 8px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.popup-confirm-content #confirm-btn {
  background-color: #107667;
  color: white;
}

.popup-confirm-content #confirm-btn:hover {
  background-color: #0d5a52;
}

.popup-confirm-content #cancel-btn {
  background-color: #e74c3c;
  color: white;
}

.popup-confirm-content #cancel-btn:hover {
  background-color: #b62f2f;
}

.popup-confirm-modal.closing {
  animation: fadeOut 0.3s ease forwards;
}






.popup-input-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100002;
  animation: fadeIn 0.3s ease-out;
}

.popup-input-content {
  background: linear-gradient(to left, rgb(51, 51, 51) 0%, #242526 90%);
  padding: 36px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 500px;
  max-width: 500px;
  height: 200px;
  color: #fff;
  text-align: center;
  animation: fadeIn 0.3s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.popup-input-content p {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.4;
}

.popup-input-content button {
  padding: 10px 20px;
  margin: 0 8px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.2s ease;
  margin-top: 12px;
}

.popup-input-modal input {
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #444;
  background-color: #2c2c2c;
  color: #fff;
  font-size: 14px;
  width: 90%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.popup-input-content #confirm-btn {
  background-color: #107667;
  color: white;
}

.popup-input-content #confirm-btn:hover {
  background-color: #0d5a52;
}

.popup-input-content #cancel-btn {
  background-color: #e74c3c;
  color: white;
}

.popup-input-content #cancel-btn:hover {
  background-color: #b62f2f;
}

.popup-input-modal.closing {
  animation: fadeOut 0.3s ease forwards;
}

@media (max-width: 767px) {

  .popup-icon {
    width: 40px;
    height: 40px;
  }
}