/* Guest disclaimer popover for the "Θα πάω" button — rendered into <body>
   by static/evcard-going.js, so it's positioned with position:fixed
   (viewport-relative, matching getBoundingClientRect()) rather than being
   a normal-flow child of anything. Two variants: the full one on the event
   detail page's own going card, and a shorter "compact" one for the
   event-card grid where there's no room for the longer copy. */

.going-guest-popover {
    position: fixed;
    z-index: 2000;
    width: 260px;
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 16px 34px rgba(16,24,40,.20);
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.going-guest-popover::before {
    content: "";
    position: absolute;
    top: -7px;
    left: var(--arrow-left, 20px);
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 1px solid #e3e7ee;
    border-top: 1px solid #e3e7ee;
    transform: rotate(45deg);
}
/* Opens above the button instead (not enough room below it in the
   viewport) — arrow moves to the bottom edge, pointing down instead. */
.going-guest-popover-flip::before {
    top: auto;
    bottom: -7px;
    border-left: none;
    border-top: none;
    border-right: 1px solid #e3e7ee;
    border-bottom: 1px solid #e3e7ee;
}
.going-guest-popover .icon { width: 1em; height: 1em; display: inline-block; }

.going-guest-popover-compact { width: 220px; padding: 13px; }

.going-guest-pop-head {
    display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.going-guest-pop-head .icon { width: 18px; height: 18px; color: #c8871a; }
.going-guest-pop-head span {
    font-weight: 700; font-size: 14px; color: #111827;
    font-family: 'Manrope', -apple-system, sans-serif;
}

.going-guest-pop-body { font-size: 13px; line-height: 1.55; color: #5b6673; margin: 0 0 6px; }
.going-guest-pop-body strong { color: #111827; }
.going-guest-popover-compact .going-guest-pop-body { font-size: 12px; margin-bottom: 10px; }

.going-guest-pop-privacy {
    display: flex; align-items: flex-start; gap: 6px;
    font-size: 12px; line-height: 1.5; color: #5b6673;
    background: rgba(15,122,61,.08); border-radius: 8px; padding: 8px 10px; margin: 10px 0 14px;
}
.going-guest-pop-privacy .icon { width: 13px; height: 13px; color: #0f7a3d; flex: 0 0 auto; margin-top: 2px; }

.going-guest-pop-actions { display: flex; gap: 8px; }
.going-guest-pop-login {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    background: #16213e; color: #fff; text-decoration: none;
    font-size: 13.5px; font-weight: 700; padding: 10px; border-radius: 9px;
}
.going-guest-popover-compact .going-guest-pop-login {
    display: block; text-align: center; font-size: 12.5px; padding: 8px;
}
.going-guest-pop-cancel {
    background: none; border: none; color: #5b6673; font-size: 13px; font-weight: 600;
    padding: 10px 12px; cursor: pointer; border-radius: 9px;
}
.going-guest-pop-cancel:hover { background: #f5f6f9; }

.going-guest-pop-magic { font-size: 11px; color: #5b6673; text-align: center; margin-top: 8px; }

@media (max-width: 480px) {
    .going-guest-popover { width: calc(100vw - 24px); max-width: 300px; }
}
