/* PreVPS Live Dedicated Servers shortcode. Every rule is scoped to the wrapper so the
   host theme is not affected, and theme defaults are reset inside it. */
.pv-ui.pv-ded {
    --pv-purple: #796bf9;
    --pv-purple-action: #6355e8;
    --pv-purple-dark: #5346d8;
    --pv-pink: #fd5481;
    --pv-ink: #4f4b6c;
    --pv-muted: #59647b;
    --pv-surface: #fff;
    --pv-soft: #f7f6ff;
    --pv-border: #e6e2fa;
    --pv-success: #16835f;
    --pv-focus: rgba(121, 107, 249, .28);
    --pv-radius: 18px;
    --pv-shadow: 0 4px 16px rgba(79, 75, 108, .07);
    --pv-shadow-hover: 0 10px 30px rgba(79, 75, 108, .12);
    width: 100%;
    max-width: 1200px;
    margin: 32px auto 48px;
    padding: 0;
    color: var(--pv-ink);
    font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    scroll-margin-top: 96px;
}
.pv-ded,
.pv-ded * { box-sizing: border-box; }
.pv-ded [hidden] { display: none !important; }
.pv-ded p,
.pv-ded h2,
.pv-ded h3,
.pv-ded dl,
.pv-ded dt,
.pv-ded dd,
.pv-ded ul,
.pv-ded li { margin: 0; padding: 0; float: none; background: none; border: 0; font-family: inherit; letter-spacing: normal; text-transform: none; }
.pv-ded ul { list-style: none; }
.pv-ded li::before { content: none; }

.pv-ded .pv-ui-sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.pv-ded .pv-ui-card {
    position: relative;
    background: var(--pv-surface);
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-radius);
    box-shadow: var(--pv-shadow);
}

