/* Aluleth Popups Pro – admin */
.alpp-skins{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;clear:both}
.alpp-skin{display:flex;flex-direction:column;gap:6px;padding:10px;border:1.5px solid var(--al-line);border-radius:12px;background:#fff;cursor:pointer;position:relative}
.alpp-skin:has(input:checked){border-color:var(--al-ink);box-shadow:inset 0 0 0 1px var(--al-ink)}
.alpp-skin input{position:absolute;top:10px;right:10px;z-index:2;margin:0}
.alpp-skin>span:last-child{display:flex;flex-direction:column;gap:2px}
.alpp-skin small{color:var(--al-muted);font-size:12px;line-height:1.4}
.alpp-skin .alpp-skin-thumb{width:100%;height:56px}
.alpp-duration span{display:flex;gap:8px;align-items:center}
.alpp-duration input{width:90px!important}
.alpp-duration select{width:auto!important}
/* Thumbnails of the Pro designs */
.alp-thumb-skin-ticket>span{left:26%;top:16%;width:48%;height:68%;background:#fff;border:1.5px solid #0e1116;border-top:4px solid #ff6a1f}
.alp-thumb-skin-bold>span{left:26%;top:16%;width:48%;height:68%;background:#ff6a1f}
.alp-thumb-skin-editorial>span{left:22%;top:14%;width:56%;height:72%;background:#fff;border:1px solid #c9ced6;border-top:4px solid #ff6a1f;border-radius:2px}
.alp-thumb-skin-outline>span{left:24%;top:14%;width:46%;height:64%;background:#fff;border:2px solid #0e1116;box-shadow:5px 5px 0 #0e1116;border-radius:2px}
.alp-thumb-skin-split>span{left:20%;top:18%;width:60%;height:64%;background:linear-gradient(90deg,#ff6a1f 40%,#fff 40%);border:1px solid #c9ced6}
.alp-thumb-skin-night>span{inset:0;border-radius:0;background:radial-gradient(circle at 92% 6%,#ff6a1f 0 28%,#0e1116 28.5%)}
.alp-thumb-skin-dots>span{left:26%;top:16%;width:48%;height:68%;background:linear-gradient(#fff,#fff) bottom/100% 62% no-repeat,radial-gradient(rgba(14,17,22,.35) 1px,transparent 1.3px) 0 0/6px 6px,#ff6a1f;border:1px solid #c9ced6}
.alp-thumb-skin-flash>span{left:0;top:0;width:100%;height:22%;border-radius:0;background:#ff6a1f;box-shadow:inset -30% 0 0 #0e1116}
.alp-thumb-skin-pill>span{left:18%;top:auto;bottom:10%;width:64%;height:18%;border-radius:99px;background:#0e1116}
.alp-thumb-skin-badge>span{right:8%;bottom:10%;width:38%;height:46%;background:#fff;border:1px solid #c9ced6;box-shadow:-8px -8px 0 -2px #ff6a1f}
/* Report */
.alpp-report .alp-sub .alp-state{margin-right:2px}
.alpp-chart-card{margin:0 0 18px}
.alpp-chart-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.alpp-chart-head h2{margin:0!important}
.alpp-legend{display:inline-flex;align-items:center;gap:6px 14px;flex-wrap:wrap;font-size:12px;color:var(--al-muted)}
.alpp-key{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:-8px}
.alpp-key--views{background:#c9ced6}
.alpp-key--conv{background:#ff6a1f}
.alpp-chart{display:flex;align-items:flex-end;gap:3px;height:200px;padding:0 0 2px;border-bottom:1px solid var(--al-line)}
.alpp-bar{position:relative;flex:1 1 0;min-width:2px;height:100%;display:flex;align-items:flex-end}
.alpp-bar-views{position:absolute;left:0;right:0;bottom:0;background:#c9ced6;border-radius:3px 3px 0 0}
.alpp-bar-conv{position:absolute;left:22%;right:22%;bottom:0;background:#ff6a1f;border-radius:2px 2px 0 0}
.alpp-bar:hover .alpp-bar-views{background:#9aa1ac}
.alpp-axis{display:flex;justify-content:space-between;margin-top:6px;font-size:11px;color:var(--al-muted)}
.alpp-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px}
.alpp-table{width:100%;border-collapse:collapse;font-size:13px}
.alpp-table th{padding:6px 8px;text-align:left;font-size:12px;color:var(--al-muted);font-weight:700}
.alpp-table td{padding:9px 8px;border-top:1px solid #eef0f3}
.alpp-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.alpp-k{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* A/B test */
.alpp-ab-intro{max-width:72ch;color:var(--al-muted);margin:0 0 16px}
.alpp-ab-last{margin:0 0 14px;padding:10px 14px;border-radius:10px;background:#f4f5f7}
.alpp-ab-grid{display:grid;grid-template-columns:minmax(0,520px);margin:0 0 16px}
.alpp-ab-fig{margin:0}
.alpp-ab-fig figcaption{margin:0 0 6px;font-weight:700}
.alpp-ab-stage{height:420px}
.alpp-ab-stage .alp-stage-popup .alp--modal .alp-box{max-height:380px;overflow:hidden}
.alpp-ab-stage .alp-stage-popup .alp-box{transform:none}
.alpp-ab-variant{margin:0 0 14px;padding:0}
.alpp-ab-variant>summary{display:flex;align-items:baseline;gap:10px;padding:16px 20px;cursor:pointer;list-style:none}
.alpp-ab-variant>summary::-webkit-details-marker{display:none}
.alpp-ab-variant>summary::before{content:"+";font-weight:700;width:14px}
.alpp-ab-variant[open]>summary::before{content:"\2212"}
.alpp-ab-variant>summary h2{margin:0!important;font-size:16px}
.alpp-ab-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,460px);gap:20px;padding:0 20px 20px}
.alpp-ab-fields .alp-field{display:flex;flex-direction:column;gap:4px;margin:0 0 12px}
.alpp-ab-fields .alp-field>span{font-weight:600;font-size:13px}
.alpp-ab-fields input[type=text],.alpp-ab-fields textarea,.alpp-ab-fields select,.alpp-ab-settings select{width:100%;max-width:100%}
.alpp-ab-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.alpp-ab-ai{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px;padding:10px;border-radius:10px;background:#f4f5f7}
.alpp-ab-ai .alpp-ab-angle{flex:1 1 220px}
.alpp-ab-ai-msg{flex-basis:100%;font-size:13px;color:var(--al-muted)}
.alpp-ab-ai-msg:empty{display:none}
.alpp-ab-nopreview{display:flex;align-items:center;justify-content:center;height:100%;min-height:160px;margin:0;border:1px dashed #c9ced6;border-radius:14px;text-align:center;padding:16px}
.alpp-ab-settings{margin:0 0 16px}
.alpp-ab-settings .alp-field{display:flex;flex-direction:column;gap:4px}
.alpp-ab-settings .alp-field>span{font-weight:600;font-size:13px}
.alp-check-line{display:flex;gap:8px;align-items:flex-start;margin:14px 0 6px}
.alpp-ab-submit{display:flex;flex-wrap:wrap;gap:10px}
.alpp-ab-results{margin:0 0 18px}
.alpp-ab-results tr.is-lead td{background:#fff6ef}
.alpp-ab-lead{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:99px;background:#ff6a1f;color:#fff;font-size:11px;font-weight:700}
.alpp-ab-status{margin:14px 0 4px;font-weight:600}
.alpp-ab-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
.alpp-ab-previews{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px;margin:0 0 18px}
.alpp-ab-history{margin:0 0 18px}
.alpp-ab-note{margin:0 0 16px;padding:10px 14px;border-radius:10px;background:#fff6ef}
@media (max-width:900px){.alpp-ab-cols{grid-template-columns:1fr}}
/* Shop rules and discount codes */
.alpp-shop:not(:has(input[name="pro[store][cart]"][value="items"]:checked)) [data-alpp-cart-more]{display:none}
.alpp-coupon-fields:not(:has(#alpp-coupon-on:checked)) [data-alpp-coupon]{display:none}
form:has(#alp-action option[value="form"]:checked) .alpp-coupon-form-only{display:none}
.alpp-range>span,.alpp-amount>span{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.alpp-range input{width:110px!important}
.alpp-amount input{width:110px!important}
.alpp-amount select{width:auto!important}
.alpp-picker{position:relative}
.alpp-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 6px;padding:0;list-style:none}
.alpp-chips:empty{display:none}
.alpp-chip{display:inline-flex;align-items:center;gap:4px;margin:0;padding:3px 4px 3px 10px;border:1px solid var(--al-line);border-radius:999px;background:#fff;font-size:13px;max-width:100%}
.alpp-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.alpp-chip-x{flex:none;width:24px;height:24px;border:0;border-radius:50%;background:transparent;color:var(--al-muted);font-size:16px;line-height:1;cursor:pointer}
.alpp-chip-x:hover,.alpp-chip-x:focus-visible{background:var(--al-soft);color:var(--al-ink)}
.alpp-search{position:relative}
.alpp-suggest{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 4px);max-height:240px;overflow:auto;margin:0;padding:4px;list-style:none;background:#fff;border:1px solid var(--al-line);border-radius:10px;box-shadow:0 10px 30px rgba(14,17,22,.12)}
.alpp-suggest li{margin:0;padding:8px 10px;border-radius:7px;cursor:pointer}
.alpp-suggest li[aria-selected="true"],.alpp-suggest li[role="option"]:hover{background:var(--al-soft)}
.alpp-suggest .alpp-suggest-none{color:var(--al-muted);cursor:default}
.alpp-shop-card .alpp-shop-kpis{margin:6px 0 14px}
.alpp-ab-revenue{margin:14px 0 4px}
.alpp-shop,.alpp-contacts,.alpp-after-fields,.alpp-coupon-fields{min-width:0}
/* The first line under the legend can be hidden (form-only hints): every line clears the floating legend. */
.alpp-shop>*,.alpp-contacts>*,.alpp-after-fields>*,.alpp-coupon-fields>*{clear:both}
.alpp-search input{width:100%;max-width:100%;box-sizing:border-box}
.alpp-coupon-fields:not(:has(#alpp-wheel-on:checked)) [data-alpp-wheel-fields]{display:none}
.alpp-wheel-table{width:100%;border-collapse:collapse;min-width:380px;table-layout:fixed}
.alpp-wheel-table th{font-size:12px;text-align:left;color:var(--al-muted);padding:4px 6px 4px 0}
.alpp-wheel-table td{padding:3px 6px 3px 0}
.alpp-wheel-table input,.alpp-wheel-table select{width:100%;min-height:34px;border:1px solid #d5d9e0;border-radius:8px;padding:4px 8px;font-size:13px;box-sizing:border-box}
.alpp-wheel-table th:nth-child(2){width:124px}
.alpp-wheel-table th:nth-child(3),.alpp-wheel-table th:nth-child(4){width:64px}
.alpp-wheel-table select{padding-right:24px;text-overflow:ellipsis}
.alp-work>.alp-settings,.alpp-coupon-fields,.alpp-coupon-fields .alp-sub-fields,.alpp-wheel-fields{min-width:0}
/* With a wheel, the discount and its text come from each segment. */
.alpp-coupon-fields:has(#alpp-wheel-on:checked) .alpp-amount,.alpp-coupon-fields:has(#alpp-wheel-on:checked) .alpp-message{display:none}
