@import "theme-LQD1uh4.css";

body {
    margin: 0;
    background-color: #efefed;
    font-family: var(--font-sans);
}

.dashboard-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dashboard-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.dashboard-footer {
    flex-shrink: 0;
    background-color: var(--brand-black);
    color: #ffffff;
    padding: 1rem 0;
    margin-top: 2rem;
}

.dashboard-footer .container {
    display: flex;
    justify-content: flex-end;
}

.dashboard-footer__copy {
    margin: 0;
    text-align: right;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.header {
    position: relative;
    background-color: var(--header-background);
    padding: 1.1rem 0;
}

.header--calendar {
    padding-bottom: 0.75rem;
}

.header-tooltip-row {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 1rem;
}

.header-tooltip {
    max-width: 260px;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background-color: var(--brand-black);
    color: #ffffff;
}

.header-tooltip__text {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
}

.header-tooltip__dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.header-tooltip__dots span {
    display: block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
}

.header-tooltip__dots span.is-active {
    background-color: var(--brand-blue);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.header-logo {
    flex-shrink: 0;
}

/* Dashboard header: logo pinned to the viewport edge, outside the content container */
.header:not(.header--calendar) .header-logo {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.header-brand {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    background-color: var(--brand-black);
    text-decoration: none;
}

.header-brand .logo {
    display: block;
    width: 120px;
    height: auto;
    /* cal-ndar_logo.svg is black; invert for white mark on the pill */
    filter: brightness(0) invert(1);
}

.header-brand:hover {
    background-color: var(--brand-black);
}

.header-navbar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
    background-color: transparent;
}

.header-link {
    display: inline-flex;
    align-items: center;
    border: 2px solid transparent;
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.2;
    white-space: nowrap;
}

.header-link:hover {
    color: #000000;
    background-color: #ffffff;
}

.header-link.active {
    background-color: var(--brand-black);
    border-color: var(--brand-black);
    color: #ffffff;
}

.header-link--muted {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.6);
}

.header-link--muted:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.header-link--account {
    border: none;
}

.header-link--account::after {
    display: none;
}

.header-account {
    position: relative;
}

.header-account-menu {
    min-width: 11rem;
    margin-top: 0.5rem !important;
    padding: 0.5rem;
    border: none;
    border-radius: 16px;
    background-color: var(--brand-black);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.header-account-menu .dropdown-item {
    border-radius: 999px;
    padding: 0.55rem 1rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
}

.header-account-menu .dropdown-item:hover,
.header-account-menu .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.header-account-menu .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.18);
    margin: 0.35rem 0;
}

.header-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 auto;
    background-color: transparent;
}

.header-stepper__step {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.header-stepper__step:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.header-stepper__step.active {
    border-color: var(--brand-black);
    background-color: var(--brand-black);
    color: #ffffff;
}

.header-stepper__step--disabled {
    opacity: 0.85;
    cursor: default;
}

.header-stepper__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.header-stepper__step.active .header-stepper__badge {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--brand-black);
}

.header--calendar .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
}

.header--calendar .header-logo {
    justify-self: start;
}

.header--calendar .header-stepper {
    justify-self: center;
    margin: 0;
}

.header--calendar .header-menu-toggle {
    justify-self: end;
    margin-left: 0;
}

.header-menu-toggle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-left: auto;
    border: none;
    border-radius: 50%;
    background-color: var(--brand-black);
    cursor: pointer;
}

.header-menu-toggle__icon,
.header-menu-toggle__icon::before,
.header-menu-toggle__icon::after {
    display: block;
    width: 1.1rem;
    height: 2px;
    border-radius: 999px;
    background-color: #ffffff;
}

.header-menu-toggle__icon {
    position: relative;
}

.header-menu-toggle__icon::before,
.header-menu-toggle__icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.header-menu-toggle__icon::before {
    top: -6px;
}

.header-menu-toggle__icon::after {
    top: 6px;
}

.header-flyout {
    position: fixed;
    inset: 0;
    z-index: 1050;
}

.header-flyout__backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35);
}

.header-flyout__panel {
    position: fixed;
    top: 1rem;
    right: max(1rem, calc((100vw - min(100vw, var(--layout-max-width))) / 2 + var(--layout-gutter)));
    z-index: 1;
    width: min(280px, calc(100vw - 2rem));
    padding: 1.25rem;
    border-radius: 20px;
    background-color: var(--brand-black);
}

.header-flyout__close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.header-flyout__nav {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 1.75rem;
}

.header-flyout__link {
    display: block;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.1rem;
    background-color: #ffffff;
    color: #000000;
    text-align: left;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.header-flyout__link.active,
.header-flyout__link:hover {
    background-color: #ffffff;
    color: #000000;
}

.header-flyout__link:not(.active):not(.header-flyout__link--account) {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.75);
}

.header-flyout__submenu {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.45rem;
    padding-left: 0.75rem;
}

.header-flyout__sublink {
    display: block;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.header-flyout__sublink:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

body.header-flyout-open {
    overflow: hidden;
}

body.basics-leave-open {
    overflow: hidden;
}

.dashboard-home {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dashboard-home--empty .dashboard-home__cta-wrap {
    flex: 1;
}

.dashboard-home__toolbar {
    display: flex;
    justify-content: flex-end;
    padding: 3rem 0 0;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-home__calendars {
    padding: 0 0 2.5rem;
}

.dashboard-home__cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 3rem var(--layout-gutter) 4rem;
}

.dashboard-home__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(100%, 320px);
    border-radius: 999px;
    padding: 0.9rem 2.5rem;
    background-color: var(--brand-blue);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(76, 105, 255, 0.35);
    border: none;
    cursor: pointer;
}

.dashboard-home__cta--toolbar {
    min-width: 0;
    padding: 0.7rem 1.6rem;
    font-size: 0.95rem;
    box-shadow: none;
}

.dashboard-home__cta:hover {
    background-color: #3d52cc;
    color: #ffffff;
}

.dashboard-home__info {
    max-width: 420px;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
}

.dashboard-calendar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.dashboard-calendar-grid:has(> :only-child) {
    grid-template-columns: minmax(0, 1fr);
    max-width: 50%;
    margin-inline: auto;
}

.dashboard-calendar-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    border-radius: 16px;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dashboard-calendar-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42%;
    gap: 0;
    padding: 0;
    flex: 1;
}

.dashboard-calendar-card__info {
    padding: 1.5rem 1.5rem 1.25rem;
    min-width: 0;
}

.dashboard-calendar-card__hint {
    margin: 0 0 0.2rem;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 500;
}

.dashboard-calendar-card__title {
    display: block;
    width: 100%;
    margin: 0 0 1.1rem;
    border: none;
    background: transparent;
    color: #111111;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.15;
    padding: 0;
    outline: none;
}

.dashboard-calendar-card__title:focus {
    outline: none;
}

.dashboard-calendar-card__meta {
    margin: 0;
    display: grid;
    gap: 0;
}

.dashboard-calendar-card__meta > div {
    display: grid;
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: 0.5rem;
    align-items: baseline;
    padding: 0.5rem 0;
    border-top: 1px solid #e8e8e6;
}

.dashboard-calendar-card__meta dt {
    margin: 0;
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 500;
}

.dashboard-calendar-card__meta dd {
    margin: 0;
    color: #111111;
    font-size: 0.9rem;
    font-weight: 600;
}

.dashboard-calendar-card__media {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

.dashboard-calendar-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.dashboard-calendar-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1.5rem 1.35rem;
}

.dashboard-calendar-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    background: #ffffff;
}

.dashboard-calendar-card__btn--ghost {
    border: 1.5px solid #111111;
    color: #111111;
}

.dashboard-calendar-card__btn--duplicate {
    border: 1.5px solid var(--brand-blue);
    color: var(--brand-blue);
}

.dashboard-calendar-card__btn--duplicate:hover {
    background-color: rgba(76, 105, 255, 0.06);
    color: #3d52cc;
    border-color: #3d52cc;
}

.dashboard-calendar-card__btn--danger {
    border: 1.5px solid #e11d48;
    color: #e11d48;
}

.dashboard-calendar-card__btn--edit {
    margin-left: auto;
    border: 1.5px solid #16a34a;
    color: #111111;
}

.dashboard-calendar-card__btn--edit:hover {
    background-color: rgba(22, 163, 74, 0.06);
    color: #111111;
}

