
/* ── Guest Deal Room invitation cards & modal ───────────────────────────
   High-level luxury styling with prominent typography, crisp spacing,
   role-tinted glowing glass cards, and complete mobile responsiveness. */
#hbGuestRoomsModal .hb-auth-card{
    max-width:540px !important;
    padding:34px 28px 24px !important;
    background:
        radial-gradient(115% 55% at 50% -10%, rgba(229,193,88,0.22) 0%, transparent 60%),
        radial-gradient(100% 45% at 50% 106%, rgba(47,108,240,0.16) 0%, transparent 64%),
        linear-gradient(168deg, #111c32 0%, #0c1322 45%, #060913 100%) !important;
    border:1.5px solid rgba(229,193,88,0.38) !important;
    box-shadow:
        0 30px 90px rgba(0,0,0,0.85),
        0 0 60px rgba(229,193,88,0.14),
        0 0 30px rgba(47,108,240,0.10),
        inset 0 1px 1px rgba(255,255,255,0.12) !important;
}

#hbGuestRoomsModal .hb-eyebrow{
    display:inline-flex; align-items:center; gap:8px; margin-bottom:14px;
    padding:6px 16px; border-radius:50px;
    font:800 11px/1 'Outfit','Inter',sans-serif; letter-spacing:1.8px; text-transform:uppercase;
    background:linear-gradient(135deg, rgba(229,193,88,0.18), rgba(229,193,88,0.06));
    border:1px solid rgba(229,193,88,0.5); color:#f7e6b8;
    box-shadow:0 0 16px rgba(229,193,88,0.2);
}

#hbGuestRoomsModal .hb-title{
    font:800 27px/1.25 'Outfit','Inter',sans-serif; letter-spacing:0.3px;
    margin:0 0 12px; text-align:center;
}
#hbGuestRoomsModal .hb-title .t1{ color:#FFFFFF; }
#hbGuestRoomsModal .hb-title .t2{
    background:linear-gradient(135deg, #ffffff 0%, #f7e6b8 45%, #e5c158 100%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
    filter:drop-shadow(0 2px 10px rgba(229,193,88,0.35));
}

#hbGuestRoomsModal .hb-sub{
    color:#a3b1c6; font:400 15px/1.65 'Outfit','Inter',sans-serif;
    text-align:center; margin:0 auto 20px; max-width:440px;
}
#hbGuestRoomsModal .hb-sub b{ color:#f4c84a; font-weight:700; }

/* --gr is the card's ACCENT (ring, glow, role label, Enter pill); --grc is the
   role's own colour and is used only for the badge glyph. They are separate so
   the "most recent" card can wear the red highlight ring while its crown still
   reads as the role it actually is. */