/* Header */
.pv-ded .pv-ded-header { max-width: 760px; margin-bottom: 24px; }
.pv-ded .pv-ded-eyebrow { margin-bottom: 8px; color: var(--pv-purple-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pv-ded .pv-ded-title { color: var(--pv-ink); font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.2; }
.pv-ded .pv-ded-intro { margin-top: 12px; color: var(--pv-muted); font-size: 1rem; line-height: 1.7; }

/* Filters */
.pv-ded .pv-ded-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 16px;
    padding: 20px;
}
.pv-ded .pv-ded-field { min-width: 0; }
.pv-ded .pv-ded-field--wide { grid-column: span 2; }
.pv-ded .pv-ui-label { display: block; float: none; width: auto; margin: 0 0 6px; padding: 0; color: var(--pv-ink); font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: normal; text-transform: none; }
.pv-ded .pv-ui-input {
    display: block; width: 100%; max-width: none; height: auto; min-height: 44px; margin: 0; padding: 10px 12px;
    color: var(--pv-ink); background-color: var(--pv-surface); border: 1px solid #d7d0ff; border-radius: 10px;
    box-shadow: none; font: inherit; font-size: 14px; font-weight: 500; line-height: 1.4;
}
.pv-ded select.pv-ui-input { padding-right: 32px; }
.pv-ded .pv-ui-input:focus { outline: none; border-color: var(--pv-purple); box-shadow: 0 0 0 3px var(--pv-focus); }
.pv-ded .pv-ded-filter-actions { grid-column: 1 / -1; }
.pv-ded .pv-ded-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pv-ded.is-live .pv-ded-filter-actions [data-pv-ded-apply] { display: none; }

/* Buttons */
.pv-ded .pv-ui-button,
.pv-ded .pv-ui-button:link,
.pv-ded .pv-ui-button:visited {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0; padding: 10px 18px;
    border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.25;
    text-align: center; text-decoration: none; text-transform: none; letter-spacing: normal; cursor: pointer; box-shadow: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.pv-ded .pv-ui-button--primary,
.pv-ded .pv-ui-button--primary:link,
.pv-ded .pv-ui-button--primary:visited { color: #fff; -webkit-text-fill-color: #fff; background: var(--pv-purple-action); border-color: var(--pv-purple-action); }
.pv-ded .pv-ui-button--primary:hover,
.pv-ded .pv-ui-button--primary:focus,
.pv-ded .pv-ui-button--primary:active { color: #fff; -webkit-text-fill-color: #fff; background: var(--pv-purple-dark); border-color: var(--pv-purple-dark); text-decoration: none; }
.pv-ded .pv-ui-button--outline,
.pv-ded .pv-ui-button--outline:link,
.pv-ded .pv-ui-button--outline:visited { color: var(--pv-purple-dark); -webkit-text-fill-color: var(--pv-purple-dark); background: #f5f3ff; border-color: #dedafd; }
.pv-ded .pv-ui-button--outline:hover,
.pv-ded .pv-ui-button--outline:focus,
.pv-ded .pv-ui-button--outline:active { color: #fff; -webkit-text-fill-color: #fff; background: var(--pv-purple-action); border-color: var(--pv-purple-action); text-decoration: none; }
.pv-ded .pv-ui-button--quiet,
.pv-ded .pv-ui-button--quiet:link,
.pv-ded .pv-ui-button--quiet:visited { color: var(--pv-ink); -webkit-text-fill-color: var(--pv-ink); background: #f7f6fd; border-color: var(--pv-border); }
.pv-ded .pv-ui-button--quiet:hover,
.pv-ded .pv-ui-button--quiet:focus { color: var(--pv-purple-dark); -webkit-text-fill-color: var(--pv-purple-dark); background: #efedfb; text-decoration: none; }
.pv-ded a:focus-visible,
.pv-ded button:focus-visible { outline: 2px solid var(--pv-purple-dark); outline-offset: 3px; }

/* Result count */
.pv-ded .pv-ded-count { margin: 0 0 12px; color: var(--pv-muted); font-size: 13px; font-weight: 600; }

/* Cards */
.pv-ded .pv-ded-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pv-ded .pv-ded-card {
    display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 22px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.pv-ded .pv-ded-card:hover { border-color: var(--pv-purple); box-shadow: var(--pv-shadow-hover); }
.pv-ded .pv-ded-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pv-ded .pv-ded-location,
.pv-ded .pv-ded-stock { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1.3; }
.pv-ded .pv-ded-location { color: var(--pv-purple-dark); background: #f1efff; }
.pv-ded .pv-ded-location::before {
    content: ""; flex: 0 0 13px; width: 13px; height: 13px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pv-ded .pv-ded-stock { color: #245c41; background: #eaf7ef; }
.pv-ded .pv-ded-name { color: var(--pv-ink); font-size: 1.125rem; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }

.pv-ded .pv-ded-specs { display: grid; gap: 0; }
.pv-ded .pv-ded-specs > div { display: grid; grid-template-columns: minmax(96px, 38%) minmax(0, 1fr); align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--pv-border); }
.pv-ded .pv-ded-specs > div:last-child { border-bottom: 0; }
.pv-ded .pv-ded-specs dt { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--pv-muted); font-size: 12px; font-weight: 500; }
.pv-ded .pv-ded-specs dd { color: var(--pv-ink); font-size: 13px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
/* Decorative outlined icons; the text of each <dt> is the accessible label. */
.pv-ded .pv-ded-specs dt::before {
    content: ""; flex: 0 0 16px; width: 16px; height: 16px; background-color: var(--pv-purple-action);
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E");
}
.pv-ded .pv-ded-specs dt[data-spec="ram"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='10' rx='2'/%3E%3Cpath d='M7 10h3v4H7zm7 0h3v4h-3zM7 5v2m5-2v2m5-2v2M7 17v2m5-2v2m5-2v2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='10' rx='2'/%3E%3Cpath d='M7 10h3v4H7zm7 0h3v4h-3zM7 5v2m5-2v2m5-2v2M7 17v2m5-2v2m5-2v2'/%3E%3C/svg%3E");
}
.pv-ded .pv-ded-specs dt[data-spec="storage"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M17 17h1'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M17 17h1'/%3E%3C/svg%3E");
}
.pv-ded .pv-ded-specs dt[data-spec="gpu"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Cpath d='M7 3v2m5-2v2m5-2v2M7 19v2m5-2v2m5-2v2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Cpath d='M7 3v2m5-2v2m5-2v2M7 19v2m5-2v2m5-2v2'/%3E%3C/svg%3E");
}
.pv-ded .pv-ded-specs dt[data-spec="traffic"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='6' rx='1'/%3E%3Crect x='2' y='16' width='6' height='6' rx='1'/%3E%3Crect x='16' y='16' width='6' height='6' rx='1'/%3E%3Cpath d='M12 8v4M5 16v-4h14v4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='6' rx='1'/%3E%3Crect x='2' y='16' width='6' height='6' rx='1'/%3E%3Crect x='16' y='16' width='6' height='6' rx='1'/%3E%3Cpath d='M12 8v4M5 16v-4h14v4'/%3E%3C/svg%3E");
}
.pv-ded .pv-ded-specs dt[data-spec="ip"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.500 5.600 12 3Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.500 5.600 12 3Z'/%3E%3C/svg%3E");
}

/* Price and action */
.pv-ded .pv-ded-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--pv-border); }
.pv-ded .pv-ded-price strong { color: var(--pv-ink); font-size: 1.6rem; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pv-ded .pv-ded-price span { color: var(--pv-muted); font-size: 13px; font-weight: 600; }
.pv-ded .pv-ded-price .pv-ded-setup { flex-basis: 100%; font-size: 12px; }
.pv-ded .pv-ded-order { width: 100%; }

/* States */
.pv-ded .pv-ded-state { padding: 28px 24px; text-align: center; }
.pv-ded .pv-ded-state p { max-width: 640px; margin: 0 auto 16px; color: var(--pv-ink); font-size: 15px; }
.pv-ded .pv-ded-state .pv-ded-actions { justify-content: center; }
.pv-ded .pv-ded-empty { margin-top: 4px; border-style: dashed; box-shadow: none; background: var(--pv-soft); }
.pv-ded .pv-ded-note { margin-top: 20px; color: var(--pv-muted); font-size: 12px; line-height: 1.6; }

@media (max-width: 1099px) {
    .pv-ded .pv-ded-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv-ded .pv-ded-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
    .pv-ui.pv-ded { margin: 24px auto 32px; }
    .pv-ded .pv-ded-grid { grid-template-columns: minmax(0, 1fr); }
    /* Two compact columns keep the first server close to the top of the page. */
    .pv-ded .pv-ded-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; gap: 12px; }
    .pv-ded .pv-ded-field--wide { grid-column: 1 / -1; }
    .pv-ded .pv-ui-input { padding-left: 10px; font-size: 13px; }
    .pv-ded .pv-ded-card { padding: 18px; }
    .pv-ded .pv-ded-filter-actions .pv-ui-button,
    .pv-ded .pv-ded-state .pv-ui-button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .pv-ded * { transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
    .pv-ded .pv-ded-specs dt::before,
    .pv-ded .pv-ded-location::before { background-color: CanvasText; }
}
