/* Open Button */
.open-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.open-btn:hover {
  background-color: #0056b3;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 19994;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

/* When showing */
.show-popup {
  opacity: 1;
}

/* Popup Content */
.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: scale(0.7);
  animation: popupAnimation 0.3s ease forwards;
}

.popup-content h2 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: bold;
}

/* Popup Animation */
@keyframes popupAnimation {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 52px;
  color: #333;
  cursor: pointer;
}

/* Form Styles */
.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 550;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.input-group input:focus {
  border-color: #007bff;
  outline: none;
}

/* Submit Button */
.submit-btn {
  background-color: #007bff;
  color: white;
  border: none;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.submit-btn.loading {
  padding: 8px;
}

/* Forgot Password Link */
.forgot-password {
  margin-top: 10px;
  text-align: center;
}

.forgot-password a {
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

.forgot-password a:hover {
  text-decoration: underline;
}

/* Loading Spinner */
.loader {
  width: 32px;
  height: 32px;
  border: 3px solid #fff;
  border-bottom-color: #0056b3;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.submit-btn:hover .loader {
  border-bottom-color: #007bff;
}

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