.dashboard-calendar-card__btn--danger-solid {
    border: 1.5px solid #e11d48;
    background-color: transparent;
    color: #e11d48;
}

.dashboard-calendar-card__btn--cancel {
    border: 1.5px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
}

.dashboard-calendar-card__confirm {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.72);
}

.dashboard-calendar-card__confirm[hidden] {
    display: none !important;
}

.dashboard-calendar-card__confirm-text {
    margin: 0;
    max-width: 280px;
    color: #ffffff;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.dashboard-calendar-card__confirm-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

@media (max-width: 991px) {
    .dashboard-calendar-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-calendar-grid:has(> :only-child) {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .dashboard-calendar-card__body {
        grid-template-columns: 1fr;
    }

    .dashboard-calendar-card__media {
        justify-content: flex-start;
        order: -1;
    }

    .dashboard-calendar-card__media img {
        height: 180px;
    }

    .dashboard-calendar-card__btn--edit {
        margin-left: 0;
    }

    .dashboard-calendar-card__meta > div {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }

    .header:not(.header--calendar) .header-logo {
        position: static;
        transform: none;
    }

    .header-brand {
        padding: 0.5rem 1.1rem;
    }

    .header-brand .logo {
        width: 100px;
    }
}

.dashboard-page__title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
}

.account-page {
    padding: 2.75rem 0 4rem;
}

.account-page__title {
    margin: 0 0 1.5rem;
    font-size: 1.85rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.account-page__flash {
    margin: 0 0 1.25rem;
    padding: 0.85rem 1.15rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.account-page__flash--success {
    background-color: #ecfdf5;
    color: #065f46;
}

.account-page__flash--error {
    background-color: #fef2f2;
    color: #991b1b;
}

.account-page__top {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
}

.account-page__main {
    flex: 0 0 33.333%;
    width: 33.333%;
    max-width: 33.333%;
    min-width: 0;
}

.account-card {
    background-color: #ffffff;
    border-radius: 28px;
    padding: 0.5rem 2rem 0.65rem;
}

.account-card__row {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0;
    padding: 1.35rem 0;
    border-bottom: 1.5px solid #111111;
}

.account-card__row:last-child {
    border-bottom: none;
}

.account-card__label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.2;
}

.account-card__line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 1.5rem;
}

.account-card__row.is-editing .account-card__line {
    align-items: flex-start;
}

.account-card__value {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1.05rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.35;
    word-break: break-word;
}

.account-card__input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    border-radius: 999px;
    border: 1.5px solid #cfcfcf;
    padding: 0.45rem 1rem;
    font-size: 1.05rem;
    font-weight: 400;
    color: #1a1a1a;
    background-color: #ffffff;
    line-height: 1.35;
}

.account-card__input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 0.2rem rgba(76, 105, 255, 0.18);
}

.account-card__password-fields {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1 1 auto;
    min-width: 0;
}

.account-card__change {
    flex-shrink: 0;
    align-self: center;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--brand-blue);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
    text-decoration: none;
}

.account-card__row.is-editing .account-card__change {
    align-self: flex-start;
    margin-top: 0.45rem;
}

.account-card__change:hover {
    color: #3d52cc;
    text-decoration: underline;
}

.account-page__logout {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.85rem;
    border-radius: 999px;
    border: 1.5px solid var(--brand-blue);
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: var(--brand-blue);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.account-page__logout:hover {
    color: #3d52cc;
    border-color: #3d52cc;
}

.account-page__danger {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-top: 1.85rem;
}

.account-page__delete-form {
    flex-shrink: 0;
    margin: 0;
}

.account-page__delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: none;
    padding: 0.7rem 1.5rem;
    background-color: #d6d6d6;
    color: #111111;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}

.account-page__delete:hover {
    background-color: #c8c8c8;
}

.account-page__danger-note {
    margin: 0;
    max-width: 18rem;
    color: #5a5a5a;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.35;
}

@media (max-width: 991px) {
    .account-page__main {
        flex-basis: 50%;
        width: 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .account-page__top {
        flex-direction: column;
    }

    .account-page__main {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }

    .account-page__logout {
        align-self: flex-start;
        margin-top: 0;
    }

    .account-page__danger {
        flex-direction: column;
        align-items: flex-start;
        max-width: 100%;
    }
}

.calendar-name-modal__label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111111;
}

.calendar-name-modal__input {
    border-radius: 999px;
    border: 1.5px solid #d1d5db;
    padding: 0.75rem 1.15rem;
    font-size: 1rem;
    font-weight: 600;
}

.calendar-name-modal__input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 0.2rem rgba(76, 105, 255, 0.2);
}

.calendar-name-modal__error {
    margin: 0.65rem 0 0;
    color: #e11d48;
    font-size: 0.85rem;
    font-weight: 600;
}

.calendar-name-modal__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
    border-top: none;
    padding: 0 1.5rem 1.5rem;
}

.orders-page {
    padding: 2rem 0 3rem;
}

.orders-page__empty {
    padding: 4rem 1rem;
    text-align: center;
    color: #6b7280;
    font-weight: 600;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.order-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    border-radius: 18px;
    background-color: #ffffff;
    overflow: hidden;
}

.order-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 1rem;
    padding: 1.35rem 1.35rem 1rem;
    flex: 1;
}

.order-card__title {
    margin: 0 0 1rem;
    color: #111111;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.15;
}

.order-card__meta {
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.order-card__meta > div {
    display: grid;
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: 0.5rem;
    align-items: baseline;
}

.order-card__meta dt {
    margin: 0;
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 500;
}

.order-card__meta dd {
    margin: 0;
    color: #111111;
    font-size: 0.9rem;
    font-weight: 600;
}

.order-card__badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.25rem 0.85rem;
    background-color: #111111;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
}

.order-card__invoice {
    color: var(--brand-blue);
    text-decoration: underline;
    font-weight: 700;
    cursor: default;
}

.order-card__media {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.order-card__media img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
}

.order-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0 1.35rem 1.25rem;
}

.order-card__form {
    margin: 0;
}

.order-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    background: #ffffff;
}

.order-card__btn--outline {
    border: 1.5px solid var(--brand-blue);
    color: var(--brand-blue);
}

.order-card__btn--ghost {
    border: 1.5px solid #6b7280;
    color: #111111;
}

.order-card__btn--outline:hover,
.order-card__btn--ghost:hover {
    color: inherit;
}

@media (max-width: 991px) {
    .orders-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .order-card__body {
        grid-template-columns: 1fr;
    }

    .order-card__media {
        justify-content: flex-start;
    }

    .order-card__meta > div {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }
}

@media (max-width: 991px) {
    .header-stepper__step {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .header-navbar {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .header-stepper {
        gap: 0.35rem;
    }

    .header-stepper__label {
        display: none;
    }

    .header-stepper__step.active .header-stepper__label {
        display: inline;
    }
}

.container {
    max-width: var(--layout-max-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--layout-gutter);
    padding-right: var(--layout-gutter);
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
}

.page-hero {
    height: 120px;
}

.page-hero{
    background-color: var(--header-background) !important;
    font-size: 12px !important;
    color: #ffffff !important;
    position : relative;
}

.page-hero .hero{
    width : 150px;
    position : absolute;
    margin : 20px;
    right : 0;
}

.page-content {
    min-height: 300px;
}

.content-raw {
    display: flex;
    align-items: stretch;
    margin-bottom: 1rem;
    border: 1px solid #d8d8d6;
    border-radius: 15px;
    background-color: #ffffff;
    overflow: hidden;
}

.content-raw .left-column {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 130px;
    min-height: 88px;
    padding: 12px 14px;
    color: #ffffff;
}

.content-raw .left-column.date {
    background-color: var(--header-background);
    border-radius: 15px 0 0 15px;
}

.content-raw .left-column.random {
    background-color: var(--brand-black);
    border-radius: 15px 0 0 15px;
}

.content-raw .left-column-label {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-transform: capitalize;
}

.content-raw .date-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.content-raw .date-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.content-raw .left-column-delete {
    position: absolute;
    left: -10px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background-color: var(--brand-black);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-50%);
}

.content-raw .left-column-delete:hover {
    color: #ffffff;
    opacity: 0.85;
}

.content-raw-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
    margin-top: 10px;
    border-radius: 999px;
    background-color: #3d3d3d;
}

.content-raw-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #ffffff;
    transition: transform 0.2s ease;
}

.content-raw-toggle.is-on {
    background-color: #2ecc71;
}

