/**
 * Theme: Soft Pastel — airy rounded cards with soft shadows and a warm accent.
 * Scoped by the bookly-theme-soft-pastel class on the form container.
 * Static color fallbacks precede color-mix() for older browsers.
 */

/* Own background: the theme is self-contained on any page. */
.bookly-theme-soft-pastel .bookly-css-root {
    background: #fdf9f5;
    background: var(--bookly-theme-bg);
    /* Card shadows (mods/card-shadow.css) tinted warm. */
    --bookly-shadow-color: rgba(63, 58, 55, .10);
    --bookly-shadow-color-hover: rgba(63, 58, 55, .16);
}

.bookly-theme-soft-pastel .bookly-css-root .bookly-search-form,
.bookly-theme-soft-pastel .bookly-css-root .bookly-form-frame-mark {
    background: transparent !important;
}

/* Card: borderless, floating on a soft shadow; gentle lift on hover. */
.bookly-theme-soft-pastel .bookly-css-root .bookly-card-mark {
    border-color: transparent !important;
}

.bookly-theme-soft-pastel .bookly-css-root .bookly-card-mark:hover {
}

.bookly-theme-soft-pastel .bookly-css-root .bookly-card-mark:hover,
.bookly-theme-soft-pastel .bookly-css-root .bookly-card-mark:hover .bookly-card-body-mark {
    background: #fdfaf7 !important;
}

/* Field icons tinted with the accent. */
.bookly-theme-soft-pastel .bookly-css-root .bookly-card-body-mark i[class^="bi-"],
.bookly-theme-soft-pastel .bookly-css-root .bookly-card-body-mark i[class*=" bi-"] {
    color: var(--bookly-theme-accent);
}

.bookly-theme-soft-pastel .bookly-css-root .bookly-card-title-mark {
    font-weight: 600;
}

/* Cards without a body (e.g. picker cards with zero body height): the header
   image is the last element of the card, so it rounds the bottom corners too. */
.bookly-theme-soft-pastel .bookly-css-root .bookly-card-mark .bookly-card-header-mark:last-child,
.bookly-theme-soft-pastel .bookly-css-root .bookly-card-mark .bookly-card-header-mark:last-child img {
    border-radius: var(--bookly-radius) !important;
}
