/* Settings Page Styles */
.settings {
  padding: calc(var(--nav-height) + 2rem) 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.settings__container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.settings__section {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.settings__section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  font-family: 'Orbitron', sans-serif;
}

/* Form Styles */
.settings__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 500;
}

.form-group input {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(127, 92, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
  color: #8b92a9;
}

/* Settings Options */
.settings__options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.setting-item:last-child {
  border-bottom: none;
}

.setting-info h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.25rem;
}

.setting-info p {
  font-size: 0.85rem;
  color: #8b92a9;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background: linear-gradient(135deg, #7f5cff, #26ffe6);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

/* Select Dropdown */
.setting-select {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.setting-select:focus {
  outline: none;
  border-color: rgba(127, 92, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.setting-select option {
  background: #1b1640;
  color: #fff;
}

/* Settings Actions */
.settings__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Button Styles */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--primary {
  background: linear-gradient(135deg, #7f5cff, #26ffe6);
  color: white;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(127, 92, 255, 0.4);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--danger {
  background: linear-gradient(135deg, #ff3366, #ff1a4d);
  color: white;
}

.btn--danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 51, 102, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .settings {
    padding: calc(var(--nav-height) + 1rem) 1rem 2rem;
  }

  .settings__section {
    padding: 1.5rem;
  }

  .setting-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .settings__actions {
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
  }
}