.content-raw-toggle.is-on::after {
    transform: translateX(22px);
}

.content-raw .main-column {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 16px 20px;
    color: var(--brand-blue);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.content-raw .content-raw-sentence {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 999px;
    background-color: #f1f1f0;
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 500;
}

.content-raw .right-column {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 18px;
    border-left: 1px solid #e5e5e3;
}

.content-raw-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--brand-black);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.content-raw-action:hover {
    color: var(--brand-black);
    opacity: 0.75;
}

.content-raw-action--view {
    border-color: #2ecc71;
}

.content-raw-action--save {
    border-color: #2ecc71;
}

.content-raw-action--delete {
    border-color: #e74c3c;
}

.content-raw-action:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.content-raw--composer {
    border: 2px solid var(--header-background);
    margin-bottom: 1.25rem;
}

.content-raw--composer .main-column {
    flex-direction: column;
    align-items: stretch;
}

.content-raw--composer .composer-input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--brand-blue);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.content-raw--composer .composer-input::placeholder {
    color: var(--brand-blue);
    opacity: 0.85;
}

.content-raw--composer .composer-title-input {
    font-size: 20px;
    font-weight: 600;
}

.composer-sentence-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.composer-sentence-label {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.composer-sentence-field {
    flex: 1 1 auto;
    min-width: 180px;
}

.composer-sentence-input {
    width: 100%;
    border: 0;
    outline: 0;
    border-radius: 999px;
    padding: 10px 18px;
    background-color: #f1f1f0;
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.composer-sentence-input::placeholder {
    color: var(--brand-blue);
    opacity: 0.85;
}

.content-raw--composer.is-preview .composer-sentence-input {
    font-style: italic;
}

.content-raw--composer .composer-date-fields {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: 8px;
}

.content-raw--composer .composer-date-select {
    width: 100%;
    border: 0;
    border-radius: 6px;
    padding: 4px 6px;
    font-size: 12px;
    color: var(--brand-black);
}

.content-raw-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background-color: #9eb8ff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.content-raw-add-btn:hover {
    opacity: 0.9;
}

.content-raw-add-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.composer-error {
    margin-top: 6px;
    font-size: 12px;
    color: #e74c3c;
}

.content-raw--composer.is-preview .composer-input {
    font-style: italic;
}

[data-composer-sentence-on-edit] .content-raw--composer [data-composer-sentence-row] {
    display: none;
}

[data-composer-sentence-on-edit] .content-raw--composer.is-editing [data-composer-sentence-row] {
    display: flex;
}

.content-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 1rem;
}

.content-list-view {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.content-list-view-label {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.content-view-btn {
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    background: transparent;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.content-view-btn:hover {
    color: #374151;
}

.content-view-btn.active {
    background-color: #e5e5e3;
    color: #111827;
}

.content-add-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 2px solid #9eb8ff;
    border-radius: 999px;
    background-color: #ffffff;
    color: #6b8cff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.content-add-new-btn:hover {
    opacity: 0.85;
}

.content-list {
    margin-top: 0.25rem;
}

/* =====================================================
   Content bloc grid (images / videos)
   ===================================================== */

.content-bloc-manager {
    padding-bottom: 2rem;
}

.content-bloc-toolbar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.content-bloc-toolbar-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.content-bloc-toolbar-top-actions--end {
    margin-left: auto;
}

.content-bloc-bw-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    cursor: pointer;
}

.content-bloc-bw-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.content-bloc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.content-bloc-btn:hover {
    opacity: 0.88;
}

.content-bloc-btn--outline {
    border: 2px solid #9eb8ff;
    background-color: #ffffff;
    color: #6b8cff;
}

.content-bloc-btn--primary {
    border: 0;
    background-color: var(--brand-blue);
    color: #ffffff;
}

.content-bloc-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.content-bloc-action-btn {
    border: 0;
    border-radius: 999px;
    padding: 8px 18px;
    background-color: #e5e5e3;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.content-bloc-action-btn:hover {
    opacity: 0.85;
}

.content-bloc-action-btn--danger {
    background-color: #fde8e8;
    color: #e74c3c;
}

.content-bloc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.content-bloc-grid-empty {
    grid-column: 1 / -1;
}

.content-bloc-manager:not(.is-edit-mode) .content-bloc-toolbar-actions,
.content-bloc-manager:not(.is-edit-mode) .content-bloc-select {
    display: none;
}

.content-bloc-manager[data-per-bloc-edit="true"] .content-bloc-toolbar-top,
.content-bloc-manager[data-per-bloc-edit="true"] .content-bloc-toolbar-actions {
    display: flex;
}

.content-bloc-manager[data-per-bloc-edit="true"]:not(.is-edit-mode) .content-bloc-select {
    display: none;
}

.content-bloc-sentence-display {
    margin: 0;
    min-height: 72px;
    padding: 12px 14px;
    border-radius: 12px;
    background-color: #f9f9f8;
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

.content-bloc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.content-bloc-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 12px;
    border: 2px solid #e5e5e3;
    border-radius: 999px;
    background-color: #ffffff;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.content-bloc-action:hover:not(:disabled) {
    opacity: 0.88;
}

.content-bloc-action--edit {
    border-color: #9eb8ff;
    color: #6b8cff;
}

.content-bloc-action--preview {
    border-color: #2ecc71;
    color: #2ecc71;
}

.content-bloc-action--save {
    border-color: #2ecc71;
    background-color: #2ecc71;
    color: #ffffff;
}

.content-bloc-action--delete {
    border-color: #fde8e8;
    background-color: #fde8e8;
    color: #e74c3c;
}

.content-bloc-action:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.content-bloc:not(.is-bloc-editing) .content-bloc-edit {
    display: none;
}

.content-bloc.is-bloc-editing .content-bloc-view {
    display: none;
}

.content-bloc.is-bloc-editing .content-bloc-edit {
    display: block;
}

.content-bloc-schedule-panel {
    border-top: 1px solid #e5e5e3;
    padding-top: 12px;
}

.content-bloc.is-bloc-editing .content-bloc-schedule-panel .content-bloc-footer-left {
    min-height: auto;
}

.content-bloc.is-dirty .content-bloc-action--save,
.content-bloc.is-saved .content-bloc-action--save {
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.25);
}

.content-bloc-manager.is-bw-preview .content-bloc-media-img {
    filter: grayscale(100%);
}

.content-bloc {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background-color: #ffffff;
}

.content-bloc.is-selected {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

.content-bloc.is-dirty .content-raw-action--view {
    background-color: #2ecc71;
    border-color: #2ecc71;
    color: #ffffff;
}

.content-bloc.is-saved .content-raw-action--view {
    background-color: #2ecc71;
    border-color: #2ecc71;
    color: #ffffff;
}

.content-bloc-select {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    margin: 0;
    cursor: pointer;
}

.content-bloc-select-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid var(--brand-blue);
    border-radius: 50%;
    background-color: #ffffff;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.content-bloc-select-input:checked + .content-bloc-select-indicator {
    border-color: var(--brand-blue);
    background-color: var(--brand-blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M12.2 4.2 6.8 10.2 3.8 7.2l-1.4 1.4 4.4 4.4 6.8-7.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

.content-bloc-media {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    border-radius: 12px;
    background-color: #e5e5e3;
    overflow: hidden;
}

.content-bloc-media-img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    display: block;
}

.content-bloc-media--grayscale .content-bloc-media-img {
    filter: grayscale(100%);
}

.content-bloc-media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 160px;
    color: #9ca3af;
    font-size: 48px;
}

.content-bloc-media-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 160px;
    padding: 16px;
    color: var(--brand-blue);
    text-align: center;
}

.content-bloc-media-video i {
    font-size: 48px;
}

.content-bloc-media-video-label {
    font-size: 12px;
    font-weight: 500;
    word-break: break-all;
    color: #6b7280;
}

.content-bloc-url-field {
    width: 100%;
    padding: 12px;
}

.content-bloc-url-input {
    width: 100%;
    border: 1px dashed #9eb8ff;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--brand-blue);
    background-color: #ffffff;
}

