.guest-holds {
    position: relative;
}

.nav-btn {
    align-items: center;
    display: flex;
    gap: 8px;
}

.guest-holds-toggle {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(40, 125, 250, 0.18);
    border-radius: 6px;
    color: var(--brand-primary);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    position: relative;
    width: 42px;
}

.guest-holds-toggle::after {
    display: none;
}

.guest-holds-toggle i {
    font-size: 22px;
    line-height: 1;
}

.guest-holds-count {
    align-items: center;
    background: #ff6b35;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    height: 18px;
    justify-content: center;
    min-width: 18px;
    padding: 0 5px;
    position: absolute;
    right: -7px;
    top: -7px;
}

.guest-holds-menu {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(18, 38, 63, 0.16);
    max-height: min(520px, calc(100vh - 96px));
    overflow: hidden;
    padding: 0;
    width: 380px;
}

.guest-holds-header {
    border-bottom: 1px solid #edf0f4;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
}

.guest-holds-header span {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
}

.guest-holds-header small {
    color: #697386;
    font-size: 12px;
}

.guest-holds-list {
    max-height: min(440px, calc(100vh - 160px));
    overflow-y: auto;
}

.guest-hold-item {
    display: grid;
    gap: 10px;
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 14px 16px;
}

.guest-hold-item + .guest-hold-item {
    border-top: 1px solid #edf0f4;
}

.guest-hold-media {
    border-radius: 6px;
    height: 58px;
    overflow: hidden;
    width: 58px;
}

.guest-hold-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.guest-hold-body {
    min-width: 0;
}

.guest-hold-title {
    color: #0f172a;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guest-hold-title:hover {
    color: var(--brand-primary);
}

.guest-hold-meta {
    color: #697386;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 8px;
    margin-top: 4px;
}

.guest-hold-footer {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: 7px;
}

.guest-hold-footer strong {
    color: #0f172a;
    font-size: 13px;
}

.guest-hold-footer span {
    background: #fff3e8;
    border-radius: 999px;
    color: #b54708;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    min-width: 48px;
    padding: 6px 8px;
    text-align: center;
}

.guest-hold-action {
    align-items: center;
    background: var(--brand-primary);
    border-radius: 6px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    grid-column: 2;
    justify-content: center;
    line-height: 1.2;
    min-height: 34px;
    padding: 8px 12px;
}

.guest-hold-action:hover {
    color: #fff;
    opacity: 0.92;
}

.guest-hold-item.is-expired {
    opacity: 0.58;
}

html[dir="rtl"] .guest-holds-count {
    left: -7px;
    right: auto;
}

@media (max-width: 991px) {
    .menu-wrapper .nav-btn {
        display: flex;
        margin-left: auto;
        margin-right: 12px;
        position: static;
    }

    .guest-holds {
        display: inline-flex;
    }

    .menu-wrapper .nav-btn > .theme-btn {
        display: none;
    }
}

@media (max-width: 575px) {
    .guest-holds-menu {
        left: auto !important;
        max-height: calc(100vh - 86px);
        position: fixed !important;
        right: 10px !important;
        top: 76px !important;
        transform: none !important;
        width: calc(100vw - 20px);
    }

    html[dir="rtl"] .guest-holds-menu {
        left: 10px !important;
        right: auto !important;
    }

    .guest-hold-item {
        grid-template-columns: 52px minmax(0, 1fr);
        padding: 12px;
    }

    .guest-hold-media {
        height: 52px;
        width: 52px;
    }

    .menu-wrapper .nav-btn {
        margin-right: 10px;
    }

    html[dir="rtl"] .menu-wrapper .nav-btn {
        margin-left: 10px;
        margin-right: auto;
    }
}
