.dashboard-card {
    border: 1px solid #e5e9ee;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    transition: all 0.2s ease-in-out;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.09);
}

.dashboard-card .card-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
    font-weight: 600;
    padding-left: 1rem;
    padding-right: 1rem;
}

.dashboard-card__count-wrap {
    margin-bottom: 0.55rem;
}

.dashboard-card__count {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
    color: #203343;
}

.dashboard-card__count-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #688092;
    margin-top: 0.18rem;
}

.dashboard-card--user {
    border-color: #b7e4c1;
    background: linear-gradient(180deg, #f1fbf4 0%, #ffffff 40%);
}

.dashboard-card--user .card-header {
    background: linear-gradient(180deg, rgba(61, 122, 74, 0.12) 0%, rgba(61, 122, 74, 0.05) 100%);
    color: #1f6b41;
}

.dashboard-card--partner {
    border-color: #c9dbff;
    background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 40%);
}

.dashboard-card--partner .card-header {
    background: linear-gradient(180deg, rgba(43, 76, 126, 0.12) 0%, rgba(43, 76, 126, 0.05) 100%);
    color: #1f4f78;
}

.wemiwa-mollie-connect-card {
    background:
        radial-gradient(circle at 92% 6%, rgba(33, 150, 243, 0.12), transparent 45%),
        #f8fbff;
}

.wemiwa-mollie-connect-card--danger {
    border: 1px solid #f1aeb5;
    background:
        radial-gradient(circle at 90% 8%, rgba(220, 53, 69, 0.18), transparent 48%),
        #fff5f6;
}

.wemiwa-mollie-connect-card--ok {
    border: 1px solid #9fd3b1;
    background:
        radial-gradient(circle at 90% 8%, rgba(25, 135, 84, 0.12), transparent 46%),
        #f3fbf7;
}

.wemiwa-mollie-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.18rem 0.58rem;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.2;
}

.wemiwa-mollie-status--connected {
    background: #e7f8ee;
    color: #18633d;
}

.wemiwa-mollie-status--disconnected {
    background: #eef3f8;
    color: #445f76;
}

.wemiwa-mollie-status--missing {
    background: #fff4dd;
    color: #7b5a1b;
}

.wemiwa-dashboard-hero {
    background: #f6f8fa;
    border: 1px solid #e5e9ee;
    border-radius: 0.75rem;
    padding: 1rem 1.1rem;
}

.wemiwa-dashboard-section {
    border: 1px solid #e5e9ee;
    border-radius: 0.85rem;
    padding: 1rem 1.1rem 1.1rem;
}

.wemiwa-dashboard-section__head {
    margin-bottom: 0.85rem;
}