.content-bloc-sentence-input {
    width: 100%;
    border: 2px dashed #c5c5c3;
    border-radius: 12px;
    padding: 12px 14px;
    resize: vertical;
    min-height: 72px;
    background-color: #ffffff;
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.content-bloc-sentence-input::placeholder {
    color: var(--brand-blue);
    opacity: 0.85;
}

.content-bloc-sentence-input:disabled,
.content-bloc-url-input:disabled {
    background-color: #f9f9f8;
    cursor: default;
}

.content-bloc-error {
    margin-top: 6px;
    font-size: 12px;
    color: #e74c3c;
}

.content-bloc-footer {
    display: flex;
    align-items: stretch;
    border-top: 1px solid #e5e5e3;
    margin-top: auto;
}

.content-bloc-footer-left {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    min-height: 88px;
}

.content-bloc-footer-left.evenly {
    color: var(--brand-black);
}

.content-bloc-footer-left.date {
    color: var(--header-background);
}

.content-bloc-schedule-label {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.content-bloc-evenly {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.content-bloc-dates {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.content-bloc-date-fields {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.content-bloc-date-select {
    width: 44px;
    height: 44px;
    border: 2px solid currentColor;
    border-radius: 50%;
    padding: 0;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: inherit;
    background-color: #ffffff;
    appearance: none;
    cursor: pointer;
}

.content-bloc-date-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
}

.content-bloc-date-clear:hover {
    color: #e74c3c;
}

.content-bloc-footer-right {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border-left: 1px solid #e5e5e3;
}

.content-bloc-manager:not(.is-edit-mode) .content-bloc-date-select,
.content-bloc-manager:not(.is-edit-mode) .content-bloc-evenly-toggle,
.content-bloc-manager:not(.is-edit-mode) .content-bloc-date-clear {
    pointer-events: none;
    opacity: 0.7;
}

.content-bloc:not(.is-bloc-editing) .content-bloc-date-select,
.content-bloc:not(.is-bloc-editing) .content-bloc-evenly-toggle,
.content-bloc:not(.is-bloc-editing) .content-bloc-date-clear {
    pointer-events: none;
    opacity: 0.7;
}

/* =====================================================
   Content configuration (Personal Content / Packs)
   ===================================================== */

.content-config-page {
    padding-top: 0;
}

.content-subnav {
    background-color: var(--brand-black);
}

.content-subnav__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.content-subnav__tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.content-subnav__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    padding: 0.55rem 1.35rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.content-subnav__tab:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.75);
}

.content-subnav__tab.is-active {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #000000;
}

.content-config-page__content {
    padding-top: 1.5rem;
}

.content-config-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.35rem;
    border-radius: 14px;
    background-color: #ffffff;
}

.content-config-status__note,
.content-config-status__days {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111111;
}

.content-config-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

/* =====================================================
   Content cards (calendar configuration)
   ===================================================== */

.content-card,
.content-pack-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    margin: 0;
    box-shadow: none;
    background-color: #ffffff;
}

.content-card__body,
.content-pack-card__body {
    display: flex;
    align-items: stretch;
    min-height: 240px;
}

.content-card__content,
.content-pack-card__content {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.75rem 1.75rem;
    background-color: #ffffff;
    min-width: 0;
}

.content-card--active .content-card__content {
    background-color: var(--brand-blue);
    color: #ffffff;
}

.content-card--active .content-card__label,
.content-card--active .content-card__title,
.content-card--active .content-card__description {
    color: #ffffff;
}

.content-card__label,
.content-pack-card__label {
    display: block;
    margin-bottom: 0.35rem;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.content-card__title,
.content-pack-card__title {
    margin: 0 0 0.65rem;
    color: #000000;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.15;
}

.content-card__description,
.content-pack-card__description {
    margin: 0 0 1.25rem;
    color: #6b7280;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.5;
}

.content-card--active .content-card__description {
    color: rgba(255, 255, 255, 0.88);
}

.content-card__actions,
.content-pack-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.content-card__btn,
.content-pack-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.05rem;
    border: 1.5px solid var(--brand-blue);
    border-radius: 999px;
    background-color: #ffffff;
    color: var(--brand-blue);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.content-card--active .content-card__btn {
    border-color: #ffffff;
    background-color: transparent;
    color: #ffffff;
}

.content-card__btn--ghost {
    border-color: currentColor;
    background: transparent;
}

.content-card__btn:hover,
.content-pack-card__btn:hover {
    opacity: 0.9;
    color: var(--brand-blue);
}

.content-card--active .content-card__btn:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.12);
}

.content-card__btn-icon,
.content-pack-card__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: var(--brand-blue);
    color: #ffffff;
    font-size: 0.65rem;
}

.content-card--active .content-card__btn-icon {
    background-color: #ffffff;
    color: var(--brand-blue);
}

.content-card__badge,
.content-pack-card__badge {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.18);
    color: inherit;
    font-size: 0.75rem;
    font-weight: 600;
}

.content-card:not(.content-card--active) .content-card__badge {
    background-color: rgba(25, 135, 84, 0.12);
    color: var(--bs-success);
}

.content-card__visual,
.content-pack-card__visual,
.content-premium-card__visual {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e8e8e8;
    min-width: 0;
}

.content-card__visual img,
.content-pack-card__visual img,
.content-premium-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-card__visual i,
.content-pack-card__visual i,
.content-premium-card__visual i {
    color: #b8b8b8;
    font-size: 72px;
}

.content-card--upsell .content-card__body {
    flex-direction: column;
}

.content-card--upsell .content-card__visual {
    flex: 0 0 auto;
    min-height: 140px;
    order: -1;
}

.content-card--upsell .content-card__content {
    flex: 1 1 auto;
    width: 100%;
}

@media (max-width: 991px) {
    .content-config-grid {
        grid-template-columns: 1fr;
    }

    .content-config-status {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .content-card__body,
    .content-pack-card__body {
        flex-direction: column;
        min-height: 0;
    }

    .content-card__content,
    .content-pack-card__content {
        flex-basis: auto;
        width: 100%;
        padding: 1.5rem;
    }

    .content-card__visual,
    .content-pack-card__visual {
        min-height: 140px;
    }

    .content-card__title,
    .content-pack-card__title {
        font-size: 1.4rem;
    }
}

/* =====================================================
   Cover Note modal
   ===================================================== */

.cover-modal-dialog .modal-content {
    border-radius: 18px;
    overflow: hidden;
}

.cover-modal-dialog .modal-header {
    align-items: flex-start;
    gap: 1rem;
}

.cover-modal-dialog .modal-title {
    font-size: 1.75rem;
}

.cover-modal-header-meta {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
}

.cover-modal-dialog .modal-body {
    padding: 0;
}

.cover-form__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    min-height: 420px;
}

.cover-form__main {
    padding: 1.5rem 1.75rem 1.75rem;
    background-color: #ffffff;
}

.cover-form__info {
    margin-bottom: 1.15rem;
    padding: 0.95rem 1.1rem;
    border-radius: 12px;
    background-color: #ececec;
    color: #333333;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.45;
}

.cover-form__panel {
    position: relative;
    margin-bottom: 1.25rem;
    padding: 1.5rem 1.25rem 1.25rem;
    border: 1.5px solid #d7d7d7;
    border-radius: 16px;
}

.cover-form__tab {
    position: absolute;
    top: -0.7rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.25rem 0.85rem;
    background-color: #000000;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
}

.cover-form__field {
    margin-bottom: 1rem;
}

.cover-form__field:last-child {
    margin-bottom: 0;
}

.cover-form__label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #111111;
}

.cover-form__input,
.cover-form__textarea {
    width: 100%;
    border: 1.5px solid var(--brand-blue);
    border-radius: 999px;
    padding: 0.65rem 1.05rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111111;
    background-color: #ffffff;
}

.cover-form__textarea {
    border-radius: 16px;
    min-height: 5rem;
    resize: vertical;
}

.cover-form__input:focus,
.cover-form__textarea:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(76, 105, 255, 0.18);
}

.cover-form__hint {
    margin: 0.45rem 0 0;
    color: #888888;
    font-size: 0.8rem;
    font-weight: 500;
}

.cover-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.cover-form__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    background-color: #ffffff;
}

.cover-form__btn--preview {
    border: 1.5px solid #22c55e;
    color: #15803d;
}

.cover-form__btn--save {
    border: 1.5px solid var(--brand-blue);
    color: var(--brand-blue);
}

.cover-form__btn--remove {
    border: 1.5px solid #e11d48;
    color: #e11d48;
}

.cover-form__preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: #e8e8e8;
}

.cover-form__preview-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 991px) {
    .cover-form__layout {
        grid-template-columns: 1fr;
    }

    .cover-form__preview {
        min-height: 220px;
    }
}

