.realdev-overlay-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgb(255 255 255 / 35%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInOverlay 0.4s ease;
  transition: top 0.15s ease, height 0.15s ease;
  padding: 20px;
  display: none;
}
#realdev-thank-you-display,
.realdev-thankyou-container,
.realdev-overlay-container {
  position: relative;
  z-index: 1;
}
.realdev-btn-action[disabled] {
  opacity: 1 !important;
  text-transform: math-auto;
  letter-spacing: unset;
}
#realdev-thank-you-display,
.realdev-thankyou-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.rd-header-aware {
  scroll-margin-top: var(--rd-header-offset, 100px);
}
@keyframes fadeInOverlay {
  from {
    opacity: 0;
    backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}
.realdev-container-modal {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 50px 40px;
  border-radius: 24px;
  text-align: center;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  animation: slideUpModal 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  z-index: 999999;
}
@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}
.realdev-container-modal::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotateBackground 30s linear infinite;
  pointer-events: none;
}
@keyframes rotateBackground {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.realdev-content-modal {
  position: relative;
  z-index: 1;
}
.realdev-icon-modal {
  margin-bottom: 20px;
  animation: pulseIcon 2s ease-in-out infinite;
}
.realdev-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto;
}
@keyframes pulseIcon {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}
.realdev-title-modal {
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 15px 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.realdev-description-modal {
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  margin-bottom: 35px;
  line-height: 1.5;
}
.realdev-countdown-modal {
  position: relative;
  margin: 40px auto;
  width: 160px;
  height: 160px;
}
.realdev-countdown-circle {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}
.realdev-countdown-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 8;
}
.realdev-countdown-progress {
  fill: none;
  stroke: white;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}
.realdev-countdown-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.realdev-countdown-timer {
  font-size: 56px;
  font-weight: 800;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  line-height: 1;
  margin-bottom: 5px;
}
.realdev-countdown-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}
.realdev-custom-content {
  margin: 25px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}
.realdev-custom-content-above {
  margin-bottom: 30px;
}
.realdev-custom-content-below {
  margin-top: 30px;
}
.realdev-custom-content p {
  color: rgba(255, 255, 255, 0.95);
  margin: 10px 0;
  line-height: 1.6;
}
.realdev-custom-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.realdev-custom-content h3,
.realdev-custom-content h4 {
  color: white;
  margin: 15px 0 10px 0;
}
.realdev-custom-content ul,
.realdev-custom-content ol {
  color: rgba(255, 255, 255, 0.9);
  padding-left: 20px;
}
.realdev-continue-button {
  background: white;
  color: #667eea;
  border: none;
  padding: 10px 20px;
  line-height: 1.5s;
  border-radius: 50px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}
.realdev-continue-button:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  background: #f8f9fa;
}
.realdev-continue-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.realdev-note-modal {
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}
.realdev-btn-action {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0;
}
.realdev-btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}
.realdev-thankyou-container {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.6s ease;
  margin: 1rem auto;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.realdev-thankyou-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 24px;
  padding: 60px 50px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
  min-width: 600px;
  max-width: 800xp;
}
input.realdev-pass-code {
  height: 4rem !important;
  border-radius: 15px !important;
  font-size: 30px !important;
  padding: 10px !important;
  margin: 0 !important;
}
.realdev-thankyou-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotateThankYou 30s linear infinite;
}
@keyframes rotateThankYou {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.realdev-thankyou-icon {
  margin-bottom: 25px;
  animation: successBounce 1s ease infinite;
  position: relative;
  z-index: 1;
}
@keyframes successBounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.05);
  }
}
.realdev-thankyou-title {
  color: white;
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 15px 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}
.realdev-thankyou-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.realdev-pass-code-wrapper {
  margin: 40px 0;
  position: relative;
  z-index: 1;
}
.realdev-pass-code-box {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.realdev-pass-code {
  flex: 1;
  padding: 24px 20px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  border: 3px dashed rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: #667eea;
  letter-spacing: 3px;
  font-family: "Courier New", monospace;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.realdev-pass-code:focus {
  outline: none;
  border-color: white;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
  transform: scale(1.02);
}
.realdev-copy-button {
  background: white;
  color: #667eea;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  height: 4rem;
  margin: 0;
  padding: 15px;
}
.realdev-copy-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: #f8f9fa;
}
.realdev-copy-button.copied {
  background: #28a745;
  color: white;
}
.realdev-thankyou-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0 30px 0;
  position: relative;
  z-index: 1;
}
.realdev-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.realdev-step-number {
  width: 50px;
  height: 50px;
  background: white;
  color: #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.realdev-step-text {
  color: white;
  font-size: 14px;
  max-width: 120px;
  text-align: center;
  line-height: 1.4;
}
.realdev-thankyou-note {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}
.realdev-code-modal {
  display: none !important;
  visibility: hidden !important;
}
@media (max-width: 768px) {
  .realdev-overlay-container {
    padding: 15px;
  }
  .realdev-container-modal {
    padding: 40px 30px;
    width: 95%;
  }
  .realdev-title-modal {
    font-size: 26px;
  }
  .realdev-countdown-timer {
    font-size: 48px;
  }
  .realdev-continue-button {
    padding: 16px 40px;
    font-size: 16px;
  }
  .realdev-custom-content {
    padding: 15px;
    margin: 20px 0;
  }
  .realdev-thankyou-box {
    padding: 50px 30px;
    min-width: auto;
  }
  .realdev-thankyou-title {
    font-size: 28px;
  }
  .realdev-pass-code-box {
    flex-direction: column;
  }
  .realdev-pass-code {
    font-size: 24px;
    padding: 20px;
  }
  .realdev-copy-button {
    flex-direction: row;
    padding: 18px;
  }
  .realdev-thankyou-steps {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .realdev-container-modal {
    padding: 30px 20px;
  }
  .realdev-title-modal {
    font-size: 22px;
  }
  .realdev-description-modal {
    font-size: 14px;
  }
  .realdev-countdown-timer {
    font-size: 40px;
  }
  .realdev-countdown-text {
    font-size: 12px;
  }
  .realdev-continue-button {
    padding: 14px 35px;
    font-size: 15px;
  }
  .realdev-thankyou-container {
    padding: 15px;
  }
  .realdev-thankyou-box {
    padding: 40px 20px;
  }
  .realdev-thankyou-title {
    font-size: 24px;
  }
  .realdev-pass-code {
    font-size: 20px;
    padding: 16px;
    letter-spacing: 2px;
  }
  .realdev-step-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}
@media print {
  .realdev-overlay-container,
  .realdev-btn-action,
  .realdev-copy-button {
    display: none !important;
  }
}
@media (prefers-color-scheme: dark) {
  .realdev-overlay-container {
    background: rgba(0, 0, 0, 0.92);
  }
}
.realdev-continue-button:focus,
.realdev-btn-action:focus,
.realdev-copy-button:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}
.realdev-pass-code:focus {
  outline: 3px solid white;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.realdev-overlay-container[style*="display"] {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.realdev-continue-button {
  display: none;
}
.realdev-countdown-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.realdev-continue-button[style*="display: block"],
.realdev-continue-button[style*="display:block"] {
  display: block !important;
}
.realdev-icon-modal img,
.realdev-thankyou-icon img {
  filter: invert(1);
  max-width: 80px;
  max-height: 80px;
}
.realdev-pass-code-txt {
  flex: 1;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  border-radius: 16px;
}
.realdev-description-modal,
.realdev-note-modal,
.realdev-thankyou-note,
.realdev-thankyou-description,
.realdev-thankyou-title {
  text-align: center;
  color: #fff !important;
}
