/* Pages espace membre : connexion, messages, rendez-vous, communauté */

.chouchou-member-page {
  --cm-bg: #faf4f2;
  --cm-card: #ffffff;
  --cm-ink: #3d2c30;
  --cm-muted: #6d5658;
  --cm-rose: #b76e79;
  --cm-border: rgba(183, 110, 121, 0.18);

  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--cm-bg) 0%, #fffcfb 45%, #ffffff 100%);
  color: var(--cm-ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.chouchou-member-page__wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 6rem) 1.25rem 3rem;
}

.chouchou-member-page__wrap--narrow {
  max-width: 460px;
}

.chouchou-member-page__card {
  background: var(--cm-card);
  border-radius: 22px;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  border: 1px solid var(--cm-border);
  box-shadow: 0 16px 48px rgba(61, 44, 48, 0.08);
}

.chouchou-member-page__kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cm-rose);
  margin-bottom: 0.5rem;
}

.chouchou-member-page__title {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.chouchou-member-page__lead {
  color: var(--cm-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.chouchou-member-page__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--cm-ink);
}

.chouchou-member-page__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--cm-border);
  border-radius: 12px;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: inherit;
}

.chouchou-member-page__input:focus {
  outline: none;
  border-color: rgba(183, 110, 121, 0.55);
  box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.12);
}

.chouchou-member-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(145deg, #e5c4a8 0%, #c9a088 25%, #b76e79 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(183, 110, 121, 0.35);
  text-decoration: none;
  transition:
    transform 0.15s,
    filter 0.2s;
}

.chouchou-member-page__btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  color: #fff;
}

.chouchou-member-page__btn-secondary {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  color: var(--cm-rose);
  border: 2px solid var(--cm-rose);
  box-shadow: none;
  margin-top: 0.75rem;
}

.chouchou-member-page__btn-secondary:hover {
  background: rgba(183, 110, 121, 0.08);
  color: var(--cm-rose);
}

.chouchou-member-page__actions {
  margin-top: 0.5rem;
}

.chouchou-member-page__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chouchou-member-page__list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--cm-border);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.chouchou-member-page__list li:last-child {
  border-bottom: none;
}

.chouchou-member-page__msg-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(183, 110, 121, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cm-rose);
  flex-shrink: 0;
}

.chouchou-member-page__msg-body {
  flex: 1;
  min-width: 0;
}

.chouchou-member-page__msg-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.chouchou-member-page__msg-meta {
  font-size: 0.8rem;
  color: var(--cm-muted);
}

.chouchou-member-page__steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chouchou-member-page__steps li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.25rem;
}

.chouchou-member-page__steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dcb896, #b76e79);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chouchou-member-page__back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cm-muted);
  text-decoration: none;
}

.chouchou-member-page__back:hover {
  color: var(--cm-rose);
}