/* =====================================================
   Premium content cards (calendar configuration)
   ===================================================== */

.content-premium-card,
.content-pack-card.premium {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    background-color: #000000;
}

.content-premium-card__body,
.content-pack-card.premium .content-pack-card__body {
    display: flex;
    align-items: stretch;
    min-height: 220px;
}

.content-premium-card__content,
.content-pack-card.premium .content-pack-card__content {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    background: linear-gradient(180deg, #000000 0%, #4c51bf 100%);
    color: #ffffff;
}

.content-premium-card__badge,
.content-pack-card.premium .content-pack-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.content-premium-card__badge i,
.content-pack-card.premium .content-pack-card__badge i {
    font-size: 11px;
}

.content-premium-card__title,
.content-pack-card.premium .content-pack-card__title {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.content-premium-card__description,
.content-pack-card.premium .content-pack-card__description {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

.content-premium-card__btn,
.content-pack-card.premium .content-pack-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 10px 22px;
    border: 1px solid #ffffff;
    border-radius: 999px;
    background-color: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.content-premium-card__btn:hover,
.content-pack-card.premium .content-pack-card__btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    opacity: 1;
}

.content-premium-card__btn i,
.content-pack-card.premium .content-pack-card__btn i {
    font-size: 14px;
}

.content-premium-card__count,
.content-pack-card.premium .content-pack-card__count {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}


@media (max-width: 768px) {
    .content-premium-card__body,
    .content-pack-premium-card__body {
        flex-direction: column;
        min-height: 0;
    }

    .content-premium-card__content,
    .content-pack-premium-card__content {
        padding: 24px;
    }

    .content-premium-card__visual,
    .content-pack-premium-card__visual {
        min-height: 160px;
    }

    .content-premium-card__title,
    .content-pack-premium-card__title {
        font-size: 24px;
    }
}

/* Page preview modal */
.page-preview-modal__iframe {
    display: block;
    width: 100%;
    min-height: 600px;
    height: 70vh;
    border: 1px solid #dee2e6;
    background: #fff;
}

.page-preview-modal__thumbnail {
    display: block;
    width: 100%;
    max-width: 589px;
    height: auto;
    margin: 0 auto;
    border: 1px solid #dee2e6;
    background: #fff;
}

/* Content pack preview modal */
.modal .modal-content,
.content-pack-modal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.modal .modal-header,
.content-pack-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 32px 24px;
    background-color: #000000;
    color: #ffffff;
}

.modal .modal-header-text,
.content-pack-modal__header-text {
    min-width: 0;
}

.content-pack-modal__type {
    display: block;
    margin-bottom: 8px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.modal .modal-title,
.content-pack-modal__title {
    margin: 0;
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
}

.content-pack-modal__close {
    flex-shrink: 0;
    margin: 4px 0 0;
    opacity: 0.9;
}

.modal .btn-close {
    flex-shrink: 0;
    margin: 4px 0 0;
    opacity: 0.9;
    --bs-btn-close-filter: invert(1) grayscale(100%) brightness(200%);
}

.modal .modal-body,
.content-pack-modal__body {
    background-color: #ffffff;
}

.content-pack-modal__intro {
    color: #111827;
}

.content-pack-modal__intro h1,
.content-pack-modal__intro h2,
.content-pack-modal__intro h3,
.content-pack-modal__intro-title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: #000000;
}

.content-pack-modal__intro p,
.content-pack-modal__intro-text {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.content-pack-modal__gallery {
    min-width: 0;
}

.content-pack-modal__carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.content-pack-modal__carousel::-webkit-scrollbar {
    display: none;
}

.content-pack-modal__slide {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.content-pack-modal__slide img {
    display: block;
    height: 280px;
    width: auto;
    max-width: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

.content-pack-modal__scroll-track {
    position: relative;
    height: 4px;
    margin-top: 18px;
    border-radius: 999px;
    background-color: #e5e7eb;
    overflow: hidden;
}

.content-pack-modal__scroll-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 28%;
    height: 100%;
    border-radius: inherit;
    background-color: #9ca3af;
    transition: left 0.1s ease, width 0.1s ease;
}

.content-pack-modal__empty {
    margin: 0;
    padding: 48px 24px;
    border-radius: 12px;
    background-color: #f3f4f6;
    color: #6b7280;
    font-size: 15px;
    text-align: center;
}

.content-pack-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 32px 24px;
    background-color: #f5f5f5;
}

.content-pack-modal__actions {
    flex-shrink: 0;
}

.content-pack-modal__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px 10px 10px;
    border: 2px solid var(--brand-blue);
    border-radius: 999px;
    background-color: #ffffff;
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.15s ease;
}

.content-pack-modal__btn:hover {
    opacity: 0.85;
}

.content-pack-modal__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--brand-blue);
    color: #ffffff;
    font-size: 11px;
}

.content-pack-modal__disclaimer {
    margin: 0;
    max-width: 360px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
    text-align: right;
}

.content-pack-modal--premium .content-pack-modal__header {
    background: linear-gradient(135deg, #111111 0%, #2a2418 100%);
}

@media (max-width: 992px) {
    .content-pack-modal__body {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .content-pack-modal__footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px 24px;
    }

    .content-pack-modal__disclaimer {
        max-width: none;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .content-pack-modal__header {
        padding: 20px 20px 18px;
    }

    .content-pack-modal__title {
        font-size: 26px;
    }

    .content-pack-modal__slide img {
        height: 220px;
    }
}

/* Calendar basics form (step 1) */
.generator-page {
    padding-top: 1.5rem;
}

.calendar-basics-form {
    --basics-blue: var(--brand-blue);
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.basics-form-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.basics-form-cta {
    display: flex;
    min-width: 0;
}

.basics-form-cta[hidden] {
    display: none !important;
}

.calendar-basics-form:not(.is-ready) {
    grid-template-columns: 1fr;
}

.basics-card {
    background-color: #ffffff;
    border-radius: 20px;
    margin: 0;
    overflow: hidden;
}

.basics-card.is-locked {
    background-color: #ececec;
    pointer-events: none;
    user-select: none;
}

.basics-card.is-locked .basics-card__body {
    grid-template-columns: 1fr;
}

.basics-card.is-locked .basics-card__main {
    padding: 1.35rem 2rem;
}

.basics-card.is-locked .basics-card__title {
    margin: 0;
    color: #9a9a9a;
    font-weight: 600;
}

.basics-card.is-locked .basics-date-values,
.basics-card.is-locked [data-basics-step-content],
.basics-card.is-locked .basics-pills,
.basics-card.is-locked .basics-card__help {
    display: none !important;
}

.basics-card__body {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 0;
    min-height: 100%;
}

.basics-card--filled .basics-card__body,
.generator-page--basics-complete .basics-card__body {
    grid-template-columns: 1fr;
}

.generator-page--basics-complete [data-basics-help] {
    display: none !important;
}

.basics-card__main {
    padding: 1.75rem 2rem;
    min-width: 0;
}

.basics-card__main > div {
    margin-bottom: 0;
}

.basics-card__title {
    margin: 0 0 1.25rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}

.basics-card__help {
    display: flex;
    align-items: center;
    padding: 1.5rem 1.75rem;
    background-color: #e8e8e8;
    color: #333333;
}

.basics-card__help p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
}

.basics-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
}

.basics-section {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid #ececea;
}

.basics-section--last {
    border-bottom: none;
}

.basics-section__main {
    min-width: 0;
}

.basics-section__main > div {
    margin-bottom: 0;
}

.basics-section__title {
    margin: 0 0 1.25rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: #000000;
}

.basics-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.basics-pill {
    position: relative;
    display: inline-flex;
    padding: 0;
    margin: 0;
}

.basics-pill__input,
.basics-pills .form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.basics-pill__label,
.basics-pills .form-check-label {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.35rem;
    border: 2px solid var(--basics-blue);
    border-radius: 999px;
    background-color: #ffffff;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.basics-pill__input:checked + .basics-pill__label,
.basics-pills .form-check-input:checked + .form-check-label {
    background-color: var(--basics-blue);
    border-color: var(--basics-blue);
    color: #ffffff;
}

.basics-pill__input:focus + .basics-pill__label,
.basics-pills .form-check-input:focus + .form-check-label {
    box-shadow: 0 0 0 0.2rem rgba(76, 105, 255, 0.25);
}

.basics-date-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.basics-date-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.basics-date-field {
    flex: 1 1 140px;
    margin-bottom: 0;
}

.basics-date-field .form-label {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #000000;
}

.basics-date-select {
    border: 2px solid var(--basics-blue);
    border-radius: 999px;
    padding: 0.55rem 1.35rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #000000;
    background-color: #ffffff;
}

.basics-date-select:focus {
    border-color: var(--basics-blue);
    box-shadow: 0 0 0 0.2rem rgba(76, 105, 255, 0.25);
}

.basics-submit {
    width: 100%;
    min-height: 100%;
    border: none;
    border-radius: 20px;
    background-color: var(--basics-blue);
    color: #ffffff;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.28);
    transition: background-color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}

.basics-submit:hover,
.basics-submit:focus {
    background-color: #3d56d9;
    color: #ffffff;
}

.basics-submit:active {
    transform: translateY(1px);
}

.basics-leave-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.basics-leave-modal[hidden] {
    display: none !important;
}

.basics-leave-modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
}

.basics-leave-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 640px);
    border-radius: 18px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.basics-leave-modal__header {
    padding: 1.15rem 1.5rem;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
}

