/* Overlays that still run on the public Welo Page: review submission form (welo-popup-form.js), media lightbox and toasts. */

/* from sections.css */
.review-lightbox-overlay { position: fixed; inset: 0; z-index: 99999; background: rgba(10, 12, 16, 0.88); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.22s ease; overscroll-behavior: contain; backdrop-filter: blur(8px); }
.review-lightbox-overlay.is-visible { opacity: 1; pointer-events: auto; }
.review-lightbox-inner { position: relative; max-width: min(96vw, 760px); width: 100%; padding: 24px 56px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.review-lightbox-media-container { flex: 1; max-width: 660px; max-height: 82vh; border-radius: 20px; overflow: hidden; background: #000; display: flex; align-items: center; justify-content: center; position: relative; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); }
.review-lightbox-media { max-width: 100%; max-height: 100%; display: block; }
.review-lightbox-media video { width: 100%; height: auto; max-height: 82vh; object-fit: contain; }
.review-lightbox-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.52); color: #ffffff; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 50; transition: all 0.22s ease; backdrop-filter: blur(4px); }
.review-lightbox-close:hover { background: rgba(0, 0, 0, 0.72); transform: scale(1.08); }
.review-lightbox-close svg { width: 18px; height: 18px; }
.review-lightbox-nav { width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.52); color: #ffffff; font-size: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 40; transition: all 0.22s ease; backdrop-filter: blur(4px); }
.review-lightbox-prev, .review-lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); }
.review-lightbox-prev { left: 16px; }
.review-lightbox-next { right: 16px; }
.review-lightbox-nav:hover { background: rgba(0, 0, 0, 0.72); transform: translateY(-50%) scale(1.08); }
.review-lightbox-nav[disabled] { opacity: 0.35; cursor: default; transform: translateY(-50%); }
.review-lightbox-counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.52); color: #ffffff; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; z-index: 40; backdrop-filter: blur(4px); }
@media (max-width: 767px){
.review-lightbox-inner { padding: 18px 20px; }
.review-lightbox-media-container { max-height: 78vh; border-radius: 18px; }
.review-lightbox-nav { width: 38px; height: 38px; font-size: 22px; }
.review-lightbox-prev { left: 8px; }
.review-lightbox-next { right: 8px; }
.review-lightbox-close { top: 10px; right: 10px; width: 34px; height: 34px; }
.review-lightbox-counter { bottom: 12px; font-size: 12px; padding: 5px 10px; }
}

