.rb-popup:where(.rb-el,.rb-el *) { --rb-popup-width: 800px; --rb-popup-padding: 2rem; --rb-popup-bg: #fff; --rb-popup-overlay: rgba(15, 20, 30, 0.6); }
.rb-popup-trigger-image, .rb-popup-trigger-text { padding: 0; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
.rb-popup-trigger-image img { display: block; max-width: 100%; height: auto; }
.rb-popup-trigger-text { color: var(--rb-color-primary, #1e6fb8); text-decoration: underline; }
.rb-popup-trigger:focus-visible:where(.rb-el,.rb-el *) { outline: 2px solid var(--rb-color-primary, #1e6fb8); outline-offset: 3px; }
.rb-popup-dialog { width: min(var(--rb-popup-width), calc(100vw - 2rem)); max-width: none; max-height: calc(100vh - 2rem); padding: 0; border: 0; background: transparent; overflow: visible; }
.rb-popup-dialog::backdrop { background: var(--rb-popup-overlay); }
.rb-popup-box { position: relative; max-height: calc(100vh - 2rem); overflow: auto; padding: var(--rb-popup-padding); background: var(--rb-popup-bg); border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.rb-popup-close { position: absolute; top: 0.5rem; right: 0.5rem; z-index: 2; display: flex; padding: 6px; background: rgba(255, 255, 255, 0.9); border: 0; border-radius: 50%; cursor: pointer; color: #1f2933; }
.rb-popup-close:focus-visible { outline: 2px solid var(--rb-color-primary, #1e6fb8); }
.rb-popup-title { margin: 0 2rem 1rem 0; }
.rb-popup-open { overflow: hidden; }
