/* Popup Message Style */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: var(--bg-black-50);
  border-radius: 15px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: var(--outer-shadow);
  transform: translateY(-20px);
  transition: all 0.4s ease-in-out;
  border: none;
}

.popup-overlay.active .popup-content {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  background-color: rgba(var(--skin-color-rgb), 0.15);
  color: var(--skin-color);
  font-size: 16px;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background-color: var(--skin-color);
  color: var(--bg-black-900);
}

.popup-icon {
  font-size: 50px;
  color: var(--skin-color);
  margin-bottom: 20px;
}

.popup-title {
  font-size: 24px;
  color: var(--text-black-700);
  margin-bottom: 15px;
  font-weight: 600;
}

.popup-message {
  color: var(--text-black-600);
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 16px;
}

.popup-button {
  display: inline-block;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: 500;
  color: var(--skin-color);
  background-color: transparent;
  line-height: 1.5;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s ease;
  border-radius: 30px;
  text-decoration: none;
  width: auto;
  min-width: 160px;
  text-align: center;
  box-shadow: var(--outer-shadow);
  border: none;
  position: relative;
  z-index: 1;
}

.popup-button:hover {
  color: var(--skin-color);
  box-shadow: var(--outer-shadow-0);
}

.popup-button:hover::after {
  box-shadow: var(--inner-shadow);
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  z-index: -1;
}

/* Status message styling */
.status-message {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--bg-black-50);
  padding: 15px 30px;
  border-radius: 30px;
  z-index: 1000;
  box-shadow: var(--outer-shadow);
  display: none;
  min-width: 200px;
  text-align: center;
}

.status-message.active {
  display: block;
  animation: fadeInOut 2.5s ease-in-out;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

.status-message p {
  margin: 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-black-600);
}

.status-message p i {
  margin-right: 10px;
  animation: spin 1.5s linear infinite;
  color: var(--skin-color);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
