/* ── Generator progress stepper ─────────────────────────────────────────── */
.gen-progress-nav {
    align-items: center;
    display: flex;
    justify-content: center;
}

.gen-step-btn {
    -webkit-appearance: none;
    appearance: none;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    outline: none;
    padding: 0 16px;
}

.gen-step-number {
    align-items: center;
    /* gradient ring on inactive steps */
    background:
        linear-gradient(var(--color-bg-1, #0E0C15), var(--color-bg-1, #0E0C15)) padding-box,
        linear-gradient(to right, var(--color-primary-gradient-start), var(--color-primary-gradient-end)) border-box;
    border: 2px solid transparent;
    border-radius: 50%;
    color: var(--color-secondary);
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    height: 48px;
    justify-content: center;
    transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    width: 48px;
}

.gen-step-icon {
    display: none;
}

.gen-step-label {
    color: var(--color-body);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.gen-step-btn.active .gen-step-number {
    background: linear-gradient(to right, var(--color-primary-gradient-start), var(--color-primary-gradient-end));
    border: none;
    box-shadow: 0 4px 20px rgba(128, 90, 245, 0.5);
    color: #fff;
}

.gen-step-btn.active .gen-step-label {
    color: var(--color-heading);
    font-weight: 600;
}

.gen-step-btn.completed .gen-step-number {
    background:
        linear-gradient(var(--color-bg-1, #0E0C15), var(--color-bg-1, #0E0C15)) padding-box,
        linear-gradient(to right, var(--color-primary-gradient-start), var(--color-primary-gradient-end)) border-box;
    border-color: transparent;
    color: var(--color-primary-gradient-end);
    opacity: 0.6;
}

.gen-step-connector {
    background: linear-gradient(to right, var(--color-primary-gradient-start), var(--color-primary-gradient-end));
    flex: 1;
    height: 1px;
    margin-bottom: 30px;
    max-width: 60px;
    min-width: 20px;
    opacity: 0.25;
}

/* ── Step panel fade transitions ─────────────────────────────────────────── */
.gen-step-panel {
    opacity: 1;
    transition: opacity 0.22s ease;
}

.gen-panel-out {
    opacity: 0;
    pointer-events: none;
}

.gen-panel-in {
    opacity: 0;
}

@media only screen and (max-width: 767px) {
    .gen-step-btn {
        padding: 0 8px;
    }

    .gen-step-label {
        display: none;
    }

    .header-right .header-btn {
        gap: 8px !important;
    }

    .tt-mobile-header-primary.btn-default.btn-small {
        flex-shrink: 1;
        font-size: 13px;
        min-width: 0;
        padding: 0 14px;
        white-space: nowrap;
    }

    .tt-mobile-header-icon.btn-default.btn-small {
        align-items: center;
        display: inline-flex;
        flex: 0 0 40px;
        justify-content: center;
        padding: 0;
        width: 40px;
    }
}

/* ── Generator text input ────────────────────────────────────────────────── */
.gen-text-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--color-heading);
    font-size: 16px;
    min-height: 58px;
    padding: 16px 18px;
    transition: border-color 0.3s ease;
    width: 100%;
}

.gen-text-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* ── Validation ──────────────────────────────────────────────────────────── */
.gen-field-hint {
    color: var(--color-danger);
    font-size: 13px;
    margin: 6px 0 0;
}

.gen-text-input.gen-field-error {
    border-color: var(--color-danger);
}

.gen-pill-grid.gen-field-error .gen-pill-label {
    border-color: rgba(255, 0, 3, 0.5);
}

textarea.gen-field-error {
    border-color: var(--color-danger);
}

.gen-text-input:focus {
    border-color: rgba(111, 108, 255, 0.6);
    outline: none;
}

/* ── Hidden radio + pill label trick ─────────────────────────────────────── */
.gen-radio-hidden {
    clip: rect(0 0 0 0);
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}


.gen-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gen-pill-label {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    color: var(--color-body);
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
    line-height: 1;
    margin: 0;
    padding: 10px 16px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

.gen-pill-label i {
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1;
    margin: 0;
}

.gen-pill-label.is-selected {
    background: linear-gradient(135deg, rgba(111, 108, 255, 0.25), rgba(187, 103, 244, 0.15));
    border-color: var(--color-primary, rgba(111, 108, 255, 0.8));
    box-shadow: 0 0 0 1px rgba(111, 108, 255, 0.35), 0 8px 22px rgba(111, 108, 255, 0.15);
    color: var(--color-heading);
    font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
    .gen-pill-label:hover {
        background: rgba(255, 255, 255, 0.09);
        border-color: rgba(111, 108, 255, 0.45);
        color: var(--color-heading);
    }
}

/* ── Generator selectpicker dropdowns ───────────────────────────────────── */
.music-generation-form .rbt-modern-select .bootstrap-select,
.music-generation-form .rbt-modern-select .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 100% !important;
}

.music-generation-form .rbt-modern-select .bootstrap-select > .dropdown-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: none;
    color: var(--color-heading);
    height: 58px;
    padding: 14px 18px;
    transition: border-color 0.3s ease;
}

.music-generation-form .rbt-modern-select .bootstrap-select > .dropdown-toggle:focus,
.music-generation-form .rbt-modern-select .bootstrap-select.show > .dropdown-toggle {
    border-color: rgba(111, 108, 255, 0.6);
    outline: none !important;
}

.music-generation-form .rbt-modern-select .bootstrap-select .dropdown-toggle .filter-option-inner-inner {
    color: var(--color-heading);
}

/* ── Generator form fields ───────────────────────────────────────────────── */
.music-generation-form .music-label {
    color: var(--color-heading);
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.music-generation-form textarea,
.music-generation-form .bootstrap-select > .dropdown-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--color-body);
    min-height: 58px;
    padding: 16px 18px;
    width: 100%;
}

.music-generation-form .bootstrap-select {
    width: 100% !important;
}

.music-generation-form textarea {
    min-height: 180px;
    resize: vertical;
}

.music-generation-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.music-generation-form .disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.music-generation-form .music-submit-group {
    margin-top: 30px;
}

.music-generation-form .music-submit-button.btn-default {
    align-items: center;
    background: linear-gradient(to right, var(--color-primary-gradient-start), var(--color-primary-gradient-end));
    border: 0 none;
    border-radius: 8px;
    color: var(--color-white);
    cursor: pointer;
    display: inline-flex;
    gap: 0;
    height: 50px;
    justify-content: center;
    line-height: 50px;
    flex: 1;
    margin: 0;
    padding: 0 28px;
    position: relative;
    text-align: center;
    z-index: 2;
}

.music-generation-form .music-submit-button.btn-default::before {
    display: none;
}

.music-generation-form .music-submit-button.btn-default > span {
    align-items: center;
    display: inline-flex;
    gap: 0;
    height: auto;
}

.music-generation-form .music-submit-button.btn-default:hover,
.music-generation-form .music-submit-button.btn-default:focus {
    box-shadow: var(--shadow-primary);
    color: var(--color-white);
    filter: brightness(125%);
}

.music-generation-form .music-submit-button.btn-default:disabled,
.music-generation-form .music-submit-button.btn-default.disabled {
    cursor: not-allowed;
    filter: none;
    opacity: 0.75;
}

/* ── Form button: icon + text flex alignment ─────────────────────────────── */
.music-generation-form button.btn-default {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    line-height: 1;
}

.music-generation-form button.btn-default i {
    line-height: 1;
    margin: 0;
}

/* ── Next (primary CTA) buttons: full width ──────────────────────────────── */
.music-generation-form #next-to-step2 {
    width: 100%;
}