.wemiwa-dashboard-section--plain {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.wemiwa-dashboard-section--plain .wemiwa-dashboard-section__head {
    margin-bottom: 0.7rem;
}

.wemiwa-dashboard-section--user {
    background:
        radial-gradient(circle at 85% 10%, rgba(123, 200, 155, 0.16), transparent 42%),
        #f7fcf9;
}

.wemiwa-dashboard-section--partner {
    background:
        radial-gradient(circle at 10% 8%, rgba(169, 207, 255, 0.16), transparent 40%),
        #f8fbff;
}

.wemiwa-dashboard-section--partner-teaser {
    background:
        radial-gradient(circle at 88% 10%, rgba(153, 167, 184, 0.14), transparent 42%),
        #f8fafc;
}

.wemiwa-dashboard-section--appointments {
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.wemiwa-dashboard-section--appointments .wemiwa-dashboard-section__head {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.wemiwa-dashboard-bookmarks {
    display: grid;
    gap: 0.7rem;
}

.wemiwa-dashboard-bookmark-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #e5e9ee;
    border-radius: 0.75rem;
    background: #fff;
    padding: 0.55rem 0.65rem;
}

.wemiwa-dashboard-bookmark-item:hover,
.wemiwa-dashboard-bookmark-item:focus-within {
    border-color: #cfd9e4;
    box-shadow: 0 0.35rem 1rem rgba(31, 79, 120, 0.06);
}

.wemiwa-dashboard-bookmark-item__link {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.wemiwa-dashboard-bookmark-item__remove-form {
    margin: 0;
}

.wemiwa-dashboard-bookmark-item__remove {
    min-width: 2rem;
    padding-inline: 0.5rem;
}

.wemiwa-dashboard-bookmark-item__media {
    width: 52px;
    height: 52px;
    border-radius: 0.65rem;
    overflow: hidden;
    border: 1px solid #dce4ec;
    background: #f4f7fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.wemiwa-dashboard-bookmark-item__fallback {
    font-weight: 700;
    color: #4b5f72;
    letter-spacing: 0.03em;
}

.wemiwa-dashboard-bookmark-item__content {
    min-width: 0;
}

.wemiwa-dashboard-bookmark-item__type {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7f92;
    margin-bottom: 0.05rem;
}

.wemiwa-appointments-list {
    display: grid;
    gap: 0.75rem;
}

.wemiwa-appointment-item {
    border: 1px solid #dfe7ef;
    border-left: 0.35rem solid #7d90a5;
    background: #fff;
    border-radius: 0.7rem;
    padding: 0.75rem 0.85rem;
}

.wemiwa-appointment-item--participant {
    border-left-color: #3f86d4;
}

.wemiwa-appointment-item--host {
    border-left-color: #2f9f65;
}

.wemiwa-appointment-item--mixed {
    border-left-color: #5e7fb9;
    background:
        linear-gradient(92deg, rgba(66, 136, 216, 0.08), rgba(52, 154, 95, 0.08)),
        #fff;
}

.wemiwa-appointment-item--live {
    border-color: #efc8cd;
    border-left-color: #dc3545;
    box-shadow: 0 0 0 1px rgba(220, 53, 69, 0.1), 0 0.35rem 0.9rem rgba(220, 53, 69, 0.08);
    background:
        radial-gradient(circle at 92% 10%, rgba(220, 53, 69, 0.1), transparent 46%),
        #fff9fa;
}

.wemiwa-appointment-item--next {
    border-color: #c7dcfa;
    border-left-color: #0d6efd;
    box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.08), 0 0.3rem 0.8rem rgba(13, 110, 253, 0.06);
    background:
        radial-gradient(circle at 92% 10%, rgba(13, 110, 253, 0.08), transparent 46%),
        #f7fbff;
}

.wemiwa-appointment-room-link {
    color: #225b8d;
    text-decoration: none;
}

.wemiwa-appointment-room-link:hover,
.wemiwa-appointment-room-link:focus {
    text-decoration: underline;
}

.wemiwa-appointment-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.52rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.wemiwa-appointment-badge--participant {
    background: #e9f3ff;
    color: #0f4d8a;
}

.wemiwa-appointment-badge--host {
    background: #e8f8ef;
    color: #18633d;
}

.wemiwa-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 700;
    color: #8a2832;
    background: #fdecef;
    border: 1px solid #f3c2c9;
}

.wemiwa-live-pill::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #dc3545;
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.45);
    animation: wemiwaPulseDot 1.4s ease-out infinite;
}

.wemiwa-next-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 700;
    color: #0b4fa4;
    background: #e8f2ff;
    border: 1px solid #c7dcfa;
}

.wemiwa-badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 700;
    color: #842029;
    background: #f8d7da;
    border: 1px solid rgba(220, 53, 69, 0.28);
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.18);
    animation: wemiwaPulseBadge 1.8s ease-in-out infinite;
}

.wemiwa-badge-pulse--sm {
    font-size: 0.7rem;
    padding: 0.16rem 0.45rem;
}

.wemiwa-badge-pulse__dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #dc3545;
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.45);
    animation: wemiwaPulseDot 1.4s ease-out infinite;
}

@keyframes wemiwaPulseBadge {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.16);
        transform: translateZ(0);
    }
    50% {
        box-shadow: 0 0 0 0.38rem rgba(220, 53, 69, 0.04);
        transform: translateY(-1px);
    }
}

@keyframes wemiwaPulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.45);
    }
    70% {
        box-shadow: 0 0 0 0.38rem rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

@keyframes wemiwaPulseDotWarm {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 138, 0, 0.45);
    }
    70% {
        box-shadow: 0 0 0 0.38rem rgba(255, 138, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 138, 0, 0);
    }
}

