/* ================================================
   PAGE PARAMÈTRES - Desktop
   Layout: Sidebar + Content
   Design type Airbnb/LinkedIn
   ================================================ */

.settings-wrapper {
  padding: 2rem;
  min-height: calc(100vh - 200px);
}

.settings-container {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* SIDEBAR */
.settings-sidebar {
  width: 260px;
  flex-shrink: 0;
}

.settings-nav {
  background: white;
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.settings-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1rem;
  border: none;
  background: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.938rem;
  color: #666;
  text-align: left;
}

.settings-nav-item:hover {
  background: #f8f9fa;
}

.settings-nav-item.active {
  background: rgba(255, 56, 92, 0.1);
  color: #FF385C;
  font-weight: 500;
}

.settings-nav-item i {
  width: 20px;
  font-size: 1.125rem;
}

/* CONTENU */
.settings-content {
  flex: 1;
  min-width: 0;
}

.settings-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #222;
}

.settings-section-subtitle {
  color: #666;
  margin-bottom: 1.5rem;
}

.settings-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
}

.settings-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.settings-option:last-child {
  border-bottom: none;
}

.settings-option h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #222;
}

.settings-option p {
  font-size: 0.875rem;
  color: #666;
}

/* TOGGLE SWITCH */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.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: #ccc;
  border-radius: 26px;
  transition: 0.3s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #FF385C;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

/* DANGER ZONE */
.danger-zone {
  border: 2px solid #dc3545;
}

.danger-zone h4 {
  color: #dc3545;
}

/* FORM GROUPS */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.938rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
}

.form-group small {
  display: block;
  font-size: 0.813rem;
  color: #999;
  margin-top: 0.5rem;
}

.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.938rem;
  transition: border-color 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: #FF385C;
}

.input-field:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

/* PROFILE PHOTO */
.profile-photo-upload {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.profile-photo-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0f0f0;
  background: #f7f7f7;
}

.photo-upload-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* VIDEO UPLOAD */
.video-upload-area {
  text-align: center;
  padding: 2rem;
  background: #f7f7f7;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.video-upload-area i {
  font-size: 3rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.video-upload-area p {
  color: #666;
  margin-bottom: 1rem;
}

.video-upload-area input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* BUTTONS */
.btn-primary {
  background: #FF385C;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #E6325A;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 56, 92, 0.3);
}

.btn-secondary {
  background: white;
  color: #FF385C;
  border: 2px solid #FF385C;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #FF385C;
  color: white;
}

.btn-text {
  background: transparent;
  color: #FF385C;
  border: none;
  padding: 0.5rem 0;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.btn-text:hover {
  color: #E6325A;
}

.btn-danger {
  background: #dc3545;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-danger:hover {
  background: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}
