@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-surface: rgba(255, 255, 255, 0.1);
  --ffcv-border: rgba(255, 255, 255, 0.25);
  --ffcv-shadow: 0 20px 70px rgba(8, 21, 48, 0.35);
  --ffcv-danger: #ff3f6c;
  --ffcv-success: #00c878;

  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%);
  filter: saturate(1.15);
}

.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;
  letter-spacing: 0.3px;
}

.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;
  line-height: 1.5;
}

.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;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ffcv-field input::placeholder,
.ffcv-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.ffcv-field input:focus,
.ffcv-field select:focus,
.ffcv-field textarea:focus {
  outline: none;
  border-color: rgba(29, 127, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(29, 127, 255, 0.18), 0 7px 18px rgba(9, 26, 58, 0.5);
  transform: translateY(-1px);
}

.ffcv-field textarea {
  min-height: 180px;
  resize: vertical;
}

.ffcv-field small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.ffcv-anonymous-switch {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.ffcv-anonymous-switch p {
  margin: 0.18rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.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;
  cursor: pointer;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  transition: all .22s ease;
}

.ffcv-slider::before {
  content: '';
  position: absolute;
  height: 24px;
  width: 24px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: #fff;
  transition: transform .22s ease;
}

.ffcv-switch input:checked + .ffcv-slider {
  background: linear-gradient(90deg, var(--ffcv-electric), #55a5ff);
  box-shadow: 0 0 0 4px rgba(29, 127, 255, 0.18);
}

.ffcv-switch input:checked + .ffcv-slider::before {
  transform: translateX(24px);
}

.ffcv-hidden {
  display: none !important;
}

.ffcv-hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ffcv-legal-wrap {
  display: grid;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.ffcv-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.ffcv-check input {
  margin-top: 0.2rem;
}

.ffcv-captcha-wrap {
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.04);
}

.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;
  line-height: 1.4;
}

.ffcv-submit-wrap {
  display: flex;
  justify-content: flex-end;
}

.ffcv-submit-btn {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.8rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  background: linear-gradient(90deg, #ff8a00 0%, #ff6600 30%, #1d7fff 100%);
  box-shadow: 0 12px 28px rgba(14, 62, 131, 0.55);
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
}

.ffcv-submit-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.12);
  box-shadow: 0 18px 34px rgba(13, 68, 146, 0.55);
}

.ffcv-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.ffcv-btn-glow {
  position: absolute;
  top: 50%;
  left: -40%;
  width: 40%;
  height: 140%;
  transform: translateY(-50%) rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  animation: ffcvGlow 3.4s linear infinite;
}

.ffcv-submit-btn span:last-child {
  position: relative;
  z-index: 2;
}

@keyframes ffcvGlow {
  0% { left: -45%; }
  100% { left: 140%; }
}

.ffcv-loader {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  border-radius: 18px;
  background: rgba(8, 17, 34, 0.75);
  z-index: 8;
}

.ffcv-loader span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.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, 0.26);
  background: rgba(10, 35, 66, 0.92);
  transform: translateY(10px);
  opacity: 0;
  transition: all .3s ease;
  box-shadow: 0 14px 36px rgba(4, 16, 35, 0.5);
}

.ffcv-toast-success {
  background: rgba(8, 77, 52, 0.9);
}

.ffcv-toast-error {
  background: rgba(116, 10, 36, 0.9);
}

.ffcv-toast-show {
  transform: translateY(0);
  opacity: 1;
}

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

  .ffcv-submit-wrap {
    justify-content: stretch;
  }

  .ffcv-submit-btn {
    width: 100%;
  }
}

@media (prefers-color-scheme: light) {
  .ffcv-canal-wrap {
    color: #04162d;
  }

  .ffcv-canal-header h2 {
    color: #0a2342;
    text-shadow: none;
  }

  .ffcv-kicker {
    color: #1c4a7d;
  }

  .ffcv-canal-card {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(10, 35, 66, 0.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, 0.24);
    background: rgba(255, 255, 255, 0.95);
  }

  .ffcv-field input::placeholder,
  .ffcv-field textarea::placeholder {
    color: #6688ad;
  }

  .ffcv-anonymous-switch,
  .ffcv-legal-wrap {
    border-color: rgba(10, 35, 66, 0.2);
    background: rgba(10, 35, 66, 0.04);
  }
}