
.cta-dialog {
  max-width: 420px;
  width: 90%;
  background: #ffffff;
  color: #192342;
  border: none;
  border-radius: 12px;
  padding: 1.5rem 1.25rem 1.25rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
  animation: popIn .25s ease-out;
  letter-spacing: 0.3px;
  padding-top: 0.5rem;
  margin: auto;
}

/* Header / close */
.cta-dialog-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}
.cta-dialog-close-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
  transform: translateX(10px);
}
.cta-dialog-close-btn:hover {
  background: rgba(25,35,66,0.08);
  color: #192342;
}

.cta-dialog-message {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

/* CTA button */
.cta-dialog-action-button {
  width: 100%;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: #192342; /* Mining Hub dark blue */
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(25,35,66,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  max-width: 400px;
}
.cta-dialog-action-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(25,35,66,0.4);
}
.cta-dialog-action-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(25,35,66,0.2);
}

/* Footer */
.cta-dialog-footer-text {
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 1rem;
  text-align: center;
  color: #444;
}
.cta-login-link {
  cursor: pointer;
  color: #192342;
  font-weight: 600;
  margin-left: 4px;
}
.cta-login-link:hover {
  color: #000;
  text-decoration: underline;
}

/* Animations */
@keyframes popIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}