@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;600;700&display=swap');

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-bottom: 72px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.settings-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;
  padding: 0 16px;
}

/* Card */
.settings-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(160, 80, 220, 0.3);
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(380px, 100%);
  transition: border-color 0.2s;
}

.settings-card:hover {
  border-color: rgba(192, 132, 252, 0.5);
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #d8b4fe;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.8rem;
  color: rgba(192, 132, 252, 0.6);
  line-height: 1.55;
}

/* Row */
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.setting-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(226, 212, 240, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Select */
.setting-select {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(140, 60, 200, 0.4);
  border-radius: 8px;
  color: #e2d4f0;
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a855f7' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.setting-select:focus {
  border-color: rgba(160, 80, 220, 0.8);
}

.setting-select option {
  background: #0d001a;
  color: #e2d4f0;
}

/* Button */
.setting-btn {
  padding: 9px 20px;
  background: rgba(100, 30, 160, 0.6);
  border: 1px solid rgba(140, 60, 200, 0.4);
  border-radius: 8px;
  color: #e2d4f0;
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  align-self: flex-start;
}

.setting-btn:hover {
  background: rgba(120, 50, 190, 0.8);
  border-color: rgba(192, 132, 252, 0.6);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(100, 30, 160, 0.85);
  border: 1px solid rgba(160, 80, 220, 0.5);
  color: #e9d5ff;
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}