.basics-leave-modal__header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.basics-leave-modal__body {
    padding: 1.75rem 1.75rem 1.25rem;
    background-color: #ffffff;
}

.basics-leave-modal__columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.basics-leave-modal__intro {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #111111;
    line-height: 1.4;
}

.basics-leave-modal__list {
    margin: 0;
    padding-left: 1.15rem;
    color: #111111;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.55;
}

.basics-leave-modal__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 1.25rem 1.75rem 1.5rem;
    background-color: #ececec;
}

.basics-leave-modal__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-align: center;
}

.basics-leave-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 999px;
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.basics-leave-modal__btn--danger {
    border: 1.5px solid #111111;
    background-color: #ffffff;
    color: #111111;
}

.basics-leave-modal__btn--primary {
    border: 1.5px solid #ffffff;
    background-color: #ffffff;
    color: #111111;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.basics-leave-modal__btn--cancel {
    width: auto;
    min-width: 8rem;
    border: 1.5px solid #ffffff;
    background-color: #000000;
    color: #ffffff;
}

.basics-leave-modal__note {
    margin: 0;
    color: #666666;
    font-size: 0.8rem;
    font-weight: 500;
}

.basics-leave-modal__footer {
    display: flex;
    justify-content: center;
    padding: 1rem 1.5rem 1.25rem;
    background-color: #000000;
}

@media (max-width: 991px) {
    .calendar-basics-form {
        grid-template-columns: 1fr;
    }

    .basics-card__body {
        grid-template-columns: 1fr;
    }

    .basics-submit {
        min-height: 120px;
    }

    .basics-leave-modal__columns,
    .basics-leave-modal__actions {
        grid-template-columns: 1fr;
    }
}

/* Calendar skin step (step 2) */
.skin-page {
    padding-top: 0;
}

.skin-subnav {
    background-color: var(--brand-black);
    color: rgba(255, 255, 255, 0.45);
}

.skin-subnav__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.skin-subnav__item {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    color: inherit;
}

.skin-subnav__item.is-active {
    color: #ffffff;
}

.skin-subnav__item--action {
    cursor: pointer;
}

.skin-subnav__item--action:hover {
    color: rgba(255, 255, 255, 0.85);
}

.skin-page__content {
    padding-top: 1.5rem;
}

.skin-tooltip {
    max-width: 280px;
    margin: 0 auto 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background-color: var(--brand-black);
    color: #ffffff;
    text-align: center;
}

.skin-tooltip__text {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
}

.skin-tooltip__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.skin-tooltip__dots span {
    display: block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
}

.skin-tooltip__dots span.is-active {
    background-color: var(--brand-blue);
}

.skin-collection-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skin-collection-card {
    display: flex;
    align-items: stretch;
    height: 340px;
    border-radius: 24px;
    background-color: #ffffff;
    overflow: hidden;
}

.skin-collection-card__content {
    flex: 0 0 33.333%;
    width: 33.333%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2rem;
    min-width: 0;
}

.skin-collection-card__label {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111111;
}

.skin-collection-card__title {
    margin: 0 0 0.75rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.25rem, 3.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.05;
    color: #000000;
}

.skin-collection-card__credit {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #555555;
}

.skin-collection-card__credit p {
    margin: 0;
}

.skin-collection-card__help {
    margin: 0 0 1.75rem;
    max-width: 16rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
    color: #666666;
}