.wemiwa-bookings-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #d7dde3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wemiwa-bookings-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wemiwa-bookings-avatar--fallback {
    background: #eef2f6;
    color: #435666;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.wemiwa-event-card--past {
    opacity: 0.62;
    border-style: dashed;
}

.wemiwa-event-card--next {
    border: 1px solid #9ec5fe !important;
    background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
    box-shadow: 0 0.2rem 0.7rem rgba(13, 110, 253, 0.12) !important;
}

.wemiwa-event-card--running {
    border: 1px solid #e7b0b6 !important;
    background: linear-gradient(180deg, #fff5f6 0%, #ffffff 100%);
    box-shadow: 0 0.25rem 0.8rem rgba(220, 53, 69, 0.12) !important;
}

.wemiwa-bookmark-card-wrap {
    position: relative;
}

.wemiwa-public-card-grid > [class*='col-'] {
    display: flex;
}

.wemiwa-public-card-grid .wemiwa-bookmark-card-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wemiwa-public-card-grid .room-card-link,
.wemiwa-public-card-grid .wemiwa-partner-list-link {
    width: 100%;
    min-height: 100%;
    display: flex;
}

.wemiwa-public-card-grid .room-public-card,
.wemiwa-public-card-grid .wemiwa-partner-list-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.wemiwa-public-card-grid .card-body {
    flex: 1 1 auto;
}

.wemiwa-bookmark-indicator {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 5;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 193, 7, 0.35);
    background: rgba(255, 243, 205, 0.96);
    color: #b07d00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0.2rem 0.5rem rgba(15, 23, 42, 0.08);
}

.wemiwa-bookmark-toggle-form {
    display: inline-flex;
}

.wemiwa-bookmark-toggle-form--overlay {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 5;
}

.wemiwa-bookmark-toggle {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.96);
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0.2rem 0.5rem rgba(15, 23, 42, 0.08);
    transition: all 0.15s ease;
}

.wemiwa-bookmark-toggle:hover,
.wemiwa-bookmark-toggle:focus {
    color: #8a6200;
    border-color: rgba(255, 193, 7, 0.4);
    background: #fff9e6;
}

.wemiwa-bookmark-toggle.is-active {
    color: #b07d00;
    border-color: rgba(255, 193, 7, 0.45);
    background: #fff3cd;
}

.wemiwa-bookmark-toggle i {
    font-size: 1rem;
}

.wemiwa-bookmark-toggle--labeled {
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    gap: 0.45rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
}

.wemiwa-bookmark-toggle--labeled:hover,
.wemiwa-bookmark-toggle--labeled:focus {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #1f4f78;
}

.wemiwa-bookmark-toggle--labeled.is-active,
.wemiwa-bookmark-toggle--labeled.is-active:hover,
.wemiwa-bookmark-toggle--labeled.is-active:focus {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #334155;
}

.wemiwa-bookmark-toggle__label {
    white-space: nowrap;
}

.wemiwa-bookmark-toggle__badge {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.96);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0.2rem 0.5rem rgba(15, 23, 42, 0.08);
    transition: all 0.15s ease;
}

.wemiwa-bookmark-toggle--labeled:hover .wemiwa-bookmark-toggle__badge,
.wemiwa-bookmark-toggle--labeled:focus .wemiwa-bookmark-toggle__badge {
    color: #8a6200;
    border-color: rgba(255, 193, 7, 0.4);
    background: #fff9e6;
}

.wemiwa-bookmark-toggle--labeled.is-active .wemiwa-bookmark-toggle__badge {
    color: #b07d00;
    border-color: rgba(255, 193, 7, 0.45);
    background: #fff3cd;
}

.wemiwa-bookmark-toggle__badge i {
    font-size: 0.9rem;
}

.wemiwa-dashboard-bookmarks-more {
    border: 1px dashed #d5dee8;
    border-radius: 0.75rem;
    padding: 0.35rem 0.55rem 0.55rem;
    background: #fcfdff;
}