/* ── Step 2 Back / Next pair: Next fills remaining space ─────────────────── */
.music-generation-form #next-to-step3 {
    flex: 1;
}

/* ── Form card: uses theme .border-gradient for the gradient border ─────── */
.music-form-card {
    display: block;
    width: 100%;
    border-radius: var(--radius);
}

.music-form-inner {
    display: block;
    height: 100%;
    padding: 30px;
    position: relative;
    width: 100%;
    z-index: 2; /* sit above border-gradient ::after dark fill */
}

@media only screen and (max-width: 767px) {
    .music-form-inner { padding: 19px; }
}

/* Remove the grey panel background inside the form — the card provides it */
.music-form-inner .single-settings-box {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.music-status-card {
    min-height: 100%;
}

.music-status-card .pricing-footer {
    min-height: 92px;
}

.music-status-loader {
    margin: 18px 0 10px;
}

.tt-player-shell {
    background: linear-gradient(160deg, rgba(124, 58, 237, 0.12) 0%, rgba(15, 12, 41, 0.82) 100%);
    border: 1px solid rgba(124, 58, 237, 0.22);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 38px rgba(7, 4, 19, 0.22);
    padding: 12px;
}

.tt-player-shell--compact {
    border-radius: 14px;
    padding: 10px;
}

.tt-audio-player {
    accent-color: #9f7aea;
    background: linear-gradient(135deg, rgba(17, 13, 33, 0.98), rgba(41, 28, 73, 0.96));
    border: 1px solid rgba(159, 122, 234, 0.24);
    border-radius: 12px;
    color-scheme: dark;
    display: block;
    overflow: hidden;
    width: 100%;
}

.tt-audio-player::-webkit-media-controls-enclosure {
    background: linear-gradient(135deg, rgba(22, 17, 42, 0.99), rgba(56, 36, 97, 0.97));
    border: 1px solid rgba(196, 181, 253, 0.16);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tt-audio-player::-webkit-media-controls-panel {
    background: linear-gradient(135deg, rgba(22, 17, 42, 0.99), rgba(56, 36, 97, 0.97));
}

.tt-audio-player::-webkit-media-controls-current-time-display,
.tt-audio-player::-webkit-media-controls-time-remaining-display {
    color: #f5f3ff;
    font-weight: 600;
    text-shadow: none;
}

.tt-audio-player::-webkit-media-controls-play-button,
.tt-audio-player::-webkit-media-controls-mute-button {
    background-color: rgba(196, 181, 253, 0.14);
    border-radius: 999px;
    filter: brightness(0) invert(1);
    padding: 4px;
}

.tt-audio-player::-webkit-media-controls-timeline,
.tt-audio-player::-webkit-media-controls-volume-slider {
    filter: saturate(1.18) brightness(1.16);
}

.music-status-card .tt-player-shell {
    margin-top: 8px;
}

@media only screen and (max-width: 767px) {
    .tt-player-shell {
        padding: 10px;
    }
}

.occasion-card-actions {
    justify-content: center;
}

.music-occasion-card {
    display: flex;
    flex-direction: column;
}

.music-occasion-card .inner {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    width: 100%;
}

.music-occasion-card .icon {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, rgba(128, 90, 245, 0.22), rgba(206, 153, 255, 0.12));
    border: 1px solid rgba(128, 90, 245, 0.3);
    border-radius: 50%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: inline-flex;
    flex: 0 0 64px;
    height: 64px;
    justify-content: center;
    margin-bottom: 24px;
    min-height: 64px;
    min-width: 64px;
    width: 64px;
}

.music-occasion-card .icon i {
    background: linear-gradient(90deg, var(--color-primary-gradient-start) 0%, var(--color-primary-gradient-end) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-primary);
    font-size: 2.6rem;
    line-height: 1;
}

.music-occasion-card .description.centered-shape {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 8px;
    position: relative;
}

.music-occasion-card .description.centered-shape::after {
    background-image: url("../images/heart-mark.svg");
    background-position: right 8px bottom 108px;
    background-repeat: no-repeat;
    background-size: 148px auto;
    height: 100%;
    left: 0;
    opacity: 0.1;
    position: absolute;
    top: 0;
    transition: 0.4s;
    width: 100%;
    z-index: -2;
}

.music-occasion-card .description.centered-shape:hover::after {
    opacity: 0.16;
}

.music-occasion-card .desc {
    flex: 1 1 auto;
    margin-bottom: 0;
}

.music-occasion-card .occasion-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 4px;
    padding-top: 34px;
}

