
/* LADUNYA — unified birth program buttons */

/*
   Стили включаются только при наличии класса
   ladunya-birth-theme на body.
*/

body.ladunya-birth-theme {
  --birth-button-main: #b57f86;
  --birth-button-hover: #a66e7a;
  --birth-button-active: #92616d;
  --birth-button-light: #f7eeeb;
  --birth-button-text: #ffffff;
  --birth-button-border: #eadbd5;
}

/* Основные интерактивные кнопки */

body.ladunya-birth-theme #programLessonContent button:not(.ld-birth-secondary):not(:disabled),
body.ladunya-birth-theme #programLessonContent .birth-card-button:not(:disabled),
body.ladunya-birth-theme #programLessonContent .ld17-action:not(:disabled) {
  background: var(--birth-button-main) !important;
  background-image: none !important;
  color: var(--birth-button-text) !important;
  border: 1px solid var(--birth-button-main) !important;
  border-radius: 12px;
  box-shadow: none !important;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

body.ladunya-birth-theme #programLessonContent button:not(.ld-birth-secondary):not(:disabled):hover {
  background: var(--birth-button-hover) !important;
  border-color: var(--birth-button-hover) !important;
}

body.ladunya-birth-theme #programLessonContent button:not(.ld-birth-secondary):not(:disabled):active {
  background: var(--birth-button-active) !important;
  transform: scale(.99);
}

/* Вторичные кнопки */

body.ladunya-birth-theme #programLessonContent .ld-birth-secondary {
  background: var(--birth-button-light) !important;
  background-image: none !important;
  color: var(--birth-button-active) !important;
  border: 1px solid var(--birth-button-border) !important;
  border-radius: 12px;
}

/* Отключённые кнопки */

body.ladunya-birth-theme #programLessonContent button:disabled {
  opacity: .48;
  cursor: not-allowed;
}

/* Клавиатурная навигация */

body.ladunya-birth-theme #programLessonContent button:focus-visible {
  outline: 3px solid #e5b9bf !important;
  outline-offset: 3px;
}

/* Не перекрашиваем системные иконки и элементы ввода */

body.ladunya-birth-theme #programLessonContent input,
body.ladunya-birth-theme #programLessonContent textarea,
body.ladunya-birth-theme #programLessonContent select {
  accent-color: #b57f86;
}