.wemiwa-dashboard-bookmarks-more > summary {
    cursor: pointer;
    font-weight: 600;
    color: #35556f;
    list-style: none;
    padding: 0.2rem 0;
}

.wemiwa-dashboard-bookmarks-more > summary::-webkit-details-marker {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .wemiwa-live-pill::before,
    .wemiwa-badge-pulse,
    .wemiwa-badge-pulse__dot {
        animation: none;
    }
}

@media (max-width: 575.98px) {
    .wemiwa-dashboard-section:not(.wemiwa-dashboard-section--plain) {
        padding: 0.85rem 0.9rem 0.95rem;
    }

    .wemiwa-dashboard-bookmark-item__link {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .wemiwa-dashboard-bookmark-item__link > .bi-chevron-right {
        display: none;
    }
}

.wemiwa-toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1060;
    width: min(24rem, calc(100vw - 2rem));
    display: grid;
    gap: 0.75rem;
    pointer-events: none;
}

.wemiwa-toast {
    pointer-events: auto;
    border-radius: 0.6rem;
    padding: 0.85rem 0.95rem;
    box-shadow: 0 0.5rem 1.3rem rgba(0, 0, 0, 0.18);
    border-left: 0.35rem solid #6c757d;
    background: #fff;
    color: #1b1f23;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    opacity: 0;
    transform: translate3d(0, -8px, 0);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wemiwa-toast.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.wemiwa-toast.is-closing {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
}

.wemiwa-toast--success {
    border-left-color: #198754;
}

.wemiwa-toast--warning {
    border-left-color: #fd7e14;
}

.wemiwa-toast--error {
    border-left-color: #dc3545;
}

.wemiwa-toast--info,
.wemiwa-toast--notice,
.wemiwa-toast--message {
    border-left-color: #0d6efd;
}

.wemiwa-toast__title {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.1rem;
}

.wemiwa-toast__text {
    font-size: 0.9rem;
    line-height: 1.35;
}

.wemiwa-toast__close {
    border: 0;
    background: transparent;
    color: #6c757d;
    font-size: 1.15rem;
    line-height: 1;
    padding: 0;
    width: 1.4rem;
    height: 1.4rem;
    cursor: pointer;
}

.wemiwa-toast__close:hover {
    color: #1b1f23;
}

[x-cloak] {
    display: none !important;
}

/* room/public detail */
.room-public-hero-image {
    min-height: 300px;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.38), transparent 32%),
        linear-gradient(145deg, #edf3f8, #d8e5ef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b5568;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.room-public-info-box {
    background: #f6f8fa;
    border: 1px solid #e5e9ee;
    border-radius: 0.75rem;
    padding: 0.85rem 0.95rem;
}

.room-public-host-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f6f8fa;
    border: 1px solid #e5e9ee;
    border-radius: 0.75rem;
    padding: 0.65rem 0.75rem;
}

.room-public-host-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, #dce9f3, #c5d9e8);
    color: #2f5066;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.room-public-host-content {
    min-width: 0;
}

.room-public-host-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7a86;
    line-height: 1.2;
}

.room-public-host-name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
}

.room-public-host-name a {
    color: #1d5e8a;
    text-decoration: none;
}

.room-public-host-name a:hover,
.room-public-host-name a:focus {
    text-decoration: underline;
}

.room-public-host-meta {
    font-size: 0.82rem;
    color: #6b7a86;
}

.room-public-booking-wrap form,
.room-public-booking-wrap .alert {
    margin-bottom: 0;
}

.room-public-capacity {
    font-size: 0.84rem;
    color: #5f6d79;
    white-space: nowrap;
}

.room-public-next-video {
    font-size: 0.82rem;
    color: #5f6d79;
}

.room-public-card-head {
    background: #f6f8fa;
    border-bottom: 1px solid #e5e9ee;
    padding: 0.65rem 0.95rem;
    font-weight: 600;
    font-size: 0.92rem;
}

.room-public-event-item {
    padding: 0.58rem 0.85rem;
    border-top: 1px solid #e9edf2;
    background: #fdfefe;
}

.room-public-event-item:first-child {
    border-top: 0;
}

.room-public-event-title {
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.2;
}

.room-public-event-sub {
    font-size: 0.76rem;
    color: #85919c;
    line-height: 1.2;
}

