.profile-page {
  max-width: 1100px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.profile-card {
  border-radius: 18px;
  padding: 18px;
  background: var(--qcm-card-bg);
  border: 1px solid var(--qcm-border);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.profile-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
}

.profile-avatar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.avatar-circle {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.profile-info p {
  margin: 4px 0;
  font-size: 14px;
}

.profile-setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

/* SWITCH */
.switch {
  position: relative;
  width: 44px;
  height: 22px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  inset: 0;
  background: #9ca3af;
  border-radius: 999px;
  cursor: pointer;
}
.slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  top: 2px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}
.switch input:checked + .slider {
  background: #22c55e;
}
.switch input:checked + .slider::before {
  transform: translateX(22px);
}

.profile-actions {
  display: flex;
  gap: 10px;
}

/* BOUTONS */
.btn-primary {
  background: var(--qcm-accent);
  color: white;
  border-radius: 999px;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
}
.btn-secondary {
  background: transparent;
  border: 1px solid var(--qcm-border);
  border-radius: 999px;
  padding: 8px 16px;
}
.btn-danger {
  background: #ef4444;
  color: white;
  border-radius: 999px;
  padding: 8px 16px;
  border: none;
}
.small {
  padding: 6px 12px;
  font-size: 13px;
}
.muted {
  font-size: 13px;
  opacity: 0.75;
}