.skin-collection-card__choose {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    border: 1.5px solid var(--brand-blue);
    border-radius: 999px;
    padding: 0.7rem 1.75rem;
    background-color: var(--brand-blue);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.skin-collection-card__choose:hover {
    background-color: #3d56d9;
    border-color: #3d56d9;
    color: #ffffff;
}

.skin-collection-card__choose--ghost {
    background-color: transparent;
    color: var(--brand-blue);
}

.skin-collection-card__choose--ghost:hover {
    background-color: rgba(76, 105, 255, 0.08);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.skin-collection-card__visual {
    position: relative;
    flex: 1 1 66.666%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.skin-illustration-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.skin-illustration-slider__track {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.skin-illustration-slider__track::-webkit-scrollbar {
    display: none;
}

.skin-illustration-slider__item {
    flex: 0 0 auto;
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    background-color: #ececea;
    scroll-snap-align: start;
}

.skin-illustration-slider__item--placeholder {
    flex: 1 0 100%;
    min-width: 100%;
    background: linear-gradient(135deg, #ececea 0%, #d8d8d6 100%);
}

.skin-illustration-slider__scrollbar {
    position: absolute;
    left: 50%;
    bottom: 0.85rem;
    z-index: 2;
    width: 50%;
    height: 0.35rem;
    border-radius: 999px;
    background: rgba(40, 40, 40, 0.28);
    transform: translateX(-50%);
    cursor: pointer;
}

.skin-illustration-slider__scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 20%;
    min-width: 1.5rem;
    border-radius: 999px;
    background: var(--brand-blue);
    cursor: grab;
    touch-action: none;
}

.skin-illustration-slider__scrollbar-thumb:active {
    cursor: grabbing;
}

.calendar-skin-form {
    --skin-blue: var(--brand-blue);
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.skin-summary-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.skin-summary-cta {
    display: flex;
    min-width: 0;
}

.skin-card {
    display: flex;
    align-items: stretch;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    min-height: 220px;
}

.skin-card__content {
    flex: 0 0 33.333%;
    width: 33.333%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.75rem;
    min-width: 0;
}

.skin-card__type {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111111;
}

.skin-card__title {
    margin: 0 0 1.5rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.85rem, 3vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: #000000;
}

.skin-card__btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0.55rem 1.5rem;
    border: 1.5px solid var(--skin-blue);
    border-radius: 999px;
    background-color: #ffffff;
    color: var(--skin-blue);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.skin-card__btn:hover {
    background-color: var(--skin-blue);
    color: #ffffff;
}

.skin-card__visual {
    flex: 1 1 66.666%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.25rem 1.25rem 0;
    min-width: 0;
}

.skin-card__visual img {
    width: 100%;
    height: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: 14px;
}

.skin-continue {
    width: 100%;
    min-height: 100%;
    border: none;
    border-radius: 20px;
    background-color: var(--skin-blue);
    color: #ffffff;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    padding: 2rem 1.5rem;
    box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.35);
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.skin-continue:hover,
.skin-continue:focus {
    background-color: #3d56d9;
    color: #ffffff;
}

.skin-continue:active {
    transform: translateY(1px);
}

@media (max-width: 991px) {
    .skin-subnav__inner {
        gap: 1rem;
        overflow-x: auto;
    }

    .skin-collection-card {
        flex-direction: column;
        height: auto;
    }

    .skin-collection-card__content,
    .skin-card__content {
        flex-basis: auto;
        width: 100%;
        padding: 1.75rem 1.5rem 1rem;
    }

    .skin-collection-card__visual {
        flex: none;
        height: 240px;
        padding: 0;
    }

    .skin-illustration-slider,
    .skin-illustration-slider__track,
    .skin-illustration-slider__item {
        height: 100%;
    }

    .calendar-skin-form {
        grid-template-columns: 1fr;
    }

    .skin-card {
        flex-direction: column;
        min-height: 0;
    }

    .skin-card__visual {
        flex: none;
        max-width: none;
        padding: 0 1.25rem 1.25rem;
    }

    .skin-continue {
        min-height: 120px;
    }
}

/* Birthday modal form */
.birthday-form {
    --birthday-blue: var(--brand-blue);
}

.birthday-form__layout {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.birthday-form__fields {
    flex: 1 1 55%;
    min-width: 0;
}

.birthday-form__preview {
    flex: 1 1 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 0.5rem;
}

.birthday-form__preview-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
}

.birthday-form__toggle {
    display: inline-flex;
    border: 2px solid #000000;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0;
}

.birthday-form__toggle .form-check {
    padding: 0;
    margin: 0;
    min-height: 0;
}

.birthday-form__toggle .form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.birthday-form__toggle .form-check-label {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    background-color: #ffffff;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.birthday-form__toggle .form-check-input:checked + .form-check-label {
    background-color: #000000;
    color: #ffffff;
}

.birthday-form__toggle .form-check-input:focus + .form-check-label {
    box-shadow: inset 0 0 0 2px rgba(76, 105, 255, 0.35);
}

.birthday-form__info {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    background-color: #f0f0ee;
    color: #333333;
    font-size: 0.9rem;
    line-height: 1.45;
}

.birthday-form__divider {
    margin: 1.25rem 0;
    border: 0;
    border-top: 1px solid #dddddb;
    opacity: 1;
}

.birthday-form__section-title {
    margin: 0 0 0.85rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: #000000;
}

.birthday-form__text-input {
    border: 2px solid var(--birthday-blue);
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.birthday-form__message .form-label {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: #000000;
}

.birthday-form__message-input {
    border: 2px solid var(--birthday-blue);
    border-radius: 16px;
    padding: 1rem 1.15rem;
    min-height: 140px;
    font-size: 0.95rem;
    line-height: 1.45;
    resize: vertical;
}

.birthday-form__message-input::placeholder {
    color: #8a8a88;
}

.birthday-form__field .form-label,
.birthday-form__field-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #000000;
}

.birthday-form__file-input {
    border: 2px solid var(--birthday-blue);
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.birthday-form__reminder .form-check-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #000000;
}

.birthday-form__current-media {
    margin-bottom: 1rem;
}

.birthday-form__current-picture {
    display: block;
    max-height: 120px;
    border-radius: 12px;
}

.birthday-form__current-video-link {
    color: var(--birthday-blue);
    font-weight: 500;
    text-decoration: none;
}

.birthday-form__current-video-link:hover {
    text-decoration: underline;
}

.birthday-form__toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #dddddb;
}

.birthday-form__toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.5rem 1.15rem;
    border: 2px solid;
    border-radius: 999px;
    background-color: #ffffff;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.birthday-form__toolbar-btn:hover {
    opacity: 0.88;
}

.birthday-form__toolbar-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.birthday-form__toolbar-btn--preview {
    border-color: #2ecc71;
}

.birthday-form__toolbar-btn--save {
    flex: 1 1 auto;
    border-color: var(--birthday-blue);
}

.birthday-form__toolbar-btn--remove {
    border-color: #e74c3c;
}

.birthday-form.is-preview-focus .birthday-form__preview {
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.35);
    border-radius: 16px;
}

.birthday-form.is-preview-focus .birthday-form__preview-image {
    transform: scale(1.03);
    transition: transform 0.2s ease;
}

.birthday-form .invalid-feedback {
    display: block;
}

@media (max-width: 767px) {
    .birthday-form__layout {
        flex-direction: column;
    }

    .birthday-form__preview {
        order: -1;
        min-height: 180px;
    }

    .birthday-form__preview-image {
        max-width: 220px;
    }

    .birthday-form__toggle {
        display: flex;
        width: 100%;
    }

    .birthday-form__toggle .form-check {
        flex: 1 1 50%;
    }

    .birthday-form__toggle .form-check-label {
        justify-content: center;
        width: 100%;
        padding-inline: 0.75rem;
        font-size: 0.82rem;
    }
}

/* Review / Order shared tabs */
.review-order-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 640px;
    margin: 0 auto 28px;
    padding: 8px;
    border-radius: 999px;
    background: #111111;
}

.review-order-tabs__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 0;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.review-order-tabs__tab:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

.review-order-tabs__tab.is-active {
    background: #ffffff;
    color: #111111;
}

.review-order-tabs__tab.is-active:hover {
    color: #111111;
}

.review-order-tabs__icon {
    color: #22c55e;
    font-size: 13px;
}

.review-order-tabs__icon--open {
    color: #16a34a;
}

/* Review page */
.review-page-gate {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
}

.review-page-gate__panel {
    text-align: center;
    padding: 32px 40px;
}

.review-page-gate__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #111111;
}

.review-page-gate__progress {
    margin: 0 0 6px;
    font-size: 15px;
    color: #374151;
}

.review-page-gate__hint {
    margin: 0;
    font-size: 13px;
}

.review-page {
    padding: 28px 0 56px;
}

.review-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #ffffff;
    color: #4b5563;
    font-size: 14px;
}

.review-carousel-section {
    margin-bottom: 40px;
}

.review-month-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.review-month-btn {
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.55);
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.review-month-btn:hover {
    color: #111111;
    background: rgba(255, 255, 255, 0.85);
}

.review-month-btn.active {
    background: #ffffff;
    color: #111111;
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.08);
}

.review-carousel-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.review-carousel-track {
    display: flex;
    gap: 18px;
    min-width: min-content;
    padding: 4px 2px 8px;
}

.review-card-wrap {
    flex: 0 0 auto;
    width: 170px;
    scroll-margin-left: 4px;
}

.review-card {
    position: relative;
    width: 170px;
    height: 236px;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
}

.review-card__preview {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f3f4f6;
}

.review-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    background: #f3f4f6;
}

.review-card__image--loading {
    opacity: 0;
}

.review-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card__actions {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.review-card:hover .review-card__actions,
.review-card:focus-within .review-card__actions {
    opacity: 1;
    pointer-events: auto;
}

.review-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 118px;
    padding: 10px 18px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.review-card__action:hover {
    opacity: 0.85;
    color: #111111;
}

.review-card__action--zoom {
    border-color: #2ecc71;
}

.review-card__action--edit {
    border-color: #d1d5db;
}

.review-card__label {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

.preview-swiper {
    overflow: hidden;
    padding: 4px 2px 20px;
}

.preview-swiper .swiper-slide {
    width: 170px;
    height: auto;
}

.preview-swiper .review-card-wrap {
    width: 170px;
}

.preview-swiper__scrollbar,
.preview-swiper .swiper-scrollbar {
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.08);
}

.preview-swiper .swiper-scrollbar-drag {
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.35);
}

.review-summary {
    margin-bottom: 36px;
}

.review-summary__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.review-summary__title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #111111;
}

.review-summary__refresh {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.review-summary__refresh:hover {
    color: var(--brand-blue);
}

.review-summary__layout {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.review-summary__product {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
}

.review-summary__product img {
    display: block;
    width: 100%;
    height: auto;
}

.review-summary__panels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.review-panel {
    padding: 18px 20px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.05);
}

.review-panel--wide {
    grid-column: 1 / -1;
}

.review-panel__title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: #111111;
}

.review-panel__split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.review-panel__subtitle {
    margin: 18px 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.review-panel__list {
    margin: 0;
}

.review-panel__list--compact > div {
    grid-template-columns: 1fr auto;
}

.review-panel__list > div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #f1f1f0;
}

.review-panel__list > div:last-child {
    border-bottom: 0;
}

.review-panel__list dt {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
}

.review-panel__list dd {
    margin: 0;
    color: #111111;
    font-size: 14px;
    font-weight: 600;
}

.review-panel__content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.review-panel__bullets {
    margin: 0;
    padding-left: 18px;
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
}

.review-panel__text {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.review-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding-top: 8px;
}

.review-approve {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #111111;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.review-approve input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.review-approve__box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.review-approve input:checked + .review-approve__box {
    border-color: var(--brand-blue);
    background: var(--brand-blue);
}

.review-approve input:checked + .review-approve__box::after {
    content: '';
    width: 6px;
    height: 10px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg) translateY(-1px);
}

.review-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    padding: 14px 28px;
    border-radius: 999px;
    background: #c7d2fe;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    pointer-events: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.review-order-btn.is-enabled {
    background: var(--brand-blue);
    pointer-events: auto;
}