.room-public-event-desc {
    font-size: 0.78rem;
    color: #8c98a4;
    line-height: 1.2;
    margin-top: 0.2rem;
}

.room-public-material-item {
    padding: 0.62rem 0.9rem;
    border-top: 1px solid #e9edf2;
    background: #fdfefe;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.room-public-material-item:first-child {
    border-top: 0;
}

.room-public-material-thumb-wrap {
    display: inline-flex;
    flex-shrink: 0;
}

.room-public-material-thumb {
    width: 52px;
    height: 40px;
    border-radius: 0.35rem;
    object-fit: cover;
    border: 1px solid #d7dee5;
    background: #f5f7f9;
}

.room-public-material-icon {
    width: 52px;
    height: 40px;
    border-radius: 0.35rem;
    border: 1px solid #d7dee5;
    background: #f5f7f9;
    color: #536574;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
}

.room-public-material-meta {
    min-width: 0;
}

.room-public-material-meta a {
    color: #24547a;
    text-decoration: none;
}

.room-public-material-meta a:hover,
.room-public-material-meta a:focus {
    text-decoration: underline;
}

.room-public-more {
    border-top: 1px solid #eef1f4;
    padding: 0.35rem 0.9rem 0.7rem;
}

.room-public-more summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.84rem;
    color: #4a6274;
    user-select: none;
}

.room-public-more summary::-webkit-details-marker {
    display: none;
}

.room-public-more-content {
    margin-top: 0.45rem;
    border-top: 1px dashed #e2e8ee;
    max-height: 210px;
    overflow: auto;
}

.room-public-description {
    color: #5d6772;
}

.room-public-description.is-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.room-public-description-toggle {
    margin-top: 0.5rem;
    border: 0;
    padding: 0;
    background: transparent;
    color: #4b6477;
    font-size: 0.9rem;
    text-decoration: underline;
}

/* room list */
.room-meta-strip {
    background: #eef1f4;
    padding: 0.45rem 1rem;
    margin: -1rem -1rem 1rem -1rem;
}

.room-meta-strip--inline {
    margin: 0;
    border-radius: 0.5rem;
}

.room-public-card {
    border: 0;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.room-public-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.9rem 1.8rem rgba(0, 0, 0, 0.14);
}

.room-placeholder {
    height: 290px;
    background:
        linear-gradient(140deg, rgba(25, 135, 84, 0.2), rgba(13, 110, 253, 0.2)),
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.14),
            rgba(255, 255, 255, 0.14) 10px,
            rgba(255, 255, 255, 0.08) 10px,
            rgba(255, 255, 255, 0.08) 20px
        );
    border-bottom: 1px solid #dfe6ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c5a72;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.room-placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: transparent;
    padding: 0;
}

.room-card-link {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}

.room-card-link:hover,
.room-card-link:focus {
    color: inherit;
    text-decoration: none;
}

.room-booked-badge {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.wemiwa-room-detail .room-public-meta {
    background: #f6f8fa;
    border: 1px solid #e5e9ee;
    border-radius: 0.75rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.86rem;
    color: #5f6d79;
    display: grid;
    gap: 0.2rem;
}

.wemiwa-rooms-list .room-public-meta {
    background: #f5f7f9;
    border-radius: 0.6rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.84rem;
    color: #52606d;
    display: grid;
    gap: 0.32rem;
}

/* room partner detail */
.event-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #fff;
}

.event-time {
    font-size: 0.875rem;
    color: #6c757d;
}

.flatpickr-day.has-room-event {
    position: relative;
}

.flatpickr-day.has-room-event::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 29px;
    height: 29px;
    border-radius: 100%;
    background: #08a45b;
    opacity: 0.3;
}

.room-delete-tooltip-wrapper {
    position: relative;
}

.room-delete-tooltip-wrapper.has-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    background: rgba(33, 37, 41, 0.98);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 20;
    transition: opacity 0.05s linear, visibility 0.05s linear;
}

.room-delete-tooltip-wrapper.has-tooltip::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: calc(100% + 3px);
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(33, 37, 41, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 20;
    transition: opacity 0.05s linear, visibility 0.05s linear;
}

