/* Settings Page */

.settings-container {
  width: 100%;
}

.settings-container .page-header-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.15) 100%);
  border-radius: 12px;
}

.settings-section {
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.settings-section:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.settings-section-header {
  padding: 1rem 1.25rem;
  background: rgba(248, 249, 250, 0.5);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.settings-section-body {
  padding: 0;
}

.setting-item {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background 0.15s ease;
}

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

.setting-item:hover {
  background: rgba(0,0,0,0.01);
}

.setting-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1rem;
  flex-shrink: 0;
}

.setting-content {
  flex: 1;
  min-width: 0;
  padding: 0 1rem;
}

.setting-title {
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
}

.setting-description {
  font-size: 0.8125rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.4;
}

.setting-control {
  flex-shrink: 0;
}

/* Custom toggle switch */
.settings-container .form-check-input {
  width: 3rem;
  height: 1.5rem;
  cursor: pointer;
}

.settings-container .form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.settings-container .form-check-input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

@media (max-width: 575.98px) {
  .setting-item {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .setting-content {
    flex: 1 1 calc(100% - 60px);
    padding: 0 0 0 1rem;
  }

  .setting-control {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
}