.hb-gr-card{
    position:relative;
    display:flex; align-items:center; gap:14px; flex-wrap:wrap;
    background:linear-gradient(145deg, rgba(20, 31, 52, 0.75) 0%, rgba(10, 18, 32, 0.9) 100%);
    border:1.5px solid var(--gr,#e5c158);
    border-radius:18px; padding:15px 17px;
    box-shadow:0 10px 28px rgba(0,0,0,0.42),
               0 0 22px -8px var(--gr,#e5c158),
               inset 0 1px 0 rgba(255,255,255,0.08);
    transition:border-color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
    box-sizing:border-box; width:100%;
}
/* Newest room first in the list, ringed in HOUSBE red and flagged by the ribbon
   below, so a returning visitor's eye lands on the room they most likely came
   back for. Only applied when there is more than one room to choose between. */
.hb-gr-card.is-recent{
    /* --gr (red) is set inline by the renderer — an inline custom property
       beats a class rule, so it could not be overridden from here. */
    margin-top:9px;
    border-width:2px;
    background:linear-gradient(145deg, rgba(46, 20, 30, 0.82) 0%, rgba(14, 12, 22, 0.94) 100%);
    box-shadow:0 12px 32px rgba(0,0,0,0.5),
               0 0 30px -6px rgba(255,45,67,0.55),
               inset 0 1px 0 rgba(255,255,255,0.09);
}
.hb-gr-ribbon{
    position:absolute; top:0; left:16px; transform:translateY(-52%);
    display:inline-flex; align-items:center; gap:6px;
    padding:4px 11px; border-radius:50px; white-space:nowrap;
    background:linear-gradient(135deg, #ff4d5f 0%, #ff2d43 55%, #d21329 100%);
    border:1px solid rgba(255,255,255,0.35);
    color:#fff; font:800 9.5px/1 'Outfit','Inter',sans-serif;
    letter-spacing:1.1px; text-transform:uppercase;
    box-shadow:0 4px 14px rgba(0,0,0,0.45), 0 0 16px rgba(255,45,67,0.5);
}
.hb-gr-ribbon i{ font-size:8.5px; color:#fff !important; }
.hb-gr-card:hover{
    background:linear-gradient(145deg, rgba(28, 44, 72, 0.85) 0%, rgba(14, 25, 45, 0.95) 100%);
    transform:translateY(-2px);
    box-shadow:0 14px 34px rgba(0,0,0,0.5), 0 0 30px -6px var(--gr,#e5c158);
}
.hb-gr-card.is-recent:hover{
    background:linear-gradient(145deg, rgba(62, 24, 36, 0.9) 0%, rgba(18, 14, 26, 0.96) 100%);
    box-shadow:0 16px 38px rgba(0,0,0,0.55), 0 0 36px -4px rgba(255,45,67,0.7);
}

.hb-gr-badge{ flex:0 0 auto; display:flex; flex-direction:column; align-items:center; gap:4px; width:48px; }
.hb-gr-ic{
    width:42px; height:42px; border-radius:12px; display:grid; place-items:center;
    background:color-mix(in srgb, var(--gr,#8a94a6) 12%, rgba(255,255,255,.03));
    border:1.5px solid var(--gr,#8a94a6);
    box-shadow:0 0 14px -2px var(--gr,#8a94a6), inset 0 1px 0 rgba(255,255,255,0.15);
    transition:transform .2s ease;
}
.hb-gr-card:hover .hb-gr-ic{ transform:scale(1.05); }
.hb-gr-ic i{ font-size:17px; color:var(--grc,var(--gr,#8a94a6)) !important; }
.hb-gr-role{
    font:800 8.5px/1.1 'Outfit','Inter',sans-serif; letter-spacing:0.6px;
    color:var(--gr,#8a94a6); white-space:nowrap; text-align:center;
}

.hb-gr-tx{ flex:1 1 0%; min-width:0; display:flex; flex-direction:column; gap:3px; text-align:left; }
.hb-gr-id{
    color:#ffffff; font:800 16px/1.2 'Outfit','Inter',sans-serif;
    letter-spacing:0.4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
    text-shadow:0 0 12px color-mix(in srgb, var(--gr,#e5c158) 25%, transparent);
}
.hb-gr-blurb{
    color:#94a3b8; font:500 13px/1.35 'Outfit','Inter',sans-serif;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.hb-gr-owner{
    flex:0 0 100%; order:9; box-sizing:border-box;
    display:flex; align-items:center; gap:7px; min-width:0;
    padding-top:10px; margin-top:2px;
    border-top:1px solid rgba(255,255,255,0.08);
    font:600 12px/1.35 'Outfit','Inter',sans-serif; color:#94a3b8; text-align:left;
}
.hb-gr-owner > i{
    font-size:13px; color:#eec85e !important; flex:0 0 auto;
    filter:drop-shadow(0 0 6px rgba(238,200,94,0.4));
}
.hb-gr-card.is-recent .hb-gr-owner > i{
    color:#ff2d43 !important;
    filter:drop-shadow(0 0 6px rgba(255,45,67,0.45));
}
.hb-gr-owner-n{ min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hb-gr-owner-n b{ color:#fef3c7; font-weight:800; }
.hb-gr-owner-n .hb-gr-you{ color:#e5c158; font-weight:700; }

.hb-gr-when{
    flex:0 0 auto; display:flex; flex-direction:column; align-items:flex-start; gap:2px;
    padding:0 4px; text-align:left;
}
.hb-gr-when-l{
    color:#64748b; font:700 9.5px/1.2 'Outfit','Inter',sans-serif;
    text-transform:uppercase; letter-spacing:0.5px; white-space:nowrap;
    display:flex; align-items:center; gap:3px;
}
.hb-gr-when-l i{ font-size:10px; color:#818cf8; }
.hb-gr-when-d{ color:#e2e8f0; font:700 12px/1.25 'Outfit','Inter',sans-serif; white-space:nowrap; }
.hb-gr-when-t{ color:#94a3b8; font:600 11px/1.25 'Outfit','Inter',sans-serif; white-space:nowrap; }

.hb-gr-card .hb-gr-enter{
    flex:0 0 auto; display:inline-flex; align-items:center; gap:8px;
    background:linear-gradient(135deg, #fef2d0 0%, #f3e2b3 35%, #e5c158 75%, #caa63f 100%);
    color:#061121; border:1px solid rgba(255,255,255,0.6);
    padding:9px 18px; border-radius:50px;
    font:800 13px/1 'Outfit','Inter',sans-serif; letter-spacing:0.5px; text-transform:uppercase;
    cursor:pointer;
    box-shadow:0 4px 14px rgba(0,0,0,0.35), 0 0 14px rgba(229,193,88,0.35), inset 0 1px 1px rgba(255,255,255,0.85);
    transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.hb-gr-card .hb-gr-enter:hover{
    transform:translateY(-2px) scale(1.02);
    box-shadow:0 8px 20px rgba(0,0,0,0.45), 0 0 22px rgba(246,184,63,0.65), inset 0 1px 1px rgba(255,255,255,0.95);
}
.hb-gr-card .hb-gr-enter i{ font-size:12.5px; color:#061121 !important; transition:transform .2s ease; }
.hb-gr-card .hb-gr-enter:hover i{ transform:translateX(2px); }

/* the highlighted card's pill matches its ring */
.hb-gr-card.is-recent .hb-gr-enter{
    background:linear-gradient(135deg, #ff8a97 0%, #ff4d5f 38%, #ff2d43 72%, #c9102a 100%);
    color:#fff;
    box-shadow:0 4px 14px rgba(0,0,0,0.4), 0 0 16px rgba(255,45,67,0.5), inset 0 1px 1px rgba(255,255,255,0.5);
}
.hb-gr-card.is-recent .hb-gr-enter i{ color:#fff !important; }
.hb-gr-card.is-recent .hb-gr-enter:hover{
    box-shadow:0 8px 20px rgba(0,0,0,0.5), 0 0 24px rgba(255,45,67,0.75), inset 0 1px 1px rgba(255,255,255,0.6);
}

/* "View All" button */
.hb-gr-viewall{
    display:flex; align-items:center; gap:10px; width:100%; box-sizing:border-box;
    background:rgba(255,45,67,.06); border:1.5px solid rgba(255,45,67,.5);
    border-radius:14px; padding:12px 16px; margin-bottom:12px; cursor:pointer;
    color:#ff8f9c; font:800 13px/1 'Outfit','Inter',sans-serif;
    transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.hb-gr-viewall:hover{ background:rgba(255,45,67,.14); border-color:#ff2d43; transform:translateY(-1px); }
.hb-gr-viewall span{ flex:1 1 auto; text-align:left; }
.hb-gr-viewall .hb-gr-va-go{ margin-left:auto; }

@media (max-width:580px){
    #hbGuestRoomsModal .hb-auth-card{
        width:calc(100% - 16px) !important;
        padding:24px 16px 20px !important;
        border-radius:20px !important;
    }
    #hbGuestRoomsModal .hb-title{ font-size:22px !important; }
    #hbGuestRoomsModal .hb-sub{ font-size:14px !important; margin-bottom:16px !important; }
}
@media (max-width:480px){
    .hb-gr-card{ padding:12px 14px !important; gap:10px !important; }
    .hb-gr-ribbon{ left:12px; font-size:9px; padding:3.5px 10px; }
    .hb-gr-badge{ width:auto !important; min-width:42px; }
    .hb-gr-ic{ width:36px !important; height:36px !important; }
    .hb-gr-ic i{ font-size:15px !important; }
    .hb-gr-id{ font-size:14.5px !important; }
    .hb-gr-blurb{ font-size:12px !important; }
    .hb-gr-when{
        order:3; flex-direction:row; align-items:center; gap:8px;
        width:100%; padding-top:4px;
    }
    .hb-gr-when-l{ display:none; }
    .hb-gr-card .hb-gr-enter{ order:4; margin-left:auto; padding:8px 15px; font-size:12px; }
    .hb-gr-owner{ order:5; font-size:11.5px; padding-top:8px; }
}
@media (prefers-reduced-motion: reduce){
    .hb-gr-card, .hb-gr-card .hb-gr-enter, .hb-gr-viewall{ transition:none; }
    .hb-gr-card .hb-gr-enter:hover{ transform:none; }
}

/* Multiple-guest-room chips on the "both accounts found" sheet */
.hb-bf-room-btn{
    display:inline-flex; align-items:center; gap:6px;
    background:rgba(229,193,88,.08); border:1.5px solid rgba(229,193,88,.45);
    color:#f3e6c8; border-radius:20px; padding:7px 13px;
    font:800 11.5px/1 'Outfit','Inter',sans-serif; cursor:pointer;
    transition:background .18s ease, border-color .18s ease, transform .18s ease;
}
.hb-bf-room-btn:hover{ background:rgba(229,193,88,.18); border-color:#e5c158; transform:translateY(-1px); }
@media (prefers-reduced-motion: reduce){ .hb-bf-room-btn{ transition:none; } .hb-bf-room-btn:hover{ transform:none; } }