.occasion-card-actions .btn-default {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    line-height: 1;
}

.occasion-card-actions .btn-default i {
    line-height: 1;
    margin-right: 0;
}

.occasion-card-actions .btn-default span {
    display: inline-block;
    line-height: 1;
}

.occasion-demo-note {
    min-height: 20px;
    opacity: 0.9;
}

.music-occasion-card .occasion-card-actions,
.music-occasion-card .occasion-demo-note,
.music-occasion-card .read-more-btn {
    margin-top: 0 !important;
}

.aiwave-service-default audio[data-occasion-demo] {
    display: none;
}

.music-error-badge[hidden] {
    display: none !important;
}

.music-error-badge {
    color: #ff8f8f;
    display: inline-flex;
    margin-top: 18px;
}

.generation-result[hidden] {
    display: none !important;
}

.generation-result {
    width: 100%;
}

.generation-result .btn-default {
    display: inline-flex;
}

.page-preview-frame img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-height: min(72vh, 680px);
    max-width: 100%;
    width: auto;
}

.rbt-main-content {
    margin-left: calc(var(--sidebar-width) + 32px);
    margin-right: 32px;
    max-width: none;
    min-width: 0;
    width: calc(100% - var(--sidebar-width) - 64px);
}

.rbt-daynamic-page-content.center-width {
    align-items: stretch;
}

