/* Quejas y recomendaciones */
.report-page {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(251, 176, 4, 0.16), transparent 27rem),
    radial-gradient(circle at 8% 90%, rgba(197, 2, 103, 0.09), transparent 30rem),
    #050505;
}

.report-header {
  position: relative;
  z-index: 5;
}

.report-hero,
.report-workspace,
.report-gate,
.report-success {
  width: min(1400px, calc(100% - 48px));
  margin-inline: auto;
}

.report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.55fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
  padding: clamp(56px, 8vw, 112px) 0 clamp(50px, 7vw, 92px);
}

.report-hero-copy {
  max-width: 940px;
}

.report-hero h1 {
  margin: 18px 0 24px;
  color: #fff;
  font-size: clamp(3.3rem, 7.5vw, 7.8rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.report-hero h1 span {
  color: #fbb004;
}

.report-hero-copy > p {
  max-width: 770px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}

.report-privacy-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 25px;
  border: 1px solid rgba(251, 176, 4, 0.3);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(251, 176, 4, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.report-privacy-card img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.report-privacy-card strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 1.05rem;
}

.report-privacy-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.55;
}

.report-gate {
  padding-bottom: 90px;
}

.report-gate-card {
  max-width: 800px;
  margin-inline: auto;
  padding: clamp(34px, 6vw, 65px);
  text-align: center;
  border: 1px solid rgba(251, 176, 4, 0.28);
  border-radius: 32px;
  background: rgba(18, 18, 18, 0.9);
}

.report-gate-card h2,
.report-success h2 {
  margin: 12px 0 14px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.045em;
}

.report-gate-card p,
.report-success p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}

.report-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  padding-bottom: 100px;
}

.report-form,
.report-help-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(28, 28, 28, 0.96), rgba(12, 12, 12, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.report-form {
  padding: clamp(24px, 4vw, 52px);
}

.report-form-heading {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 34px;
}

.report-form-heading h2 {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  letter-spacing: -0.05em;
}

.report-user {
  max-width: 280px;
  padding: 10px 14px;
  overflow: hidden;
  color: #111;
  font-size: 0.76rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  background: #fbb004;
}

.report-type-fieldset {
  min-width: 0;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}

.report-type-fieldset legend,
.report-message-field > span {
  display: block;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.report-type-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.report-type-options label {
  position: relative;
  cursor: pointer;
}

.report-type-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.report-type-options label > span {
  display: flex;
  min-height: 105px;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.22);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.report-type-options label:hover > span {
  transform: translateY(-2px);
  border-color: rgba(251, 176, 4, 0.45);
}

.report-type-options input:checked + span {
  color: #0a0a0a;
  border-color: #fbb004;
  background: #fbb004;
}

.report-type-options strong {
  margin-bottom: 5px;
  font-size: 1rem;
}

.report-type-options small {
  color: rgba(255, 255, 255, 0.54);
  line-height: 1.45;
}

.report-type-options input:checked + span small {
  color: rgba(0, 0, 0, 0.65);
}

.report-message-field {
  display: block;
}

.report-message-field textarea {
  width: 100%;
  min-height: 180px;
  resize: vertical;
  padding: 20px;
  color: #fff;
  font: inherit;
  line-height: 1.6;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.28);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.report-message-field textarea:focus {
  border-color: #fbb004;
  box-shadow: 0 0 0 4px rgba(251, 176, 4, 0.09);
}

.report-message-field > small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.76rem;
  text-align: right;
}

.report-upload-card {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.report-upload-heading strong,
.report-upload-heading small {
  display: block;
}

.report-upload-heading strong {
  color: #fff;
  font-size: 0.92rem;
}

.report-upload-heading small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.48);
}

.report-dropzone {
  display: flex;
  min-height: 165px;
  margin-top: 16px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px;
  text-align: center;
  border: 1px dashed rgba(251, 176, 4, 0.48);
  border-radius: 18px;
  background: rgba(251, 176, 4, 0.035);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.report-dropzone:hover,
.report-dropzone.is-dragging {
  transform: translateY(-2px);
  border-color: #fbb004;
  background: rgba(251, 176, 4, 0.1);
}

.report-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.report-dropzone-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  place-items: center;
  color: #050505;
  font-size: 1.7rem;
  font-weight: 500;
  border-radius: 50%;
  background: #fbb004;
}

.report-dropzone strong {
  color: #fff;
  font-size: 0.9rem;
}

.report-dropzone small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

.report-file-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.report-file-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.report-file-item div {
  min-width: 0;
}

