/* =====================================================================
 * Wishlist / Favourites — only the bits the static design did not ship
 * (bulk select toolbar, per-card select checkbox, hints, login states).
 * Everything else reuses existing .favourites-details-list / .property CSS.
 * ===================================================================== */

/* Per-card select checkbox (visible only in select mode) */
.property--wishlist .remove {
    position: absolute;
}
.wishlist-check {
    display: none;
    align-items: center;
    position: absolute;
    left: 22px;
    top: 0;
    height: 100%;
    z-index: 3;
    cursor: pointer;
}
.wishlist-check span {
    display: none;
}
.wishlist-check input {
    width: 24px;
    height: 24px;
    appearance: none;
    border: 2px solid #333333;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
}
.wishlist-check input:checked {
    background-color: #446654;
    border-color: #446654;
    box-shadow: inset 0 0 0 5px #ffffff;
}
.favourite-list-li.wishlist-selecting .wishlist-check {
    display: inline-flex;
}

/* List toolbar (Select more / bulk actions) */
.wishlist-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}
.wishlist-select-toggle,
.wishlist-mark-all {
    background: none;
    border: 1px solid rgba(51, 51, 51, 0.3);
    border-radius: 50vh;
    padding: 8px 18px;
    font-family: inherit;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s;
}
.wishlist-select-toggle:hover,
.wishlist-mark-all:hover {
    background-color: #333333;
    color: #ffffff;
}
.wishlist-mark-all[hidden] {
    display: none;
}
.wishlist-bulk {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.wishlist-bulk[hidden] {
    display: none;
}
.wishlist-selected-count {
    font-size: 14px;
    color: rgba(51, 51, 51, 0.7);
}
.wishlist-bulk-target {
    padding: 8px 12px;
    border: 1px solid rgba(51, 51, 51, 0.3);
    border-radius: 8px;
    background-color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
}
.wishlist-bulk-btn {
    background-color: #333333;
    color: #ffffff;
    border: none;
    border-radius: 50vh;
    padding: 8px 18px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
.wishlist-bulk-btn:hover {
    background-color: #446654;
}
.wishlist-bulk-btn--danger {
    background-color: #ad1519;
}
.wishlist-bulk-btn--danger:hover {
    background-color: #8a1014;
}

/* Empty list message + guest agent hint */
.wishlist-empty-list {
    grid-column: 1 / -1;
    margin: 0;
}
.wishlist-agent-hint {
    margin-top: 35px;
    text-align: center;
    color: rgba(51, 51, 51, 0.7);
    font-size: 15px;
}
.wishlist-agent-hint a {
    color: #446654;
    text-decoration: underline;
}

/* Footer "LOG OUT" rendered as a button must look like the .login-link anchor */
button.login-link {
    background: transparent;
    border: 0;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
}

.header-agent-logout {
    margin: 0 0 0 18px;
}
.header-agent-logout button {
    background: transparent;
    border: 1px solid rgba(51, 51, 51, 0.35);
    border-radius: 50vh;
    padding: 7px 14px;
    font-family: inherit;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
}
.header-agent-logout button:hover {
    background-color: #333333;
    color: #ffffff;
}
@media screen and (max-width: 575px) {
    .header-agent-logout {
        margin-left: 10px;
    }
    .header-agent-logout button {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* Agent login error banner */
.form-error-banner {
    margin-top: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(173, 21, 25, 0.35);
    background-color: rgba(173, 21, 25, 0.08);
    color: #ad1519;
    border-radius: 8px;
    font-size: 14px;
}
