/* Global Animated Loading & Feedback Modals */
.svrb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(3px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: svrbFadeIn 0.2s ease;
}
.svrb-overlay.show {
  display: flex;
}

.svrb-loader-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 40px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  min-width: 260px;
  animation: svrbPopIn 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.svrb-spinner {
  width: 54px;
  height: 54px;
  border: 4px solid #e2e8f0;
  border-top-color: #d91003;
  border-right-color: #14233c;
  border-radius: 50%;
  margin: 0 auto 16px auto;
  animation: svrbSpin 0.8s linear infinite;
}
.svrb-loader-text {
  font-family: 'Ubuntu', 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #14233c;
  margin: 0;
}

.svrb-result-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 34px 30px 28px 30px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: svrbPopIn 0.28s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.svrb-result-card.is-error {
  animation: svrbShake 0.42s ease;
}
.svrb-result-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.svrb-result-icon.success {
  border: 3px solid #2dce89;
  color: #2dce89;
  background: rgba(45, 206, 137, 0.1);
}
.svrb-result-icon.error {
  border: 3px solid #f5365c;
  color: #f5365c;
  background: rgba(245, 54, 92, 0.1);
}
.svrb-result-title {
  font-family: 'Exo', 'Ubuntu', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #172b4d;
  margin: 0 0 10px 0;
}
.svrb-result-msg {
  font-family: 'Roboto', 'Ubuntu', sans-serif;
  font-size: 14.5px;
  color: #525f7f;
  line-height: 1.6;
  margin: 0 0 22px 0;
}
.svrb-result-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  font-family: 'Ubuntu', 'Exo', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.svrb-result-btn.success { background: #5e72e4; }
.svrb-result-btn.error { background: #d91003; }
.svrb-result-btn:hover { opacity: 0.92; transform: translateY(-1px); }

/* Welcome modal pop animation */
.swal-box {
  animation: svrbPopIn 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes svrbSpin {
  to { transform: rotate(360deg); }
}
@keyframes svrbFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes svrbPopIn {
  0% { opacity: 0; transform: scale(0.84); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes svrbShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}
