/* ==============================
   NOTIFICACIONES
================================ */

.notificaciones-wrapper {
  padding: 16px;
  padding-top: 72px; /* 56px header + aire visual */
  padding-bottom: 90px; /* espacio para footer */
  background: var(--color-bg);
}

/* ==============================
   HEADER
================================ */

.notificaciones-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.notificaciones-header-icon {
  font-size: 20px;
  color: var(--color-text);
}
.notificaciones-back {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--color-primary-dark);
  cursor: pointer;
}

.notificaciones-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
}

/* ==============================
   SECTION
================================ */

.notificaciones-section {
  background: var(--color-card);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--color-border);
}

.notificaciones-section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

/* ==============================
   ITEM
================================ */

.notificaciones-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.notificaciones-item:last-child {
  border-bottom: none;
}

/* ==============================
   SWITCH (iOS style)
================================ */

.notificaciones-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}

.notificaciones-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.notificaciones-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background-color: var(--color-border);
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.notificaciones-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background-color: var(--color-card);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

/* ON STATE */
.notificaciones-switch input:checked + .notificaciones-slider {
  background-color: var(--color-primary);
}

.notificaciones-switch input:checked + .notificaciones-slider::before {
  transform: translateX(18px);
}
