/* ═══════════════════════════════════════════════
   E-FUTEBOL.NET — SECAR ALLY BLOCKED MODAL
   Same structural skeleton as dry_balance modal,
   indigo accent to differentiate from sky-blue.
   ═══════════════════════════════════════════════ */

#secar-ally-modal-container:empty { display: none; }

body.secar-ally-modal-open { overflow: hidden; }

/* ── Overlay & backdrop ── */

.secar-ally-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.secar-ally-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 20, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ── Card ── */

.secar-ally-modal-card {
  --sam-accent: #6366f1;
  --sam-accent-soft: rgba(99, 102, 241, 0.1);
  --sam-accent-glow: rgba(99, 102, 241, 0.25);

  position: relative;
  z-index: 9302;
  background: #ffffff;
  border-radius: 20px;
  max-width: 460px;
  width: 100%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.18),
    0 4px 16px rgba(0, 0, 0, 0.08);
  animation: secar-ally-modal-in 0.36s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes secar-ally-modal-in {
  0%   { transform: scale(0.86) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* ── Identity zone ── */

.secar-ally-modal-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.75rem 1.5rem;
  background: var(--sam-accent-soft);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.secar-ally-modal-identity::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--sam-accent);
  border-radius: 0 0 3px 3px;
}

.secar-ally-modal-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sam-accent);
  color: #ffffff;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px var(--sam-accent-glow);
}

.secar-ally-modal-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.45rem;
  letter-spacing: -0.01em;
}

.secar-ally-modal-desc {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.55;
  margin: 0;
  max-width: 360px;
}

/* ── Action zone ── */

.secar-ally-modal-action {
  padding: 1.5rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.secar-ally-modal-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.9rem 0.75rem;
  background: var(--sam-accent-soft);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.18);
}

.secar-ally-modal-countdown-label {
  font-size: 0.72rem;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.secar-ally-modal-countdown-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--sam-accent);
  font-variant-numeric: tabular-nums;
}

.secar-ally-modal-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.secar-ally-modal-body p {
  margin: 0;
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.6;
}

.secar-ally-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.secar-ally-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.78rem 1.5rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.secar-ally-modal-btn--primary {
  background: var(--sam-accent);
  color: #ffffff;
}

.secar-ally-modal-btn--primary:hover {
  background: #4f46e5;
}

.secar-ally-modal-btn--primary:active {
  transform: scale(0.98);
}

.secar-ally-modal-btn--ghost {
  background: transparent;
  color: #4b5563;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.secar-ally-modal-btn--ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* ── Dark theme ── */

[data-theme="dark"] .secar-ally-modal-card {
  background: #111827;
}

[data-theme="dark"] .secar-ally-modal-identity {
  background: rgba(99, 102, 241, 0.14);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .secar-ally-modal-title {
  color: #f9fafb;
}

[data-theme="dark"] .secar-ally-modal-desc,
[data-theme="dark"] .secar-ally-modal-body p,
[data-theme="dark"] .secar-ally-modal-countdown-label {
  color: #d1d5db;
}

[data-theme="dark"] .secar-ally-modal-countdown {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.32);
}

[data-theme="dark"] .secar-ally-modal-countdown-value {
  color: #a5b4fc;
}

[data-theme="dark"] .secar-ally-modal-btn--ghost {
  color: #d1d5db;
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .secar-ally-modal-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}
