/* =============================================================
   PROFILE — Perfil de usuario, historial, ajustes manuales
   ============================================================= */

.sec-perfil { padding: 16px; display: none; }

/* Historial */
.history-container {
  background: rgba(156, 156, 156, 0.2);
  border-radius: 12px;
  padding: 10px;
  max-height: 300px;
  overflow-y: auto;
}
.history-row {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}
.history-row:last-child { border-bottom: none; }
.history-row .points-pos { color: #4ade80; font-weight: 800; }
.history-row .points-neg { color: #f87171; font-weight: 800; }

/* Botones iOS para ajustes manuales (ya están en estilo inline en profile.js, pero los podemos mover aquí) */
.ios-btn {
  background: #FFFFFF;
  border: none;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 0 1px rgba(0,0,0,0.1);
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.ios-btn:active { transform: scale(0.96); background: #F2F2F7; }
.ios-btn.full-width { grid-column: span 2; width: 100%; }
.ios-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}
.ios-content { display: flex; flex-direction: column; line-height: 1.3; }
.ios-title { font-size: 12px; font-weight: 600; color: #1C1C1E; }
.ios-pts { font-size: 10px; font-weight: 700; }
.ios-pts.good { color: #34C759; }
.ios-pts.bad { color: #FF3B30; }