@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@600;700;800&family=Roboto:wght@400;500;700&display=swap");

.ffcv-canal-wrap {
  --ffcv-primary: #0a2342;
  --ffcv-primary-2: #153f76;
  --ffcv-electric: #1d7fff;
  --ffcv-accent: #ff8a00;
  --ffcv-white: #ffffff;
  --ffcv-border: rgba(255, 255, 255, 0.25);
  --ffcv-shadow: 0 20px 70px rgba(8, 21, 48, 0.35);

  position: relative;
  padding: 2rem 1rem;
  font-family: 'Inter', 'Roboto', 'Montserrat', sans-serif;
  color: var(--ffcv-white);
  isolation: isolate;
}

.ffcv-canal-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 24px;
  background:
    radial-gradient(60% 60% at 15% 10%, rgba(29, 127, 255, 0.35), transparent 70%),
    radial-gradient(45% 45% at 90% 90%, rgba(255, 138, 0, 0.25), transparent 80%),
    linear-gradient(145deg, var(--ffcv-primary) 0%, #071629 45%, var(--ffcv-primary-2) 100%);
}

.ffcv-canal-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1.2rem, 2.3vw, 2rem);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--ffcv-border);
  box-shadow: var(--ffcv-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ffcv-canal-header h2 {
  margin: 0 0 0.35rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
}

.ffcv-kicker {
  margin: 0;
  color: #8fc2ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.78rem;
}

.ffcv-canal-header p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0.1rem 0 1.4rem;
}

.ffcv-denuncia-form { position: relative; display: grid; gap: 1rem; }
.ffcv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ffcv-field { display: flex; flex-direction: column; gap: 0.35rem; }
.ffcv-field label { font-size: 0.92rem; font-weight: 600; }
.ffcv-field label span { color: var(--ffcv-accent); }

.ffcv-field input,
.ffcv-field select,
.ffcv-field textarea {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(8, 18, 38, 0.56);
  color: var(--ffcv-white);
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  font-size: 0.96rem;
}

.ffcv-field textarea { min-height: 180px; resize: vertical; }
.ffcv-hidden { display: none !important; }
.ffcv-hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.ffcv-anonymous-switch,
.ffcv-legal-wrap,
.ffcv-captcha-wrap {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.9rem 1rem;
}

.ffcv-anonymous-switch { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: center; }

.ffcv-switch { position: relative; width: 56px; height: 32px; display: inline-block; }
.ffcv-switch input { opacity: 0; width: 0; height: 0; }
.ffcv-slider { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.25); }
.ffcv-slider::before { content: ''; position: absolute; height: 24px; width: 24px; left: 4px; top: 4px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.ffcv-switch input:checked + .ffcv-slider::before { transform: translateX(24px); }

.ffcv-captcha-warning {
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 0, 0.6);
  background: rgba(255, 138, 0, 0.14);
  color: #ffe4bf;
  font-size: 0.88rem;
}

.ffcv-submit-wrap { display: flex; justify-content: flex-end; }
.ffcv-submit-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.8rem;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(90deg, #ff8a00 0%, #ff6600 30%, #1d7fff 100%);
}

.ffcv-loader { position: absolute; inset: 0; display: none; place-items: center; border-radius: 18px; background: rgba(8,17,34,.75); z-index: 8; }
.ffcv-loader span { width: 52px; height: 52px; border-radius: 50%; border: 3px solid rgba(255,255,255,.26); border-top-color: #fff; animation: ffcvSpin .9s linear infinite; }
.ffcv-loader-active { display: grid; }
@keyframes ffcvSpin { to { transform: rotate(360deg);} }

.ffcv-toast-host { position: fixed; right: 18px; bottom: 18px; z-index: 9999; display: grid; gap: 0.55rem; pointer-events: none; }
.ffcv-toast { min-width: 280px; max-width: 420px; padding: 0.82rem 0.95rem; border-radius: 12px; color:#fff; font-weight:600; border:1px solid rgba(255,255,255,.26); background: rgba(10,35,66,.92); transform: translateY(10px); opacity:0; transition: all .3s ease; }
.ffcv-toast-success { background: rgba(8,77,52,.9); }
.ffcv-toast-error { background: rgba(116,10,36,.9); }
.ffcv-toast-show { transform: translateY(0); opacity:1; }

@media (max-width: 840px) {
  .ffcv-grid { grid-template-columns: 1fr; }
  .ffcv-submit-btn { width: 100%; }
}

@media (prefers-color-scheme: light) {
  .ffcv-canal-wrap { color: #04162d; }
  .ffcv-canal-header h2 { color: #0a2342; }
  .ffcv-kicker { color: #1c4a7d; }
  .ffcv-canal-card { background: rgba(255,255,255,.88); border-color: rgba(10,35,66,.14); }
  .ffcv-canal-header p, .ffcv-anonymous-switch p, .ffcv-field small { color: #325176; }
  .ffcv-field input, .ffcv-field select, .ffcv-field textarea { color: #08223e; border-color: rgba(10,35,66,.24); background: rgba(255,255,255,.95); }
  .ffcv-anonymous-switch, .ffcv-legal-wrap { border-color: rgba(10,35,66,.2); background: rgba(10,35,66,.04); }
}