.rbt-daynamic-page-content.center-width .rbt-dashboard-content {
    width: 100%;
}

.rbt-daynamic-page-content.center-width .rbt-dashboard-content .banner-area {
    padding-left: 0;
    padding-right: 0;
}

.dashboard-sidebar-toggle.btn-default {
    align-items: center;
    display: none;
    height: 44px;
    justify-content: center;
    min-width: 44px;
    padding: 0;
    width: 44px;
}

.dashboard-sidebar-overlay {
    background: rgba(6, 4, 12, 0.62);
    border: 0;
    inset: 80px 0 0 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: 0.4s;
    z-index: 998;
}

.footer-link.contact-link li a {
    cursor: default;
}

.sidebar-logout-form {
    width: 100%;
}

.sidebar-logout-button.btn-default {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 0 16px;
    width: 100%;
}

.sidebar-logout-button i {
    font-size: 16px;
    line-height: 1;
}

.sidebar-logout-button span {
    display: inline-block;
    font-weight: 500;
    line-height: 1;
}

.dashboard-avatar {
    align-items: center;
    display: flex;
    justify-content: center;
}

.dashboard-avatar img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.subscription-box,
.subscription-box .inner {
    overflow: hidden;
}

.dashboard-author-card {
    align-items: center !important;
    display: flex !important;
    gap: 12px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.dashboard-account-badge {
    flex-shrink: 0;
    max-width: 78px;
    overflow: hidden;
    position: absolute !important;
    right: 10px;
    text-overflow: ellipsis;
    top: 10px;
    white-space: nowrap;
}

.subscription-box .inner .autor-info .author-img {
    flex: 0 0 40px;
    margin-right: 0;
}

.subscription-box .inner .autor-info .author-desc {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding-right: 86px;
    width: 100%;
}

.dashboard-author-name,
.dashboard-author-email {
    min-width: 0;
    max-width: 100%;
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-author-name {
    margin-bottom: 0;
}

.dashboard-author-email {
    margin-bottom: 0;
}

.sidebar-upgrade-button.btn-default {
    display: block;
    width: 100%;
}

.dashboard-badge-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dashboard-badge-row > * {
    margin: 0;
}

.dashboard-meta-chip {
    align-items: center;
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.2;
    min-height: 34px;
    padding: 8px 14px;
}

.dashboard-roomy-box {
    padding: 36px;
}

.dashboard-hero-bar {
    row-gap: 30px;
}

.dashboard-hero-copy {
    max-width: 720px;
}

.dashboard-summary-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 20px;
}

.dashboard-summary-item {
    min-width: 0;
}

.dashboard-summary-card {
    margin-bottom: 0;
    padding: 30px;
}

.dashboard-summary-card .title {
    font-size: clamp(2.2rem, 0.3vw + 2rem, 2.8rem);
    hyphens: none;
    line-height: 1.28;
    overflow-wrap: normal;
    text-wrap: balance;
    word-break: keep-all;
}

.dashboard-summary-card .b2,
.dashboard-summary-card .b3 {
    font-size: 1.45rem;
    line-height: 1.6;
}

.dashboard-summary-card .dashboard-meta-chip {
    font-size: 11px;
    min-height: 30px;
    padding: 6px 12px;
}

.dashboard-summary-card .dashboard-badge-row {
    gap: 8px;
}

.dashboard-summary-card .d-flex.align-items-center.justify-content-between {
    gap: 12px;
}

.music-social-proof-area .rating-title {
    gap: 12px;
}

.music-social-proof-area .rating-title .subtitle {
    font-size: 1.8rem;
    margin-bottom: 0;
    text-wrap: balance;
}

.music-social-proof-area .counter-style-1 .count-number {
    display: block;
    font-size: clamp(2.6rem, 3vw, 5rem);
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    width: max-content;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
    line-height: 0.92;
    overflow-wrap: normal !important;
    text-wrap: nowrap;
    white-space: nowrap !important;
    word-break: normal !important;
}

.music-social-proof-area .counter-style-1 .count-number span {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: normal !important;
    text-wrap: nowrap;
    white-space: nowrap !important;
    word-break: normal !important;
}

.music-social-proof-area .counter-style-1 .title {
    font-size: 1.8rem;
    text-wrap: balance;
}

.dashboard-meta-copy {
    line-height: 1.7;
    margin-bottom: 14px;
}

.dashboard-occasions-layout {
    row-gap: 28px;
}

.dashboard-occasion-form .form-group {
    margin-bottom: 0;
}

.dashboard-occasion-form > [class*="col-"] {
    display: flex;
}

.dashboard-occasion-form .form-group,
.dashboard-checkbox-field,
.dashboard-occasion-submit {
    width: 100%;
}

.dashboard-occasion-form .form-group label {
    white-space: nowrap;
}

.dashboard-occasion-form .rbt-modern-select,
.dashboard-occasion-form .rbt-modern-select .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100% !important;
}