.room-delete-tooltip-wrapper.has-tooltip:hover::after,
.room-delete-tooltip-wrapper.has-tooltip:hover::before,
.room-delete-tooltip-wrapper.has-tooltip:focus::after,
.room-delete-tooltip-wrapper.has-tooltip:focus::before,
.room-delete-tooltip-wrapper.has-tooltip:focus-within::after,
.room-delete-tooltip-wrapper.has-tooltip:focus-within::before {
    opacity: 1;
    visibility: visible;
}

.room-sync-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wemiwa-partner-card {
    background: #f6f8fa;
    border: 1px solid #e5e9ee;
    border-radius: 0.75rem;
    padding: 0.85rem 0.95rem;
}

.wemiwa-partner-profile a,
.wemiwa-partner-form a {
    color: #1d5e8a;
}

.wemiwa-partner-form .card + .card {
    margin-top: 1rem;
}

.wemiwa-partner-form .card-header {
    border-bottom: 1px solid #e5e9ee;
}

.wemiwa-partner-form .form-label {
    font-weight: 600;
    color: #304b61;
}

.wemiwa-partner-form .form-text {
    color: #687684;
}

.wemiwa-partner-form .row.g-3 > [class*='col-'] {
    margin-bottom: 0.15rem;
}

.wemiwa-partner-form .wemiwa-partner-edit-fields {
    border: 0;
    margin: 0;
    padding: 0;
    min-inline-size: 0;
}

.wemiwa-partner-form form.wemiwa-partner-form-is-inactive {
    opacity: 0.62;
}

.wemiwa-partner-form form.wemiwa-partner-form-is-inactive .wemiwa-partner-edit-fields {
    pointer-events: none;
}

.wemiwa-partner-form .wemiwa-partner-edit-toggle.active {
    cursor: default;
}

.wemiwa-partner-form .wemiwa-partner-edit-toggle:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.wemiwa-back-button.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    border-color: #b5ccdf;
    background: #f8fbff;
    color: #345876;
}

.wemiwa-back-button.btn:hover,
.wemiwa-back-button.btn:focus {
    border-color: #9ebad2;
    background: #edf4fb;
    color: #28455e;
}

.wemiwa-back-button.btn i {
    line-height: 1;
}

.wemiwa-partner-list-link {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}

.wemiwa-partner-list-link:hover,
.wemiwa-partner-list-link:focus {
    color: inherit;
    text-decoration: none;
}

.wemiwa-partner-list-card {
    border: 0;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wemiwa-partner-list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.9rem 1.8rem rgba(0, 0, 0, 0.14);
}