.review-order-btn.is-enabled:hover {
    opacity: 0.92;
}

@media (max-width: 991px) {
    .review-summary__layout {
        grid-template-columns: 1fr;
    }

    .review-summary__product {
        max-width: 320px;
        margin: 0 auto;
    }

    .review-summary__panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .review-summary__panels,
    .review-panel__content-grid,
    .review-panel__split {
        grid-template-columns: 1fr;
    }

    .review-panel__list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .review-panel__list--compact > div {
        grid-template-columns: 1fr auto;
    }

    .review-card-wrap {
        width: 150px;
    }

    .review-card {
        width: 150px;
        height: 208px;
    }

    .review-order-tabs {
        max-width: none;
        border-radius: 20px;
        flex-direction: column;
    }

    .review-order-tabs__tab {
        width: 100%;
    }
}

/* Order page (keeps dashboard #efefed main background) */
.order-page {
    padding: 28px 0 64px;
}

.order-form {
    max-width: 820px;
    margin: 0 auto;
}

.order-card {
    margin-bottom: 18px;
    padding: 22px 24px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(17, 17, 17, 0.06);
}

.order-card__title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #111111;
}

.order-card__lead {
    margin: 0 0 18px;
    color: #6b7280;
    font-size: 14px;
}

.order-card__note {
    margin: 14px 0 0;
    color: #9ca3af;
    font-size: 13px;
}

.order-lines {
    list-style: none;
    margin: 0;
    padding: 0;
}

.order-line {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0ee;
}

.order-line:last-child {
    border-bottom: 0;
}

.order-line--off {
    opacity: 0.45;
}

.order-line__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px 20px;
    align-items: start;
}

.order-line__name {
    margin: 0 0 6px;
    color: #111111;
    font-size: 15px;
    font-weight: 700;
}

.order-line__icon {
    margin-right: 6px;
    color: #22c55e;
}

.order-line__description {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.order-line__toggle {
    display: block;
    margin: 0;
    cursor: pointer;
}

.order-line__toggle input {
    margin-right: 8px;
    accent-color: var(--brand-blue);
}

.order-line__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    min-width: 88px;
    text-align: right;
    color: #6b7280;
    font-size: 12px;
}

.order-line__price strong {
    color: #111111;
    font-size: 15px;
    font-weight: 700;
}

.order-qty {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
}

.order-qty__btn {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #111111;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.order-qty__btn:hover {
    background: #f3f4f6;
}

.order-qty__value {
    width: 42px;
    height: 34px;
    border: 0;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    background: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    -moz-appearance: textfield;
}

.order-qty__value::-webkit-outer-spin-button,
.order-qty__value::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.order-discount {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #f0f0ee;
}

.order-discount__toggle {
    border: 0;
    background: transparent;
    padding: 0;
    color: #111111;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.order-discount__form {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.order-discount__input {
    flex: 1 1 auto;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
}

.order-discount__apply {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: #111111;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.order-discount__feedback {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.order-shipping {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.order-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.order-field__label {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.order-field__control {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    color: #111111;
    font-size: 14px;
}

.order-shipping__btn {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #e7e7e5;
    color: #111111;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.order-shipping__btn:hover {
    background: #dcdcdb;
}

.order-shipping__result {
    margin: 12px 0 0;
    color: #4b5563;
    font-size: 13px;
}

.order-checkout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 24px 0 8px;
    text-align: center;
}

.order-total {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.order-total__label {
    font-size: 18px;
    font-weight: 600;
    color: #111111;
}

.order-total__amount {
    font-size: 34px;
    font-weight: 800;
    color: #111111;
    line-height: 1;
}

.order-total__hint {
    width: 100%;
    color: #9ca3af;
    font-size: 13px;
}

.order-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(100%, 360px);
    min-height: 52px;
    padding: 14px 28px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-blue);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.order-pay-btn:hover {
    opacity: 0.92;
}

.order-checkout__note {
    margin: 0;
    max-width: 420px;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.5;
}

.order-payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.05);
}

.order-payments__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #374151;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .order-line__main {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .order-qty {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .order-shipping {
        grid-template-columns: 1fr;
    }

    .order-discount__form {
        flex-direction: column;
    }

    .order-total__amount {
        font-size: 28px;
    }
}

/* =====================================================
   Auth pages (sign in / create account)
   ===================================================== */

:root {
    --auth-bg: #efefed;
    --auth-accent: var(--brand-blue);
    --auth-accent-hover: #3550e0;
    --auth-text: #111111;
    --auth-muted: #6b7280;
    --auth-card-radius: 14px;
    --auth-input-radius: 6px;
    --auth-pill-radius: 999px;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--auth-bg);
    color: var(--auth-text);
}

.auth-page__main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem 2rem;
    gap: 3.5rem;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-black);
    border-radius: var(--auth-pill-radius);
    padding: 1rem 2rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.auth-logo__img {
    display: block;
    width: 100px;
    height: auto;
    /* cal-ndar_logo.svg is black; invert for white mark on the pill */
    filter: brightness(0) invert(1);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: var(--auth-card-radius);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    padding: 2rem 2rem 1.75rem;
}

.auth-card__title {
    margin: 0 0 0.3rem;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--auth-text);
    text-align: center;
}

.auth-card__subtitle {
    margin: 0 0 1.75rem;
    font-size: 0.85rem;
    color: var(--auth-muted);
    text-align: center;
}

.auth-card__link {
    color: var(--auth-accent);
    font-weight: 600;
    text-decoration: none;
}

.auth-card__link:hover {
    color: var(--auth-accent-hover);
    text-decoration: underline;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.auth-field {
    position: relative;
}

.auth-field__control {
    position: relative;
}

.auth-input,
.auth-field .auth-input {
    display: block;
    width: 100%;
    border: 1px solid var(--auth-accent);
    border-radius: var(--auth-input-radius);
    background: #ffffff;
    color: var(--auth-text);
    font-size: 0.85rem;
    line-height: 1.4;
    padding: 0.6rem 0.85rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-field__control--password .auth-input {
    padding-right: 2.75rem;
}

.auth-input::placeholder {
    color: var(--auth-accent);
    opacity: 1;
}

.auth-input:focus {
    border-color: var(--auth-accent-hover);
    box-shadow: 0 0 0 3px rgba(76, 105, 255, 0.18);
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.7rem;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--auth-accent);
    padding: 0.25rem;
    line-height: 1;
    cursor: pointer;
}

.auth-password-toggle:hover {
    color: var(--auth-accent-hover);
}

.auth-field .invalid-feedback,
.auth-field ul {
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--bs-danger);
    font-size: 0.8rem;
}

.auth-alert {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    background: #fde8e8;
    color: #9b1c1c;
    font-size: 0.9rem;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 65%;
    margin-inline: auto;
    border: 1px solid var(--auth-accent);
    border-radius: var(--auth-pill-radius);
    background: #ffffff;
    color: var(--auth-accent);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 0.6rem 1.25rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.auth-btn:hover,
.auth-btn:focus {
    background: rgba(76, 105, 255, 0.06);
    border-color: var(--auth-accent-hover);
    color: var(--auth-accent-hover);
    text-decoration: none;
}

.auth-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.auth-btn--primary {
    margin-top: 0.85rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 80%;
    margin: 1.75rem auto 1.25rem;
    color: var(--auth-text);
    font-size: 1.05rem;
    font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #cfcfcf;
}

.auth-divider span {
    white-space: nowrap;
    color: var(--auth-text);
}

.auth-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-social__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}

.auth-social__icon .fa-apple {
    color: #111111;
    font-size: 1.1rem;
}

.auth-footer {
    flex-shrink: 0;
    background: var(--brand-black);
    color: #ffffff;
    padding: 0.85rem 1.5rem;
}

.auth-footer__copy {
    margin: 0;
    text-align: right;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 575.98px) {
    .auth-page__main {
        padding: 1.75rem 1rem 1.5rem;
        gap: 2.5rem;
    }

    .auth-card {
        padding: 1.5rem 1.25rem 1.35rem;
        border-radius: 14px;
    }

    .auth-card__title {
        font-size: 1.5rem;
    }

    .auth-field-row {
        grid-template-columns: 1fr;
    }

    .auth-btn {
        width: 100%;
    }

    .auth-logo {
        padding: 0.9rem 2rem;
    }

    .auth-logo__img {
        width: 88px;
    }
}
