/* ============================================================
   POPUP DE RESEÑA TUXUNIVERSE - GLASS TECH INTEGRADO
   ============================================================ */

#form-resena-tux {
  font-family: 'Open Sans', sans-serif !important;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  padding: 20px 25px;
  color: #222;
  width: 100%;       /* ocupa todo el ancho del popup */
  max-width: none;   /* quitar restricción de 1100px */
  margin: 0;
  box-sizing: border-box;

  /* Se quita fondo, borde y sombra */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  border-radius: 16px;
}

/* ======================== COLUMNAS ======================== */
.col-tecnica {
  flex: 0 0 36%;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.col-contenido {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ======================== ETIQUETAS ======================== */
.label-tux-min {
  display: block;
  font-size: 11px;
  color: #444;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ======================== CAMPOS ======================== */
.input-tux-min,
.input-tux-title,
.area-tux,
select {
  width: 100%;
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: #333;
  box-sizing: border-box;
  transition: all 0.25s ease;
  font-family: 'Open Sans', sans-serif !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.input-tux-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.input-tux-min { 
  margin-bottom: 4px;
  font-size: 12px; 
}

.input-tux-min:focus,
.input-tux-title:focus,
.area-tux:focus,
select:focus {
  border-color: hsl(19, 100%, 50%);
  box-shadow: 0 0 5px rgba(255, 87, 34, 0.3);
  background: #fff;
  outline: none;
}

/* ======================== TEXTAREA ======================== */
.area-tux {
  flex-grow: 1;
  resize: none;
  margin-bottom: 2px;
  padding: 10px;
  line-height: 1.5;
  border-radius: 10px;
}

/* ======================== HARDWARE BOX ======================== */
.hw-box {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 14px 12px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 10px;
}

/* ======================== CABECERA USUARIO ======================== */
.col-tecnica > div:first-child {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.user-tag-tux { font-weight: 800; font-size: 14px; color: #111; }
.nick-tag-tux { font-size: 11px; color: hsl(19, 100%, 50%); font-weight: 700; }

/* ======================== CHECKBOX ======================== */
#check-update { accent-color: hsl(19, 100%, 50%); }
label[for="check-update"],
label[for="check-update"] * {
  font-size: 10px;
  color: #555;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}

/* ======================== FILAS FLEX ======================== */
.fila-flex {
  display: flex;
  gap: 5px;
}
.fila-flex > div { flex: 1; }

/* ======================== CONTADORES DE CARACTERES ======================== */
.tux_countcharac_container {
  margin-top: 2px;
  margin-bottom: 6px;
  font-size: 10px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* ahora a la derecha */
  gap: 5px;
}

.tux_countcharac_badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 10px;
  color: #333;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  min-width: 40px;
  text-align: center;
}

/* Para que los contadores de textarea no queden pegados */
.area-tux + .tux_countcharac_container {
  margin-bottom: 6px;
}

/* ======================== FOOTER ======================== */
.footer-resena {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: flex-end;
}

.footer-resena .btn-tux-base {
  min-width: 220px;
  height: 45px;
  font-weight: 800;
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 900px) {
  #form-resena-tux {
    flex-direction: column;
    padding: 15px;
    height: auto;
  }
  .col-tecnica {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
  }
  .fila-flex { flex-direction: column; }
}