/* SVAADH CUSTOM MODALS */
.s-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30000;
  padding: 20px;
  backdrop-filter: blur(4px);
  animation: sFadeIn 0.2s ease-out;
}

@keyframes sFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.s-modal {
  background: #fff;
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  padding: 24px;
  text-align: center;
  animation: sPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-top: 6px solid #c0392b;
}

@keyframes sPopIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.s-modal-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.s-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 8px;
}

.s-modal-msg {
  font-size: 0.95rem;
  color: #7f8c8d;
  line-height: 1.5;
  margin-bottom: 24px;
}

.s-modal-footer {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.s-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.s-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.s-btn-primary {
  background: #c0392b;
  color: #fff;
}
.s-btn-primary:active { background: #a93226; }

.s-btn-secondary {
  background: #f1f2f6;
  color: #7f8c8d;
}
.s-btn-secondary:active { background: #dfe4ea; }

/* ── LOADING OVERLAY ── */
.s-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20000;
}

.s-loading-msg {
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c0392b;
}

/* ── SPINNER ── */
.s-spinner {
  width: 32px;
  height: 32px;
  border: 4px solid rgba(192, 57, 43, 0.1);
  border-top: 4px solid #c0392b;
  border-radius: 50%;
  animation: sSpin 0.8s linear infinite;
}

.s-btn .s-spinner, .btn .s-spinner {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

@keyframes sSpin { to { transform: rotate(360deg); } }