.wemiwa-partner-list-media {
    height: 480px;
    width: 100%;
    background: linear-gradient(140deg, #e8eef4, #f5f8fb);
    border-bottom: 1px solid #dfe6ec;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wemiwa-partner-list-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: transparent;
    padding: 0;
}

.wemiwa-partner-list-fallback {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #435666;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.wemiwa-partner-portrait {
    aspect-ratio: 3 / 4;
    width: 100%;
    margin: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wemiwa-partner-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.wemiwa-partner-portrait-fallback {
    color: #435666;
    font-size: clamp(2rem, 6vw, 3.4rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.wemiwa-partner-description {
    line-height: 1.55;
}

.wemiwa-partner-rooms-box {
    padding: 0;
}

.wemiwa-partner-rooms-head {
    background: #f6f8fa;
    border-bottom: 1px solid #e5e9ee;
    padding: 0.65rem 0.95rem;
    font-weight: 600;
    font-size: 0.92rem;
}

.wemiwa-partner-room-item {
    display: block;
    padding: 0.58rem 0.85rem;
    border-top: 1px solid #e9edf2;
    background: #fdfefe;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.16s ease;
}

.wemiwa-partner-room-item:first-child {
    border-top: 0;
}

.wemiwa-partner-room-item:hover,
.wemiwa-partner-room-item:focus-visible {
    background: #f7fbfd;
    text-decoration: none;
}

.wemiwa-partner-room-item--locked {
    cursor: default;
    background: #f9fafb;
}

.wemiwa-partner-room-item--locked:hover,
.wemiwa-partner-room-item--locked:focus-visible {
    background: #f9fafb;
}

.wemiwa-partner-room-title {
    color: #1d5e8a;
}

.wemiwa-partner-room-item:hover .wemiwa-partner-room-title,
.wemiwa-partner-room-item:focus-visible .wemiwa-partner-room-title {
    text-decoration: underline;
}

.wemiwa-partner-room-item--locked .wemiwa-partner-room-title {
    color: #4d5b67;
}

.wemiwa-partner-room-item--locked:hover .wemiwa-partner-room-title,
.wemiwa-partner-room-item--locked:focus-visible .wemiwa-partner-room-title {
    text-decoration: none;
}

.wemiwa-partner-room-sub {
    font-size: 0.76rem;
    color: #85919c;
    line-height: 1.2;
}

.wemiwa-partner-room-desc {
    font-size: 0.78rem;
    color: #8c98a4;
    line-height: 1.24;
    margin-top: 0.2rem;
}

.wemiwa-partner-list-meta {
    background: #f5f7f9;
    border-radius: 0.6rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.84rem;
    color: #52606d;
    display: grid;
    gap: 0.32rem;
}

@media (max-width: 991.98px) {
    .room-public-description.is-collapsed {
        -webkit-line-clamp: 5;
    }
}

.wemiwa-room-fee-preview {
    border: 1px solid #d8e2ea;
    border-radius: 0.75rem;
    background: linear-gradient(180deg, #fbfdff, #f3f7fa);
    padding: 0.9rem 1rem;
    height: 100%;
}

.wemiwa-room-fee-preview__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem 0.75rem;
    align-items: center;
}

.wemiwa-fee-lines {
    border: 1px solid #e4ebf1;
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.wemiwa-fee-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.48rem 0.7rem;
    line-height: 1.25;
}

.wemiwa-fee-line + .wemiwa-fee-line {
    border-top: 1px solid #e9eef3;
}

.wemiwa-fee-line__label {
    color: #52606d;
    min-width: 0;
}

.wemiwa-fee-line__value {
    color: #21303d;
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
}

.wemiwa-fee-line--total {
    background: rgba(255, 255, 255, 0.92);
}

.wemiwa-fee-line--total .wemiwa-fee-line__label,
.wemiwa-fee-line--total .wemiwa-fee-line__value {
    font-weight: 700;
    color: #18242f;
}

.wemiwa-room-field-disabled {
    opacity: 0.55;
}

.wemiwa-room-field-disabled input,
.wemiwa-room-field-disabled select,
.wemiwa-room-field-disabled textarea {
    cursor: not-allowed;
}

.wemiwa-room-publish-badge {
    border: 1px solid transparent;
    font-weight: 600;
}

.wemiwa-room-publish-badge.is-published {
    background: #e7f8ee;
    border-color: #9fd3b1;
    color: #18633d;
}

.wemiwa-room-publish-badge.is-unpublished {
    background: #fff1f2;
    border-color: #efbcc2;
    color: #8c2f39;
}

.wemiwa-room-status-card {
    border: 1px solid #dfe6ec !important;
    background: #ffffff !important;
    border-radius: 0.75rem;
}

.wemiwa-room-status-card.is-published {
    border-color: #9fd3b1 !important;
    background:
        radial-gradient(circle at 95% 8%, rgba(25, 135, 84, 0.12), transparent 46%),
        #f5fcf8 !important;
}

.wemiwa-room-status-card.is-unpublished {
    border-color: #efbcc2 !important;
    background:
        radial-gradient(circle at 95% 8%, rgba(220, 53, 69, 0.12), transparent 46%),
        #fff8f8 !important;
}

.wemiwa-room-partner-card.is-published {
    border-color: #9fd3b1 !important;
}

.wemiwa-room-partner-card.is-unpublished {
    border-color: #efbcc2 !important;
}

.wemiwa-room-partner-header.is-published {
    background: linear-gradient(135deg, #1f6b41 0%, #2e8d57 100%);
}

.wemiwa-room-partner-header.is-unpublished {
    background: linear-gradient(135deg, #7d343d 0%, #a64a55 100%);
}
