/* =========================================================
   REPORTE DE FALLAS - STELLA TV
========================================================= */

.report {
  position: relative;
}

.report-tabs {
  width: fit-content;
  margin: 0 auto 34px;

  display: flex;
  gap: 10px;

  padding: 10px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.report-tab {
  min-height: 48px;
  padding: 0 24px;

  border: none;
  border-radius: 999px;

  color: white;
  font-weight: 800;
  cursor: pointer;

  background: transparent;
  transition: 0.3s ease;
}

.report-tab.active {
  background: linear-gradient(135deg, #ff4fa3, #ff9b43);
  box-shadow: 0 12px 34px rgba(255, 79, 163, 0.35);
}

.report-form {
  display: none;

  width: min(980px, 100%);
  margin: auto;
  padding: 42px;

  border-radius: 38px;

  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));

  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.report-form.active {
  display: block;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  color: white;
  font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea,
.country-selected {
  width: 100%;
  min-height: 58px;

  padding: 0 18px;

  border-radius: 18px;
  outline: none;

  color: white;
  font-size: 0.95rem;

  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);

  transition: 0.3s ease;
}

.form-group textarea {
  min-height: 120px;
  padding: 18px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.country-selected:focus {
  border-color: rgba(255, 79, 163, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 79, 163, 0.12);
}

.form-group select option {
  background: #11111a;
  color: white;
}

.hidden {
  display: none !important;
}

/* PAÍSES */

.country-group {
  position: relative;
  z-index: 50;
}

.country-select {
  position: relative;
  width: 100%;
}

.country-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;

  cursor: pointer;
  text-align: left;
}

.country-arrow {
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.country-select.open .country-arrow {
  transform: rotate(180deg);
}

.country-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 99999;

  width: 100%;
  padding: 12px;

  display: none;

  border-radius: 22px;

  background: #101018;
  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75);
}

.country-select.open .country-dropdown {
  display: block;
}

.country-dropdown input {
  width: 100%;
  min-height: 48px;
  margin-bottom: 10px;

  padding: 0 14px;
  border-radius: 14px;

  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.country-list {
  max-height: 230px;
  overflow-y: auto;

  display: grid;
  gap: 6px;
}

.country-option {
  width: 100%;

  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;

  padding: 12px;

  border: none;
  border-radius: 14px;

  color: white;
  text-align: left;
  cursor: pointer;

  background: transparent;
  transition: 0.25s ease;
}

.country-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.country-option strong {
  font-size: 0.9rem;
}

.country-option small {
  opacity: 0.7;
}

/* ARCHIVO */

.file-upload-box {
  min-height: 82px;
  padding: 18px;

  display: flex;
  align-items: center;
  gap: 14px;

  border-radius: 22px;

  cursor: pointer;

  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.18);

  transition: 0.3s ease;
}

.file-upload-box:hover {
  border-color: rgba(255, 79, 163, 0.5);
  background: rgba(255, 79, 163, 0.08);
}

.file-upload-icon {
  font-size: 1.8rem;
}

.file-upload-input {
  display: none;
}

.report-file small {
  color: rgba(255, 255, 255, 0.65);
}

.report-submit {
  width: 100%;
  min-height: 64px;
  margin-top: 34px;

  border: none;
  border-radius: 999px;

  color: white;
  font-size: 1rem;
  font-weight: 900;

  cursor: pointer;

  background: linear-gradient(135deg, #ff4fa3, #ff9b43);

  box-shadow: 0 20px 55px rgba(255, 79, 163, 0.35);

  transition: 0.3s ease;
}

.report-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(255, 79, 163, 0.48);
}