/* ========================================= */
/* SHANAYA — SETTINGS PAGE (extends profile) */
/* ========================================= */

/* Section description text */
.section-desc {
  font-size: 13px;
  color: rgba(46, 42, 39, 0.6);
  margin-top: -12px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Section title icon */
.section-title i {
  font-size: 15px;
}

/* Danger zone section */
.settings-danger-zone {
  border-color: rgba(200, 80, 80, 0.15);
}

.section-title-danger {
  color: rgba(180, 70, 70, 0.8);
}

.section-title-danger::before {
  background: rgba(180, 70, 70, 0.8);
}

/* ========================================= */
/* NOTIFICATION CHANNEL PILLS               */
/* ========================================= */

.notif-channels {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(196, 171, 116, 0.1);
}

.notif-channels-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(46, 42, 39, 0.5);
  margin-bottom: 12px;
}

.channel-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.channel-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(196, 171, 116, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: rgba(46, 42, 39, 0.7);
  transition: all 0.25s ease;
  user-select: none;
  position: relative;
}

.channel-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.channel-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(196, 171, 116, 0.3);
  border-radius: 4px;
  background: transparent;
  flex-shrink: 0;
  transition: all 0.2s ease;
  font-size: 11px;
  color: transparent;
}

.channel-option:has(input:checked) {
  border-color: rgba(196, 171, 116, 0.45);
  background: rgba(196, 171, 116, 0.1);
  color: #A08B5C;
}

.channel-option:has(input:checked) .channel-check {
  background: #C4AB74;
  border-color: #C4AB74;
  color: white;
}

.channel-option i.ph {
  font-size: 15px;
}

/* ========================================= */
/* PREFERENCES GRID                         */
/* ========================================= */

.pref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(196, 171, 116, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  color: #2E2A27;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23C4AB74' d='M12 16l-6-6h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-select:focus {
  outline: none;
  border-color: rgba(196, 171, 116, 0.4);
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(196, 171, 116, 0.1);
}

/* ========================================= */
/* CHECKBOX GROUP (dietary / multi-select)  */
/* ========================================= */

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(196, 171, 116, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: rgba(46, 42, 39, 0.7);
  transition: all 0.25s ease;
  user-select: none;
  position: relative;
}

.checkbox-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(196, 171, 116, 0.3);
  border-radius: 3px;
  background: transparent;
  flex-shrink: 0;
  transition: all 0.2s ease;
  font-size: 10px;
  color: transparent;
}

.checkbox-option:has(input:checked) {
  border-color: rgba(196, 171, 116, 0.45);
  background: rgba(196, 171, 116, 0.1);
  color: #A08B5C;
}

.checkbox-option:has(input:checked) .checkbox-check {
  background: #C4AB74;
  border-color: #C4AB74;
  color: white;
}

/* ========================================= */
/* SPECIAL OCCASIONS                        */
/* ========================================= */

.occasion-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.occasion-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.occasion-sub-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(46, 42, 39, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ========================================= */
/* SETTINGS BADGE (e.g. "Off" for 2FA)     */
/* ========================================= */

.settings-badge-off {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 100, 100, 0.7);
  background: rgba(200, 100, 100, 0.08);
  border: 1px solid rgba(200, 100, 100, 0.15);
  border-radius: 999px;
  padding: 3px 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ========================================= */
/* RESPONSIVE                               */
/* ========================================= */

@media (max-width: 768px) {
  .pref-grid {
    grid-template-columns: 1fr;
  }

  .occasion-row {
    grid-template-columns: 1fr;
  }

  .channel-options {
    gap: 8px;
  }

  .channel-option {
    padding: 8px 12px;
    font-size: 12px;
  }

  .checkbox-option {
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .checkbox-group {
    gap: 8px;
  }

  .checkbox-option {
    font-size: 11px;
    padding: 7px 10px;
  }

  .channel-option {
    font-size: 11px;
    padding: 7px 10px;
  }
}