.dashboard-occasion-form .rbt-modern-select .bootstrap-select > .dropdown-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: none;
    height: 58px;
    padding: 14px 18px;
}

.dashboard-occasion-form .rbt-modern-select .bootstrap-select .dropdown-toggle .filter-option-inner-inner {
    color: var(--color-heading);
}

.dashboard-date-field {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--color-body);
    min-height: 58px;
    padding: 16px 18px;
    width: 100%;
}

.dashboard-date-field::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(1) opacity(0.65);
}

.dashboard-checkbox-field {
    height: 100%;
}

.dashboard-occasion-form textarea {
    min-height: 132px;
}

.dashboard-occasion-feed {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
}

.dashboard-occasion-feed-body {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.dashboard-occasion-feed .dashboard-empty-state {
    min-height: 320px;
}

.dashboard-card-stack {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.dashboard-card-stack .title,
.dashboard-card-stack p {
    margin-bottom: 0;
}

.dashboard-checkbox-wrap {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    min-height: 58px;
    padding: 0 18px;
}

.dashboard-checkbox-label {
    align-items: center;
    color: var(--color-body);
    display: inline-flex;
    gap: 10px;
    margin: 0;
    width: 100%;
}

.dashboard-checkbox-label input {
    flex: 0 0 auto;
    margin: 0;
}

.dashboard-checkbox-label span {
    min-width: 0;
}

.dashboard-occasion-submit {
    align-items: flex-end;
    display: flex;
    height: 100%;
}

.dashboard-occasion-submit .btn-default {
    width: 100%;
}

.dashboard-occasion-list {
    display: grid;
    gap: 18px;
}

.dashboard-occasion-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 22px;
}

.dashboard-occasion-header {
    gap: 18px;
}

.dashboard-occasion-actions {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-occasion-actions p,
.dashboard-occasion-actions form {
    margin: 0;
}

.dashboard-occasion-note {
    line-height: 1.7;
    margin-top: 18px;
}

.dashboard-empty-state {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
    text-align: center;
}

.dashboard-empty-state i {
    font-size: 2.5rem;
    opacity: 0.45;
}

.dashboard-prompt {
    border-left: 3px solid var(--color-border);
    font-style: italic;
    padding-left: 12px;
}

.occasion-calendar-table {
    border-collapse: separate;
    border-spacing: 10px;
    min-width: 760px;
    width: 100%;
}

.occasion-calendar-table th {
    color: var(--color-body);
    font-size: 13px;
    font-weight: 600;
    padding: 0 6px 10px;
    text-transform: uppercase;
}

.occasion-calendar-table td {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    min-height: 124px;
    padding: 12px;
    vertical-align: top;
    width: 14.2857%;
}

.occasion-calendar-table td.is-muted {
    opacity: 0.4;
}

.occasion-calendar-table td.is-today {
    border-color: rgba(111, 108, 255, 0.7);
    box-shadow: 0 0 0 1px rgba(111, 108, 255, 0.25);
}

.occasion-calendar-day {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100px;
}

.occasion-calendar-date {
    color: var(--color-heading);
    font-size: 16px;
    font-weight: 700;
}

.occasion-pill {
    background: rgba(111, 108, 255, 0.16);
    border: 1px solid rgba(111, 108, 255, 0.22);
    border-radius: 999px;
    color: var(--color-heading);
    font-size: 12px;
    line-height: 1.2;
    padding: 7px 10px;
}

@media only screen and (max-width: 1199px) {
    .rbt-main-content {
        margin-left: auto;
        margin-right: auto;
        width: calc(100% - 120px);
    }

    .dashboard-sidebar-toggle.btn-default {
        display: inline-flex;
    }

    .rbt-left-panel {
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
        transform: translateX(calc(-100% - 24px));
        transition: transform 0.4s ease;
        width: min(320px, calc(100vw - 36px));
        z-index: 1000;
    }

    body.dashboard-sidebar-open .rbt-left-panel {
        transform: translateX(0);
    }

    body.dashboard-sidebar-open {
        overflow: hidden;
    }

    body.dashboard-sidebar-open .dashboard-sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .dashboard-summary-card {
        padding: 28px;
    }

    .dashboard-summary-card .title {
        font-size: clamp(2.1rem, 0.25vw + 1.9rem, 2.5rem);
    }
}

@media only screen and (max-width: 767px) {
    .rbt-main-content {
        width: calc(100% - 60px);
    }
}

@media only screen and (max-width: 479px) {
    .rbt-main-content {
        width: calc(100% - 30px);
    }
}

@media only screen and (max-width: 767px) {
    .dashboard-summary-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-roomy-box {
        padding: 24px;
    }

    .dashboard-summary-card {
        padding: 24px;
    }

    .dashboard-checkbox-wrap {
        padding: 0 16px;
    }

    .dashboard-occasion-actions {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }
}

/* ── Google login button ─────────────────────────────────────────────────── */
.social-login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

.login-google-btn {
    align-items: center;
    background: var(--color-blackest);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    color: var(--color-heading);
    display: inline-flex;
    font-size: 16px;
    font-weight: 600;
    gap: 14px;
    justify-content: center;
    letter-spacing: 0.3px;
    padding: 14px 28px;
    text-decoration: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    width: 100%;
}

.login-google-btn:hover {
    background: var(--color-lessdark);
    border-color: var(--color-primary);
    box-shadow: 0 0 24px rgba(128, 90, 245, 0.25);
    color: var(--color-heading);
}

.login-google-icon {
    flex-shrink: 0;
}

/* ── Sidebar logout button — matches .rbt-default-sidebar-list li a ─────── */
.dashboard-logout-btn {
    appearance: none;
    background: none;
    border: none;
    border-radius: var(--radius-small);
    color: var(--color-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    font-family: inherit;
    font-size: inherit;
    padding: 10px 12px;
    transition: 0.4s;
    width: 100%;
}

.dashboard-logout-btn i {
    color: var(--color-body);
    font-size: 20px;
    margin-right: 10px;
}

.dashboard-logout-btn:hover {
    background: var(--color-blackest);
    color: var(--color-primary);
}

.dashboard-logout-btn:hover i {
    color: var(--color-primary);
}

/* ── Global share sheet ─────────────────────────────────────────────────── */
.tt-share-sheet[hidden] {
    display: none !important;
}

.tt-share-sheet {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 100000;
}

.tt-share-sheet__backdrop {
    background: rgba(7, 5, 16, 0.72);
    backdrop-filter: blur(10px);
    inset: 0;
    position: absolute;
}

.tt-share-sheet__dialog {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
        radial-gradient(circle at top right, rgba(187, 103, 244, 0.22), transparent 48%),
        rgba(13, 10, 26, 0.96);
    border: 1px solid rgba(187, 103, 244, 0.22);
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(6, 5, 14, 0.52);
    max-width: 520px;
    padding: 28px;
    position: relative;
    width: min(100%, 520px);
}

.tt-share-sheet__close {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--color-heading);
    cursor: pointer;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    width: 42px;
}

.tt-share-sheet__close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(187, 103, 244, 0.4);
    transform: translateY(-1px);
}

.tt-share-sheet__header {
    margin-bottom: 24px;
    padding-right: 56px;
}

.tt-share-sheet__eyebrow {
    color: rgba(255, 255, 255, 0.55);
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tt-share-sheet__title {
    color: var(--color-heading);
    margin-bottom: 8px;
}

.tt-share-sheet__text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 0;
}

.tt-share-sheet__actions {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 22px;
}

.tt-share-option {
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    color: var(--color-heading);
    display: inline-flex;
    gap: 12px;
    justify-content: flex-start;
    min-height: 58px;
    padding: 14px 16px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.tt-share-option:hover,
.tt-share-option:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(187, 103, 244, 0.36);
    box-shadow: 0 12px 26px rgba(111, 108, 255, 0.14);
    color: var(--color-heading);
    outline: none;
    transform: translateY(-1px);
}

.tt-share-option__icon {
    align-items: center;
    background: linear-gradient(135deg, rgba(111, 108, 255, 0.22), rgba(187, 103, 244, 0.22));
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.tt-share-option__label {
    color: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.tt-share-sheet__copy {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 18px;
}

.tt-share-sheet__copy-label {
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tt-share-sheet__copy-row {
    align-items: center;
    display: flex;
    gap: 12px;
}

.tt-share-sheet__copy-row .btn-default {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    height: auto;
    justify-content: center;
    line-height: 1.2;
    min-height: 52px;
    padding: 12px 18px;
    white-space: nowrap;
}

.tt-share-sheet__copy-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: var(--color-heading);
    flex: 1 1 auto;
    font-size: 14px;
    min-height: 52px;
    padding: 0 16px;
}

.tt-share-sheet__copy-input:focus {
    border-color: rgba(111, 108, 255, 0.55);
    outline: none;
}

.tt-share-sheet__copy-feedback {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    margin: 10px 0 0;
    min-height: 1.2em;
}

@media only screen and (max-width: 767px) {
    .tt-share-sheet {
        align-items: flex-end;
        padding: 16px;
    }

    .tt-share-sheet__dialog {
        border-radius: 24px;
        max-width: 100%;
        padding: 24px 18px 20px;
    }

    .tt-share-sheet__actions {
        grid-template-columns: 1fr;
    }

    .tt-share-sheet__copy-row {
        align-items: stretch;
        flex-direction: column;
    }

    .tt-share-sheet__copy-row .btn-default {
        height: auto;
        justify-content: center;
        line-height: 1.25;
        padding: 14px 18px;
        white-space: normal;
        width: 100%;
    }
}
