/* VPS configurator on the WHMCS order page. Scoped under .ovhc-of. */
.ovhc-native-hidden { display: none !important; }

.ovhc-of {
    --of-accent: #0050d7;
    --of-accent-soft: #e8f0fe;
    --of-border: #d6dbe4;
    --of-text: #10223f;
    --of-muted: #5b6b82;
    --of-ok: #127a3f;
    color: var(--of-text);
    margin: 10px 0 24px;
}
.ovhc-of *, .ovhc-of *::before, .ovhc-of *::after { box-sizing: border-box; }
.ovhc-of section { margin: 26px 0 0; }
.ovhc-of h3 { font-size: 19px; font-weight: 700; margin: 0 0 6px; color: var(--of-text); }
.ovhc-of-muted, .ovhc-of p { color: var(--of-muted); font-size: 13px; margin: 0 0 10px; }

.ovhc-of-plan { border: 1px solid var(--of-border); border-radius: 8px; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; background: #fbfcfe; }
.ovhc-of-plan-name { font-size: 18px; font-weight: 700; }
.ovhc-of-plan ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; font-size: 13px; color: var(--of-muted); }
.ovhc-of-plan li::before { content: "✓ "; color: var(--of-ok); }
.ovhc-of-plan b { color: var(--of-text); }
.ovhc-of-link { margin-left: auto; font-size: 13px; }

.ovhc-of-grid { display: grid; gap: 10px; }
.ovhc-of-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ovhc-of-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ovhc-of-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; width: 100%;
    border: 1px solid var(--of-border); border-radius: 6px; background: #fff; padding: 12px 12px 12px 38px; cursor: pointer; font: inherit; color: inherit; min-height: 64px; }
.ovhc-of-card:hover { border-color: var(--of-accent); }
.ovhc-of-card.on { border: 2px solid var(--of-accent); background: var(--of-accent-soft); padding: 11px 11px 11px 37px; }
.ovhc-of-card.off { opacity: .55; cursor: not-allowed; background: #f6f7f9; }
.ovhc-of-card strong { font-size: 14px; }
.ovhc-of-card small { color: var(--of-muted); font-size: 12px; }
.ovhc-of-card em { font-style: normal; font-weight: 700; color: var(--of-accent); font-size: 13px; margin-top: auto; }
.ovhc-of-card.ovhc-of-static { cursor: default; flex-direction: row; align-items: center; gap: 10px; }
.ovhc-of-card.ovhc-of-static em { margin: 0 0 0 auto; }
.ovhc-of-radio { position: absolute; left: 12px; top: 14px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #9aa7b8; background: #fff; }
.ovhc-of-card.on .ovhc-of-radio { border-color: var(--of-accent); box-shadow: inset 0 0 0 3px #fff; background: var(--of-accent); }
.ovhc-of-version { width: 100%; margin: 4px 0; padding: 4px 6px; border: 1px solid var(--of-border); border-radius: 4px; background: #fff; font-size: 13px; }

.ovhc-of-tabs { display: flex; flex-wrap: wrap; gap: 4px 18px; border-bottom: 1px solid var(--of-border); margin: 4px 0 12px; }
.ovhc-of-tab { border: 0; background: none; padding: 6px 2px; font: inherit; font-size: 14px; color: var(--of-text); border-bottom: 2px solid transparent; cursor: pointer; }
.ovhc-of-tab.on { color: var(--of-accent); border-bottom-color: var(--of-accent); font-weight: 600; }
.ovhc-of-tab.empty { color: #9aa7b8; }
.ovhc-of-card.ovhc-of-hint { cursor: default; }
.ovhc-of-alert { background: #fff4e5; border: 1px solid #f5c27a; color: #7a4b00; border-radius: 6px; padding: 10px 12px; font-size: 13px; margin: 6px 0 10px; }
.ovhc-pwhint, .ovhc-of-pwhint { display: block; color: #5b6b82; font-size: 12px; margin-top: 4px; }
.ovhc-of-empty { grid-column: 1 / -1; background: #f1f3f6; border-radius: 6px; padding: 10px 12px; font-size: 13px; color: var(--of-muted); }

.ovhc-of-info { background: #e3f4ff; border-radius: 6px; padding: 10px 14px; font-size: 13px; margin-bottom: 10px; }
.ovhc-of-option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--of-border); border-radius: 6px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; font-weight: normal; background: #fff; }
.ovhc-of-option.on { border-color: var(--of-accent); background: var(--of-accent-soft); }
.ovhc-of-option input { margin-top: 3px; }
.ovhc-of-option div { flex: 1; }
.ovhc-of-option p { margin: 2px 0 6px; }
.ovhc-of-option em { font-style: normal; font-weight: 700; color: var(--of-accent); white-space: nowrap; }
.ovhc-of-qty { display: inline-flex; align-items: center; border: 1px solid var(--of-border); border-radius: 4px; overflow: hidden; }
.ovhc-of-qty button { border: 0; background: #f1f3f6; width: 32px; height: 30px; font-size: 16px; cursor: pointer; }
.ovhc-of-qty input { width: 52px; height: 30px; border: 0; text-align: center; -moz-appearance: textfield; }
.ovhc-of-option select { max-width: 320px; padding: 4px 6px; border: 1px solid var(--of-border); border-radius: 4px; }

@media (max-width: 991px) {
    .ovhc-of-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .ovhc-of-grid-3, .ovhc-of-grid-4 { grid-template-columns: 1fr; }
    .ovhc-of-link { margin-left: 0; }
}