/* from design.css */
#review-lightbox { background:rgba(10,10,10,.84); backdrop-filter:blur(6px); padding:24px; }
#review-lightbox .review-lightbox-inner { width:fit-content; max-width:100%; height:auto; padding:0 0 54px; background:transparent; }
#review-lightbox .review-lightbox-media-container { flex:none; width:min(calc(100vw - 96px),calc(70dvh * var(--media-ratio,1))); height:auto; aspect-ratio:var(--media-ratio,1); max-height:70dvh; border-radius:16px; overflow:hidden; background:transparent; }
#review-lightbox .review-lightbox-media { display:block; width:100% !important; height:100% !important; max-height:70dvh !important; max-width:100%; aspect-ratio:auto !important; object-fit:contain; border-radius:0 !important; }
#review-lightbox .review-lightbox-close { top:auto; bottom:0; right:0; width:auto; height:44px; display:flex; align-items:center; gap:8px; padding:12px 18px; border:1px solid #fff; border-radius:12px; background:#fff; color:#111; transition:background-color .2s ease; }
#review-lightbox .review-lightbox-close::after { content:attr(aria-label); font:500 13px Inter,sans-serif; }
.review-lightbox-caption { position:absolute; bottom:10px; left:0; color:#9e9e9e; font-size:12.5px; }
#review-lightbox .review-lightbox-counter { bottom:60px; }
#review-lightbox .review-lightbox-nav:disabled { display:none; }
@media (max-width:767px){
#review-lightbox .review-lightbox-media-container { max-height:70dvh; }
.review-lightbox-caption { max-width:65%; font-size:11px; }
}
#welo-review-overlay.welo-rv-native { z-index:1000000; background:rgba(10,10,10,.4); backdrop-filter:blur(4px); padding:16px; overflow-y:auto; }
.welo-rv-native .welo-rv-modal { width:100%; max-width:480px; padding:clamp(20px,4vw,30px); border:0; border-radius:24px; max-height:calc(100dvh - 32px); overflow-y:auto; box-shadow:none; font-family:Inter,system-ui,sans-serif; }
.welo-rv-native .welo-rv-close { top:24px; right:24px; width:32px; height:32px; border:1px solid #ededed; border-radius:11px; background:#f8f8f8; color:#414141; font-size:22px; line-height:1; display:grid; place-items:center; }
.welo-rv-native .welo-rv-design-header h2 { margin:0; padding-right:36px; font-size:20px; font-weight:500; letter-spacing:-.03em; line-height:1.4; }
.welo-rv-native #welo-rv-progress-label { margin:6px 0 0; color:#6b6b6b; font-size:13px; }
.welo-rv-native .welo-rv-progress { margin-top:18px; display:flex; gap:6px; }
.welo-rv-native .welo-rv-progress span { flex:1; height:3px; background:#ededed; border-radius:2px; transition:background .25s; }
.welo-rv-native .welo-rv-progress .is-complete { background:#0a0a0a; }
.welo-rv-native .welo-rv-step { margin-top:20px; }
.welo-rv-native .welo-rv-step[data-step="3"].is-active { display:block; }
.welo-rv-native .welo-rv-step[data-step="4"]>.welo-rv-title { display:none; }
.welo-rv-native .welo-rv-rating-box { padding:18px; background:#f8f8f8; border-radius:16px; text-align:center; }
.welo-rv-native .welo-rv-rating-label { color:#6b6b6b; font-size:12.5px; }
.welo-rv-native .welo-rv-stars-picker { justify-content:center; gap:0; width:fit-content; margin:10px auto 0; }
.welo-rv-native .welo-rv-stars-picker button { padding:2px 7px; border-radius:0; transform:none; }
.welo-rv-native .welo-rv-star-icon { width:28px; height:28px; transition:transform .16s; }
.welo-rv-native .welo-rv-stars-picker button.is-active .welo-rv-star-icon { transform:scale(1.06); }
.welo-rv-native .welo-rv-star-bg { fill:#e2e2e2; stroke:#e2e2e2; }
.welo-rv-native .welo-rv-hint { margin:12px 0 0; font-size:12.5px; font-weight:500; color:#0a0a0a; }
.welo-rv-native .welo-rv-group { margin:10px 0 0; }
.welo-rv-native .welo-rv-label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.welo-rv-native .welo-rv-input, .welo-rv-native .welo-rv-textarea { width:100%; padding:13px 15px; min-height:0; border:1px solid #ededed; border-radius:13px; background:#f8f8f8; font:14px/1.5 Inter,system-ui,sans-serif; box-shadow:none; }
.welo-rv-native .welo-rv-textarea { height:112px; resize:vertical; }
.welo-rv-native .welo-rv-input:focus, .welo-rv-native .welo-rv-textarea:focus { outline:none; box-shadow:none; border-color:#a5a5a5; }
.welo-rv-native .welo-rv-upload-desktop { display:block; margin-top:10px; padding:0; border:0; background:none; }
.welo-rv-native .welo-rv-upload-header, .welo-rv-native .welo-rv-upload-hint { display:none; }
.welo-rv-native .welo-rv-dropzone { padding:14px 15px; margin:0; border:1px dashed #dedede; border-radius:13px; background:#fff; min-height:0; }
.welo-rv-native .welo-rv-dropzone-content { display:grid; grid-template-columns:34px 1fr; column-gap:12px; text-align:left; align-items:center; }
.welo-rv-native .welo-rv-dropzone-content>svg { width:34px; height:34px; grid-row:1/3; padding:8px; background:#f8f8f8; border-radius:11px; }
.welo-rv-native #welo-rv-dropzone-text-desktop { font-size:0; }
.welo-rv-native #welo-rv-dropzone-text-desktop::after { content:attr(data-upload-label); font-size:13.5px; font-weight:500; }
.welo-rv-native #welo-rv-upload-btn-label-desktop { color:#8c8c8c; font-size:12px; text-decoration:none; }
.welo-rv-native .welo-rv-footer { display:flex; gap:8px; margin:18px 0 0; padding:0; border:0; }
.welo-rv-native .welo-rv-btn-primary { flex:1; padding:14px; min-height:0; background:#0a0a0a; color:#fff; border:0; border-radius:13px; font-size:14.5px; font-weight:500; }
.welo-rv-native .welo-rv-btn-secondary { flex:0 0 auto; padding:14px 18px; min-height:0; background:#f8f8f8; color:#0a0a0a; border:1px solid #ededed; border-radius:13px; font-size:14px; font-weight:500; }
.welo-rv-native .welo-rv-publication-note { margin:12px 0 0; color:#8c8c8c; font-size:11.5px; line-height:1.6; text-align:center; }
.welo-rv-native .welo-rv-private-note { margin:12px 0 0; color:#8c8c8c; font-size:12px; line-height:1.6; }
.welo-rv-native .welo-rv-checkbox { margin-top:16px; font-size:12px; line-height:1.6; }
.welo-rv-native .welo-rv-review-preview { margin-top:20px; border:1px solid #ededed; border-radius:20px; padding:22px; }
.welo-rv-native .welo-rv-preview-top { display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; align-items:center; }
.welo-rv-native .welo-rv-preview-stars { display:inline-flex; align-items:center; gap:2px; color:#171717; }
.welo-rv-native .welo-rv-preview-stars svg { display:block; width:18px; height:18px; }
.welo-rv-native .welo-rv-pending { padding:7px 13px; border:1px solid #ededed; border-radius:999px; font-size:12.5px; }
.welo-rv-native .welo-rv-review-preview h3 { margin:14px 0 0; font-size:17px; letter-spacing:-.025em; }
.welo-rv-native .welo-rv-review-preview p { margin:8px 0 0; font-size:15px; line-height:1.7; color:#555; white-space:pre-wrap; overflow-wrap:anywhere; }
.welo-rv-native .welo-rv-preview-author { display:flex; align-items:center; gap:10px; margin-top:16px; font-size:14px; flex-wrap:wrap; }
.welo-rv-native .welo-rv-preview-author small { font-size:13px; color:#8c8c8c; }
.welo-rv-native .welo-rv-preview-avatar { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; background:#e8e4fb; color:#4b3f8f; font-size:11.5px; font-weight:600; }
.welo-rv-native .welo-rv-preview-media { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.welo-rv-native .welo-rv-preview-media img, .welo-rv-native .welo-rv-preview-media video { width:92px; height:106px; object-fit:cover; border-radius:14px; }
.welo-rv-native .welo-rv-error:empty { display:none; }
#review-lightbox .review-lightbox-media-container { max-width:none; box-shadow:none; }
@media (max-width:767px){
#review-lightbox .review-lightbox-media-container { width:min(calc(100vw - 48px),calc(70dvh * var(--media-ratio,1))); }
}
#review-lightbox .review-lightbox-close:hover { background:#e9e9e9; color:#111; }
#review-lightbox .review-lightbox-close:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.welo-rv-native .welo-rv-close { padding:0; display:grid; place-items:center; }
.welo-rv-native .welo-rv-close svg { display:block; width:16px; height:16px; }
.welo-rv-native .welo-rv-checkbox input[type="checkbox"] { appearance:none; -webkit-appearance:none; width:18px; height:18px; flex:0 0 18px; margin:1px 0 0; padding:0; border:1.5px solid #d6d6d6; border-radius:5px; background-color:#fff; cursor:pointer; background-position:center; background-size:12px 12px; background-repeat:no-repeat; transition:background-color .18s ease,border-color .18s ease; }
.welo-rv-native .welo-rv-checkbox input[type="checkbox"]:checked { background-color:#0a0a0a; border-color:#0a0a0a; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='m2.5 6 2.25 2.25L9.5 3.5' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.welo-rv-native .welo-rv-checkbox input[type="checkbox"]:focus-visible { outline:2px solid #777; outline-offset:3px; }
@media (forced-colors:active){
.welo-rv-native .welo-rv-checkbox input[type="checkbox"] { appearance:auto; }
}
.welo-page-toast { border-radius:12px; background:#0a0a0a; color:#fff; box-shadow:0 8px 24px rgba(10,10,10,.16); }

/* from internal.css */
.welo-page-toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); z-index: 100000; background: #171717; color: white; border-radius: 12px; padding: 12px 20px; font: 14px/1.5 Inter, sans-serif; max-width: calc(100vw - 32px); }
.review-lightbox-nav{width:44px;height:44px}

/* Polish: the viewer opens with a short scale-in and each file fades in, sliding from the side it came from. */
@keyframes wp-lb-in{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
@keyframes wp-lb-next{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
@keyframes wp-lb-prev{from{opacity:0;transform:translateX(-18px)}to{opacity:1;transform:none}}
.review-lightbox-overlay.is-visible .review-lightbox-inner{animation:wp-lb-in .3s cubic-bezier(.2,.8,.2,1)}
.review-lightbox-media{animation:wp-lb-in .3s cubic-bezier(.2,.8,.2,1)}
#review-lightbox[data-dir=next] .review-lightbox-media{animation-name:wp-lb-next}
#review-lightbox[data-dir=prev] .review-lightbox-media{animation-name:wp-lb-prev}
#review-lightbox .review-lightbox-nav{background:rgba(255,255,255,.14);color:#fff;transition:background .2s,transform .2s}
#review-lightbox .review-lightbox-nav:hover{background:rgba(255,255,255,.26)}
#review-lightbox .review-lightbox-counter{background:rgba(255,255,255,.14);font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){.review-lightbox-overlay *{animation:none!important}}