.report-file-item strong,
.report-file-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-file-item strong {
  color: #fff;
  font-size: 0.8rem;
}

.report-file-item small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
}

.report-file-item button {
  padding: 7px 10px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: transparent;
}

.report-anonymous-option {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  margin-top: 24px;
  padding: 18px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.2);
}

.report-anonymous-option input {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 22px;
  height: 22px;
  margin: 0;
  opacity: 0;
}

.report-anonymous-option > span {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
}

.report-anonymous-option input:checked + span {
  border-color: #fbb004;
  background: #fbb004;
}

.report-anonymous-option input:focus-visible + span {
  outline: 3px solid rgba(251, 176, 4, 0.28);
  outline-offset: 3px;
}

.report-anonymous-option input:checked + span::after {
  position: absolute;
  top: 3px;
  left: 7px;
  width: 5px;
  height: 10px;
  content: "";
  transform: rotate(45deg);
  border-right: 2px solid #080808;
  border-bottom: 2px solid #080808;
}

.report-anonymous-option strong,
.report-anonymous-option small {
  display: block;
}

.report-anonymous-option strong {
  color: #fff;
  font-size: 0.86rem;
}

.report-anonymous-option small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.45;
}

.report-form-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.report-status {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
}

.report-status[data-tone="error"] {
  color: #ff8d8d;
}

.report-submit {
  flex: 0 0 auto;
  padding: 16px 27px;
  color: #080808;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  background: #fbb004;
  box-shadow: 0 12px 30px rgba(251, 176, 4, 0.16);
}

.report-submit:disabled {
  cursor: wait;
  opacity: 0.6;
}

.report-help-card {
  position: sticky;
  top: 24px;
  padding: 30px;
}

.report-help-number {
  display: block;
  margin-top: 27px;
  color: #fbb004;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.report-help-number:first-child {
  margin-top: 0;
}

.report-help-card h3 {
  margin: 7px 0 6px;
  color: #fff;
  font-size: 1rem;
}

.report-help-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  line-height: 1.6;
}

.report-success {
  margin-bottom: 90px;
  padding: clamp(40px, 7vw, 80px);
  text-align: center;
  border: 1px solid rgba(251, 176, 4, 0.28);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(251, 176, 4, 0.11), rgba(16, 16, 16, 0.96));
}

.report-success > img {
  width: 78px;
  height: 78px;
  margin-bottom: 20px;
  object-fit: contain;
}

.report-success strong {
  color: #fbb004;
}

.admin-report-files {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.admin-report-file {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(251, 176, 4, 0.24);
  border-radius: 13px;
  background: rgba(251, 176, 4, 0.06);
}

.admin-report-file span {
  min-width: 0;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-report-file small {
  flex: 0 0 auto;
  color: #fbb004;
  font-weight: 800;
}

@media (max-width: 980px) {
  .report-hero,
  .report-workspace {
    grid-template-columns: 1fr;
  }

  .report-privacy-card {
    max-width: 560px;
  }

  .report-help-card {
    position: static;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 16px;
  }

  .report-help-number {
    grid-row: span 2;
    margin-top: 25px;
  }

  .report-help-number:first-child,
  .report-help-number:first-child + h3 {
    margin-top: 0;
  }

  .report-help-card h3 {
    margin-top: 25px;
  }
}

@media (max-width: 680px) {
  .report-hero,
  .report-workspace,
  .report-gate,
  .report-success {
    width: min(100% - 28px, 1400px);
  }

  .report-hero {
    gap: 28px;
    padding-top: 42px;
  }

  .report-hero h1 {
    font-size: clamp(2.9rem, 15vw, 5rem);
  }

  .report-privacy-card {
    padding: 19px;
    border-radius: 20px;
  }

  .report-privacy-card img {
    width: 50px;
    height: 50px;
  }

  .report-workspace {
    padding-bottom: 60px;
  }

  .report-form,
  .report-help-card,
  .report-gate-card,
  .report-success {
    border-radius: 22px;
  }

  .report-form-heading,
  .report-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .report-user {
    width: fit-content;
    max-width: 100%;
  }

  .report-type-options {
    grid-template-columns: 1fr;
  }

  .report-type-options label > span {
    min-height: 92px;
  }

  .report-upload-card {
    padding: 14px;
  }

  .report-dropzone {
    min-height: 150px;
  }

  .report-submit {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .report-header {
    flex-direction: column;
  }

  .report-header .library-nav {
    width: 100%;
    justify-content: flex-start;
  }
}
