/* Popup Component Styles */
.forgotDropdownWrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.forgotDropdownWrapper.h-0px {
  opacity: 0;
  pointer-events: none;
}

.forgotDropdownWrapper.h-auto {
  opacity: 1;
  pointer-events: auto;
}

.forgotDropdownWrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.forgotDropdownContent {
  position: relative;
  z-index: 2;
  /* Popup Component Styles */
  background: #fbf6be;
  border: 1px solid #f9f19f;
  color: #222;
  text-align: justify;
  font-size: 14px;
  max-width: 400px;
  padding: 10px 10px;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.forgot-body {
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.forgot-footer {
  padding: 15px 20px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}

.forgot-footer .btn {
  min-width: 100px;
}

/* Popup Confirm Styles */
.removal-reasons {
  animation: fadeIn 0.3s ease;
}

.removal-reasons.closing {
  animation: fadeOut 0.3s ease forwards;
}
.popup-confirm-box {
  display: flex;
  justify-content: end;
  width: 1020px;
}

.popup-confirm-overlay {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

/* Higher z-index for alert/confirm dialogs to appear above other popups */
.popup-confirm-alert {
  z-index: 9999 !important;
}
p, h4 {
  margin-bottom: 5px !important;
}
h2 {
  line-height: normal !important;
}

h2, h3, h4 {
  font-weight: 700 !important;
}
hr {
  margin: 15px 0 !important;
}
.highlight-line {
  background: #f5f6f7;
  border-left: 4px solid #bfbfbf;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
}

.btn-danger {
  background-color: #f44336 !important;
  border-color: #f44336;
  color: white;
}
.btn.btn-ss-icon {
  width: 43px;
  padding-top: 7px;
  padding-bottom: 5px;
}
.popup-confirm-content {
  background: white;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 490px;
  margin-right: 8px;
  margin-top: 50px;
  height: max-content;
  animation: slideIn 0.3s ease;
}
@media screen and (max-width: 768px) {
  .popup-confirm-content {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-width: auto;
  }
}
.popup-confirm-header {
  padding: 15px 20px;
  text-transform: uppercase;
  border-bottom: 1px solid #e5e5e5;
}

.popup-confirm-overlay.ng-hide {
  animation: fadeOut 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.popup-confirm-overlay.closing {
  animation: fadeOut 0.3s ease forwards;
}

.popup-confirm-overlay.closing .popup-confirm-content {
  animation: slideOut 0.3s ease forwards;
}

.popup-confirm-overlay.loading {
  opacity: 0;
}

.popup-confirm-overlay.loading .popup-confirm-content {
  transform: translateY(-20px);
}

.popup-confirm-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.popup-confirm-body {
  /* padding: 20px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600; */
}

.popup-confirm-footer {
  padding: 15px 20px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.popup-confirm-footer .btn {
  min-width: 80px;
}

/* Popup Result Styles */
.popup-result-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.popup-result-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 90%;
  text-align: center;
  animation: slideIn 0.3s ease;
}

.popup-result-icon {
  padding: 20px 20px 10px;
  font-size: 48px;
}

.popup-result-success .popup-result-icon {
  color: #5cb85c;
}

.popup-result-error .popup-result-icon {
  color: #d9534f;
}

.popup-result-warning .popup-result-icon {
  color: #f0ad4e;
}

.popup-result-info .popup-result-icon {
  color: #5bc0de;
}

.popup-result-body {
  padding: 10px 20px 20px;
  font-size: 14px;
  line-height: 1.6;
}

.popup-result-footer {
  padding: 15px 20px;
  text-align: center;
  border-top: 1px solid #e5e5e5;
}

.popup-result-footer .btn {
  min-width: 100px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.question .ta-scroll-window > .ta-bind {
  height: calc(100vh - 460px);
}
@media (max-width: 768px) {
  .question .ta-scroll-window > .ta-bind {
    height: calc(100vh - 510px);
  }
}
