
/* ==============================
   MITHAI APP SETTINGS PAGE
   TOP 44PX GAP
============================== */

.mithai-settings-page {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: 2147483000;
  background: #ffffff;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-family: 'Poppins', sans-serif;
  -webkit-overflow-scrolling: touch;
}

.mithai-settings-page[hidden] {
  display: none !important;
}

/* FEEDBACK TITLE — AUTO ADJUST SINGLE LINE */
.mithai-profile-feedback .mithai-feedback-text {
  flex: 1;
  min-width: 0;
}

.mithai-profile-feedback .mithai-feedback-text strong {
  display: block;
  width: 100%;
  white-space: nowrap !important;
  font-size: clamp(10px, 3.2vw, 15px) !important;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

/* TOP HEADER — 44PX GAP */

.mithai-settings-header {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 65px;
  display: flex;
  align-items: center;
  gap: 16px;

  padding:
    calc(44px + env(safe-area-inset-top, 0px))
    18px
    18px;

  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  z-index: 10;
}

/* BACK BUTTON */

#mithaiSettingsBack {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #17243B;
  font-size: 19px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#mithaiSettingsBack:active {
  opacity: 0.6;
}

/* APP SETTINGS TITLE */

.mithai-settings-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #17243B;
  line-height: 1.4;
}

/* SETTINGS CONTENT */

.mithai-settings-content {
  width: 100%;
  padding: 12px 20px 30px;
}

/* SETTINGS OPTIONS */

.mithai-settings-item {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 2px;

  border: none;
  border-bottom: 1px solid #f0f0f0;
  background: transparent;
  color: #17243B;

  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mithai-settings-item:active {
  background: #fafafa;
}

/* RIGHT ARROW */

.mithai-settings-item i {
  color: #a0a0a0;
  font-size: 12px;
  flex-shrink: 0;
}

/* DELETE ACCOUNT */

.mithai-settings-delete,
.mithai-settings-delete i {
  color: #e53935;
}

/* SMALL MOBILE */

@media (max-width: 380px) {
  .mithai-settings-header {
    padding-left: 15px;
    padding-right: 15px;
  }

  .mithai-settings-content {
    padding-left: 16px;
    padding-right: 16px;
  }
}
