/* ===== SETTINGS PAGE ===== */
.settings-page {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 54px;
  z-index: 25;
  background: #f5f5f5;
  border-radius: 24px 24px 0 0;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.2,0.9,0.3,1), opacity 0.2s ease;
}
.settings-page.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.settings-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: transparent;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 24px 24px 0 0;
  padding: 0;
  pointer-events: none;
}
.settings-top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  height: 52px;
  position: relative;
}
.settings-top-bar-title {
  font-size: 17px;
  font-weight: 500;
  color: #000;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.settings-top-bar-title.visible {
  opacity: 1;
}
.settings-done-btn {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #2169eb;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.settings-done-btn:active {
  opacity: 0.8;
}
.settings-done-btn svg {
  width: 20px;
  height: 20px;
}
.settings-scroll {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.settings-content {
  padding: 0 16px 40px;
}
.settings-title {
  font-size: 34px;
  font-weight: 600;
  color: #000;
  padding: 4px 0 16px;
}
.settings-banner {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.settings-banner-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.settings-banner-icon svg {
  width: 40px;
  height: 40px;
}
.settings-banner-text {
  flex: 1;
  min-width: 0;
}
.settings-banner-title {
  font-size: 15px;
  font-weight: 500;
  color: #242424;
  line-height: 1.3;
}
.settings-banner-subtitle {
  font-size: 12px;
  color: #707070;
  line-height: 1.3;
  margin-top: 2px;
}
.settings-banner-close {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.settings-banner-close svg {
  width: 16px;
  height: 16px;
}
.settings-group {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}
.settings-row {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
}
.settings-row:active {
  background: rgba(0,0,0,0.04);
}
.settings-row-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.settings-row-icon svg {
  width: 24px;
  height: 24px;
}
.settings-row-label {
  flex: 1;
  font-size: 17px;
  font-weight: 400;
  color: #242424;
  min-width: 0;
}
.settings-row-value {
  font-size: 15px;
  font-weight: 400;
  color: #707070;
  margin-right: 4px;
}
.settings-row-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.settings-row-chevron svg {
  width: 14px;
  height: 14px;
}
.settings-row-divider {
  height: 0.5px;
  background: #e0e0e0;
  margin-left: 54px;
}
.settings-account-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  min-height: 56px;
}
.settings-account-row:active {
  background: rgba(0,0,0,0.04);
}
.settings-account-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0078D4, #3E40C0);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}
.settings-account-avatar.small {
  width: 28px;
  height: 28px;
  font-size: 12px;
}
.settings-account-info {
  flex: 1;
  min-width: 0;
}
.settings-account-name {
  font-size: 17px;
  font-weight: 600;
  color: #141414;
  display: flex;
  align-items: center;
  gap: 6px;
}
.settings-account-detail {
  font-size: 12px;
  color: #6e6e6e;
  line-height: 1.3;
}
.settings-account-sync {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #0e700e;
  margin-top: 1px;
}
.settings-account-sync svg {
  width: 14px;
  height: 14px;
}
.settings-switch-btn {
  background: none;
  color: #2169eb;
  border: none;
  padding: 5px 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.settings-account-divider {
  height: 0.5px;
  background: #e0e0e0;
  margin-left: 68px;
}

