/* ============================================================
   Configure Product Page — Editorial Premium
   Mirrors viewcart.css vocabulary (tokens, cards, hero total)
   ============================================================ */

:root {
    --vps-green: #67a552;
    --vps-green-light: #6eb057;
    --vps-green-dark: #5a8f46;
    --vps-green-tint: #f0f9ed;
    --vps-green-surface: #f8faf7;
    --vps-green-mist: #e8f7e3;
    --vps-green-icon: #c5f5b4;

    --vps-orange: #f76d3c;
    --vps-orange-light: #ff8659;
    --vps-orange-dark: #e25a2a;

    --vps-slate: #2c3e50;
    --vps-text: #2c3e50;
    --vps-text-muted: #6c757d;
    --vps-text-soft: #8a939c;

    --vps-border: #e0e3df;
    --vps-border-soft: #eef1ed;

    --vps-danger: #dc3545;

    --vps-shadow-sm: 0 1px 2px rgba(20, 30, 40, 0.04), 0 1px 3px rgba(20, 30, 40, 0.06);
    --vps-shadow-md: 0 2px 4px rgba(20, 30, 40, 0.04), 0 4px 14px rgba(20, 30, 40, 0.06);

    --vps-radius: 6px;
    --vps-radius-sm: 4px;

    --vps-font: metropolisregular, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --vps-font-bold: metropolissemi_bold, var(--vps-font);
}

* {
    box-sizing: border-box;
}

#order-slider {
    width: 100%;
    max-width: 1650px;
    margin: 0 auto;
    padding: 48px 32px 80px;
    font-family: var(--vps-font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--vps-text);
    background: #fff;
    min-height: 600px;
}

#order-slider a {
    color: var(--vps-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

#order-slider a:hover {
    color: var(--vps-green-dark);
}

/* Two-column grid — mirrors viewcart's .viewcart-grid */
.configproduct-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 36px;
    align-items: start;
}

.prodconfigcol1 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    float: none;
    width: auto;
    padding: 0;
}

.prodconfigcol2 {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    float: none;
    width: auto;
    padding: 0;
}

.clear { display: none; }

/* Alert Messages */
.alert {
    display: flex;
    align-items: flex-start;
    padding: 20px 25px;
    margin-bottom: 25px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.8;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.alert i {
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #721c24;
}

.alert-content span {
    display: block;
    line-height: 1.6;
}

.alert-error {
    color: #721c24;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    border-color: #f5c6cb;
}

.alert-error i {
    color: #dc3545;
}

/* Config Sections — mirrors viewcart's .checkout-step exactly */
.config-section {
    margin-bottom: 0;
    background: #fff;
    border: 1px solid var(--vps-border-soft);
    border-radius: var(--vps-radius);
    overflow: hidden;
    box-shadow: var(--vps-shadow-md);
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 32px 18px;
    background: linear-gradient(180deg, #fdfefc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--vps-border-soft);
}

.section-header__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vps-green) 0%, var(--vps-green-light) 100%);
    color: #fff;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(103, 165, 82, 0.32);
    margin-top: 2px;
}

.section-header__icon i { margin: 0; color: #fff; }

.section-header__title { flex: 1; min-width: 0; }

.section-header h2 {
    font-family: var(--vps-font-bold);
    font-size: 20px;
    color: var(--vps-slate);
    margin: 0 0 4px;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.section-header p {
    margin: 0;
    color: var(--vps-text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.section-content {
    padding: 26px 32px 30px;
    background: #fff;
}

/* Description Box */
.description-box {
    color: var(--vps-text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* Config Rows — keeps the side-by-side label/input layout but typography
   matches viewcart's uppercase-tracked label treatment. */
.config-row {
    display: flex;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--vps-border-soft);
}

.config-row:first-child {
    padding-top: 0;
}

.config-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.field-label {
    width: 180px;
    min-width: 180px;
    padding-right: 20px;
    padding-top: 12px;
    font-family: var(--vps-font-bold);
    font-size: 12px;
    color: var(--vps-slate);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.field-input {
    flex: 1;
    color: var(--vps-text);
    font-size: 15px;
    min-width: 0;
}

.field-help {
    display: block;
    margin-top: 6px;
    color: var(--vps-text-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.field-notice {
    margin-top: 14px;
    padding: 12px 16px;
    background: var(--vps-green-surface);
    border-left: 3px solid var(--vps-green);
    border-radius: 0 var(--vps-radius) var(--vps-radius) 0;
}

.field-notice p {
    margin: 0 0 6px;
    color: var(--vps-text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.field-notice p:last-child {
    margin-bottom: 0;
}

/* Form Elements — mirror viewcart's form inputs (1.5px border, soft focus ring) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100% !important;
    padding: 12px 14px;
    border: 1.5px solid var(--vps-border);
    border-radius: var(--vps-radius);
    font-size: 15px;
    font-family: inherit;
    color: var(--vps-slate);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    min-height: 44px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"] {
    max-width: 400px;
}

textarea {
    resize: vertical;
    min-height: 80px;
    width: 100%;
    min-height: 80px;
}

input[type="text"]:hover:not(:focus),
input[type="email"]:hover:not(:focus),
input[type="password"]:hover:not(:focus),
input[type="number"]:hover:not(:focus),
textarea:hover:not(:focus),
select:hover:not(:focus) {
    border-color: #c3cbc1;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--vps-green);
    box-shadow: 0 0 0 4px rgba(103, 165, 82, 0.12);
    background: #fdfefc;
}

/* Custom select chevron */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2367a552' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 11px;
    padding-right: 36px;
    cursor: pointer;
}

/* Radio and Checkbox Base Styles */
input[type="radio"],
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 10px 0 0;
    vertical-align: text-top;
    cursor: pointer;
    position: relative;
    top: 2px;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="radio"]:checked,
input[type="checkbox"]:checked {
    accent-color: #67a552;
}

/* Radio Grid for OS and Location Selection */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 5px;
}

/* Radio Container Styles */
.radiocontainer {
    position: relative;
    width: 100%;
}

.radiocontainer input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radiocontainer label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #fff;
    border: 2px solid #e0e3df;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    font-size: 14px;
    font-weight: 500;
}

.radiocontainer label:hover {
    border-color: #84c26e;
    background: #f8faf7;
    box-shadow: 0 2px 8px rgba(103, 165, 82, 0.15);
}

.radiocontainer input[type="radio"]:checked + label {
    border-color: #67a552;
    background: linear-gradient(135deg, #f0f9ed 0%, #e8f7e3 100%);
    box-shadow: 0 2px 8px rgba(103, 165, 82, 0.2);
}

/* Triangle Indicator for Selected Radio */
.radiocontainer input[type="radio"]:checked + label::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 24px 24px 0;
    border-color: transparent #67a552 transparent transparent;
}

.radiocontainer input[type="radio"]:checked + label::before {
    content: '✓';
    position: absolute;
    top: 0;
    right: 3px;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    z-index: 1;
    line-height: 1;
}

/* OS Container Specific */
.radiocontainer.os img {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    object-fit: contain;
    flex-shrink: 0;
}

.radiocontainer.os span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Location Container Specific */
.radiocontainer.location img {
    width: 24px;
    height: auto;
    margin-right: 10px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.radiocontainer.location span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Billing Cycle Options */
/* Radio Options */
.radio-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

/* Checkbox Options */
.checkbox-option {
    display: flex;
    align-items: flex-start;
    padding: 18px;
    border: 2px solid #e8ebe7;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 12px;
    background: #fff;
}

.checkbox-option:last-child {
    margin-bottom: 0;
}

.checkbox-option:hover {
    background: #f8faf7;
    border-color: #84c26e;
}

.checkbox-option input[type="checkbox"] {
    margin-top: 2px;
    margin-right: 10px;
    flex-shrink: 0;
}

.checkbox-option label {
    cursor: pointer;
    flex: 1;
    display: block;
}

.checkbox-option label strong {
    display: inline-block;
    color: #2c3e50;
    font-size: 15px;
    margin-bottom: 4px;
}

.checkbox-option .field-description,
.custom-field-checkbox .field-description {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-option input[type="checkbox"]:checked ~ label strong,
.custom-field-checkbox input[type="checkbox"]:checked ~ label strong {
    color: #67a552;
}

/* Selected state for checkbox-option */
.checkbox-option.selected {
    background: #f0f9ed !important;
    border-color: #67a552 !important;
}

/* Disabled state for checkbox containers */
.checkbox-option.disabled,
.addon-option.disabled,
.custom-field-checkbox.disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    background: #f5f5f5 !important;
    border-color: #ddd !important;
}

.checkbox-option.disabled:hover,
.addon-option.disabled:hover,
.custom-field-checkbox.disabled:hover {
    background: #f5f5f5 !important;
    border-color: #ddd !important;
    box-shadow: none !important;
}

.checkbox-option.disabled input[type="checkbox"],
.addon-option.disabled input[type="checkbox"],
.custom-field-checkbox.disabled input[type="checkbox"],
.checkbox-option.disabled label,
.addon-option.disabled label,
.custom-field-checkbox.disabled label {
    cursor: not-allowed !important;
}

/* Custom Field Checkboxes - Match addon style */
.custom-field-checkbox {
    background: #fff;
}

.custom-field-checkbox:hover {
    background: #f8faf7;
    border-color: #84c26e;
}

.custom-field-checkbox.selected {
    background: #f0f9ed;
    border-color: #67a552;
}

.custom-field-checkbox input[type="checkbox"] {
    margin-top: 2px;
    margin-right: 10px;
    flex-shrink: 0;
}

.custom-field-checkbox label {
    cursor: pointer;
    flex: 1;
    display: block;
}

.custom-field-checkbox label strong {
    display: inline-block;
    color: #2c3e50;
    font-size: 15px;
    margin-bottom: 4px;
}

/* Addon Options */
.addon-option {
    display: flex;
    align-items: flex-start;
    padding: 18px;
    border: 2px solid #e8ebe7;
    border-radius: 6px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
}

.addon-option:hover {
    background: #f8faf7;
    border-color: #84c26e;
}

.addon-option:last-child {
    margin-bottom: 0;
}

.addon-option input[type="checkbox"] {
    margin-top: 2px;
    margin-right: 10px;
    flex-shrink: 0;
}

.addon-option label {
    cursor: pointer;
    flex: 1;
    display: block;
}

.addon-option label strong {
    display: inline-block;
    color: #2c3e50;
    font-size: 15px;
    margin-right: 8px;
}

.addon-option .addon-price {
    color: #f76d3c;
    font-weight: 600;
    margin-right: 8px;
}

.addon-option .addon-description {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.addon-option input[type="checkbox"]:checked ~ label strong {
    color: #67a552;
}

.addon-option.selected {
    background: #f0f9ed !important;
    border-color: #67a552 !important;
}

/* Password Display */
.password-display {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 6px;
    max-width: fit-content;
}

.password-display span {
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    font-weight: bold;
    color: #856404;
    letter-spacing: 1px;
}

.btn-copy-password {
    padding: 8px 16px;
    background: #ffc107;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-copy-password:hover {
    background: #e0a800;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.3);
}

.btn-copy-password i {
    font-size: 16px;
}

/* Quantity Button Input Styles */
.quantity-container {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 2px solid #e0e3df;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.quantity-container:hover {
    border-color: #84c26e;
    box-shadow: 0 2px 8px rgba(103, 165, 82, 0.15);
}

.qty-btn {
    width: 100px;
    height: 44px;
    background: #f8faf7;
    border: none;
    cursor: pointer;
    color: #67a552;
    font-size: 18px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.qty-btn:hover:not(:disabled):not(.disabled) {
    background: #67a552;
    color: #fff;
}

.qty-btn:active:not(:disabled):not(.disabled),
.qty-btn.active:not(:disabled):not(.disabled) {
    transform: scale(0.92);
    background: #5a8e46;
    color: #fff;
}

.qty-btn:disabled,
.qty-btn.disabled {
    background: #f5f5f5;
    color: #d0d0d0;
    cursor: not-allowed;
    opacity: 0.5;
}

.qty-minus {
    border-right: 1px solid #e0e3df;
}

.qty-plus {
    border-left: 1px solid #e0e3df;
}

.qty-input {
    width: 80px !important;
    max-width: 80px !important;
    height: 44px;
    border: none !important;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    background: #fff;
    padding: 0 !important;
    -moz-appearance: textfield;
    cursor: default;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input:focus {
    box-shadow: none !important;
    outline: none;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .quantity-container {
        border-width: 2px;
    }

    .qty-btn {
        width: 60px;
        height: 48px;
        font-size: 20px;
    }

    .qty-input {
        width: 90px !important;
        max-width: 90px !important;
        height: 48px;
        font-size: 20px;
    }
}

/* ============================================================
   Sidebar — order summary card (mirrors viewcart vocabulary)
   ============================================================ */

/* #floating is the legacy wrapper inside .prodconfigcol2 (which is now the
   sticky grid item). Just lay out the inner cards with the same gap. */
#floating {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-summary--config {
    background: #fff;
    border: 1px solid var(--vps-border-soft);
    border-radius: var(--vps-radius);
    box-shadow: var(--vps-shadow-md);
    overflow: hidden;
    margin-bottom: 16px;
}

.order-summary--config .summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: linear-gradient(135deg, var(--vps-green) 0%, var(--vps-green-light) 100%);
    color: #fff;
}

.order-summary--config .summary-header h3 {
    margin: 0;
    font-family: var(--vps-font-bold);
    font-size: 16px;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.order-summary--config .summary-header h3 i {
    color: var(--vps-green-icon);
    font-size: 16px;
    margin: 0;
}

/* Segmented billing-cycle picker */
.cycle-picker {
    padding: 14px 16px;
    background: var(--vps-green-surface);
    border-bottom: 1px solid var(--vps-border-soft);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.cycle-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px 8px;
    background: #fff;
    border: 1.5px solid var(--vps-border);
    border-radius: var(--vps-radius);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}

.cycle-tile:hover {
    border-color: #84c26e;
    background: var(--vps-green-tint);
}

.cycle-tile.is-selected {
    border-color: var(--vps-green);
    background: linear-gradient(135deg, var(--vps-green-tint) 0%, #fff 100%);
    box-shadow: 0 2px 8px rgba(103, 165, 82, 0.14);
}

.cycle-tile input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cycle-tile__name {
    font-family: var(--vps-font-bold);
    font-size: 11px;
    color: var(--vps-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-align: center;
}

.cycle-tile.is-selected .cycle-tile__name {
    color: var(--vps-green-dark);
}

.cycle-tile__price {
    font-family: var(--vps-font-bold);
    font-size: 13px;
    color: var(--vps-slate);
    text-align: center;
    line-height: 1.2;
}

.cycle-tile__check {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent var(--vps-green) transparent transparent;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.cycle-tile__check i {
    position: absolute;
    top: -1px;
    right: -17px;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
}

.cycle-tile.is-selected .cycle-tile__check {
    opacity: 1;
}

/* Summary body — where the AJAX response renders */
.summary-body {
    padding: 16px 22px 18px;
    min-height: 160px;
}

/* Item header */
.summary-body .summary-item {
    padding: 0 0 12px;
}

.summary-body .summary-item__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
    gap: 12px;
}

.summary-body .summary-item__group {
    font-family: var(--vps-font-bold);
    font-size: 10px;
    color: var(--vps-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.summary-body .summary-item__price {
    font-family: var(--vps-font-bold);
    font-size: 15px;
    color: var(--vps-slate);
    white-space: nowrap;
    text-align: right;
}

.summary-body .summary-item__cycle {
    font-family: var(--vps-font);
    font-weight: 400;
    font-size: 12px;
    color: var(--vps-text-muted);
    margin-left: 2px;
}

.summary-body .summary-item__name {
    font-family: var(--vps-font-bold);
    font-size: 15px;
    color: var(--vps-slate);
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Config box inside summary item */
.summary-body .summary-item__config {
    padding: 8px 12px;
    margin: 0 0 8px;
    background: var(--vps-green-surface);
    border-radius: var(--vps-radius);
    font-size: 12.5px;
}

.summary-body .summary-item__config ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.summary-body .summary-item__config li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 3px 0;
    gap: 12px;
    line-height: 1.4;
}

.summary-body .config-key {
    color: var(--vps-text-muted);
    flex-shrink: 0;
}

.summary-body .config-val {
    color: var(--vps-slate);
    text-align: right;
    font-family: var(--vps-font-bold);
    font-weight: 600;
}

.summary-body .config-divider {
    height: 1px;
    background: var(--vps-border-soft);
    margin: 6px 0;
}

.summary-body .paid-list__name {
    color: var(--vps-text-muted);
    flex-shrink: 0;
}

.summary-body .paid-list__details {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    white-space: nowrap;
}

.summary-body .paid-list__value {
    color: var(--vps-slate);
    font-family: var(--vps-font-bold);
    font-weight: 600;
}

.summary-body .paid-list__price {
    color: var(--vps-slate);
    font-family: var(--vps-font-bold);
    font-weight: 600;
}

.summary-body .paid-list__cycle {
    color: var(--vps-text-muted);
    font-family: var(--vps-font);
    font-weight: 400;
    font-size: 11px;
    margin-left: 2px;
}

.summary-body .paid-list__item--upsell .paid-list__value {
    color: var(--vps-text-muted);
    font-family: var(--vps-font);
    font-weight: 400;
    font-style: italic;
}

/* Addon rows nested in summary */
.summary-body .summary-item__addons { margin-top: 8px; }

.summary-body .summary-addon {
    margin-top: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, var(--vps-green-surface) 0%, #fff 100%);
    border-left: 3px solid var(--vps-green);
    border-radius: 0 var(--vps-radius) var(--vps-radius) 0;
}

.summary-body .summary-addon__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.summary-body .summary-addon__label {
    font-family: var(--vps-font-bold);
    font-size: 10px;
    color: var(--vps-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.summary-body .summary-addon__price {
    font-size: 13px;
    color: var(--vps-slate);
    font-family: var(--vps-font-bold);
    white-space: nowrap;
}

.summary-body .summary-addon__name {
    margin-top: 2px;
    color: var(--vps-text-muted);
    font-size: 13px;
}

/* Totals + hero */
.summary-body .summary-totals {
    margin: 8px 0;
    padding: 0;
}

.summary-body .summary-totals__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    font-size: 14px;
}

.summary-body .summary-totals__row dt {
    color: var(--vps-text-muted);
    margin: 0;
}

.summary-body .summary-totals__row dd {
    color: var(--vps-slate);
    font-family: var(--vps-font-bold);
    margin: 0;
}

/* Hero total */
.summary-body .summary-grand {
    margin: 8px 0 12px;
    padding: 20px 22px;
    background: linear-gradient(135deg, var(--vps-slate) 0%, #1d2935 100%);
    border-radius: var(--vps-radius);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.summary-body .summary-grand::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(103, 165, 82, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.summary-body .summary-grand__label {
    display: block;
    font-family: var(--vps-font-bold);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6px;
    position: relative;
}

.summary-body .summary-grand__amount {
    display: block;
    font-family: var(--vps-font-bold);
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    position: relative;
}

/* Recurring */
.summary-body .summary-recurring {
    margin: 0;
    padding: 10px 14px;
    background: var(--vps-green-surface);
    border-radius: var(--vps-radius);
    border-left: 3px solid var(--vps-green);
}

.summary-body .summary-recurring__label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vps-text-muted);
    font-family: var(--vps-font-bold);
    margin-bottom: 4px;
}

.summary-body .summary-recurring__list span {
    display: block;
    font-size: 13px;
    color: var(--vps-slate);
    font-family: var(--vps-font-bold);
}

/* Commit block — Deploy Now CTA */
.commit-block--config {
    background: #fff;
    border: 1px solid var(--vps-border-soft);
    border-radius: var(--vps-radius);
    box-shadow: var(--vps-shadow-md);
    padding: 18px 20px 20px;
}

.btn-complete {
    display: block;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--vps-orange) 0%, var(--vps-orange-light) 100%);
    color: #fff;
    border: none;
    border-radius: var(--vps-radius);
    font-family: var(--vps-font-bold);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
    box-shadow: 0 4px 15px rgba(247, 109, 60, 0.3);
    text-align: center;
}

.btn-complete i {
    margin-right: 8px;
    font-size: 18px;
}

.btn-complete:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--vps-orange-light) 0%, var(--vps-orange) 100%);
    box-shadow: 0 6px 20px rgba(247, 109, 60, 0.4);
}

.btn-complete:active:not(:disabled) {
    transform: translateY(1px);
}

.commit-block__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: 1.5px solid var(--vps-border);
    border-radius: var(--vps-radius);
    color: var(--vps-text-muted) !important;
    font-family: var(--vps-font);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.commit-block__secondary:hover {
    border-color: var(--vps-green);
    color: var(--vps-green) !important;
    background: var(--vps-green-surface);
}

/* Not Offered Text */
.not-offered {
    color: #6c757d;
    font-style: italic;
}

/* Responsive Design */
/* Responsive — breakpoints aligned with viewcart.css */

@media (max-width: 1100px) {
    .configproduct-grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 28px;
    }
}

@media (max-width: 991px) {
    #order-slider {
        padding: 32px 20px 60px;
    }

    .configproduct-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .prodconfigcol2 {
        position: static;
    }

    .section-header { padding: 22px 24px 16px; }
    .section-content { padding: 24px; }

    .config-row {
        flex-direction: column;
        padding: 14px 0;
    }

    .field-label {
        width: 100%;
        min-width: 0;
        padding: 0 0 6px;
    }

    /* In the stacked column layout, .config-row inherits align-items:
       flex-start, so flex items shrink to their content width unless
       given an explicit width. Without this, rows whose only child is
       a block element with no intrinsic full width (radio-grid,
       checkbox-option, native select, etc.) collapse narrower than
       rows containing wider content. Forcing the input column AND
       its common direct children to 100% guarantees consistent
       full-width rendering across every config row. */
    .field-input {
        width: 100%;
    }
    .field-input > .checkbox-option,
    .field-input > .custom-field-checkbox,
    .field-input > .radio-options,
    .field-input > select,
    .field-input > input[type="text"],
    .field-input > input[type="email"],
    .field-input > input[type="password"],
    .field-input > input[type="number"] {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* auto-fit + minmax lets the grid pick column count based on
       container width. On a standard iPhone (~358px usable) two
       tracks fit; on very narrow viewports it collapses to one
       cleanly instead of overflowing. */
    .radio-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 10px;
    }

    /* Tighten tile padding so content fits comfortably in the
       narrower mobile cells. font-size uses clamp() to ramp from
       11px on the smallest phones up to 14px once there's room,
       avoiding the need for additional breakpoints. */
    .radiocontainer label {
        padding: 10px 12px;
        font-size: clamp(11px, 2.8vw, 14px);
    }
    .radiocontainer.os img,
    .radiocontainer.location img {
        width: 22px;
        height: 22px;
        margin-right: 8px;
    }

    /* On mobile the vtabs become full-width inside the stacked column.
       The negative-margin pill trick (which extends past the 180px label
       column on desktop) would overshoot the section padding here, so
       reset margins and lay the tabs as a horizontal segmented pair.
       Inactive stays transparent so only the active pill draws the mint
       fill — otherwise both pills blur together visually. */
    .vtabs-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .vtabs-nav li { margin: 0; }
    .vtabs-nav li a {
        margin: 0;
        padding: 10px 8px;
        text-align: center;
        background: transparent;
        border: 1px solid var(--vps-border);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .vtabs-nav li.active a {
        background: var(--vps-green-mist);
        border-color: var(--vps-green);
    }
    /* Shrink BETA so it fits inside the pill instead of crowding the edge */
    .vtabs-nav .beta-badge {
        margin-left: 4px;
        padding: 1px 5px;
        font-size: 9px;
    }

    /* The default tooltip is centered above the tile (left:50% + translateX),
       which overflows the viewport when a left-column tile's center sits
       within a tooltip half-width of the screen edge. Anchor odd-indexed
       tiles' tooltips to their left edge and even-indexed (right-column)
       tiles' tooltips to their right edge so the box expands inward. The
       arrow keeps pointing at the tile center. */
    .radio-grid .radiocontainer[data-tooltip]::after {
        max-width: calc(100vw - 32px);
    }
    .radio-grid .radiocontainer[data-tooltip]:nth-child(odd)::after {
        left: 0;
        right: auto;
        transform: none;
    }
    .radio-grid .radiocontainer[data-tooltip]:nth-child(even)::after {
        left: auto;
        right: 0;
        transform: none;
    }
}

@media (max-width: 767px) {
    #order-slider {
        padding: 24px 16px 60px;
        font-size: 15px;
    }

    .section-header {
        padding: 20px 20px 14px;
        gap: 14px;
    }
    .section-header h2 { font-size: 18px; }
    .section-header p { font-size: 13px; }
    .section-content { padding: 16px; }

    input[type="text"],
    select,
    textarea {
        max-width: 100%;
    }

    /* Hide optional information on mobile (SSH keys/login flags don't fit) */
    .optional-information {
        display: none;
    }

    /* Sidebar cycle picker — give it more room when sidebar stacks */
    .cycle-picker {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    #order-slider {
        padding: 16px 12px 48px;
    }

    .section-header {
        padding: 18px 16px 12px;
        gap: 12px;
    }
    .section-header__icon { width: 28px; height: 28px; font-size: 12px; }
    .section-header h2 { font-size: 17px; }
    .section-header p { display: none; }
    .section-content { padding: 16px; }

    .commit-block--config {
        padding: 14px 16px 16px;
    }

    .btn-complete {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Print Styles */
@media print {
    #order-slider {
        padding: 20px;
    }

    .prodconfigcol1,
    .prodconfigcol2 {
        width: 100%;
        float: none;
        padding: 0;
    }

    .commit-block--config,
    .btn-complete {
        display: none;
    }

    #floating {
        position: relative;
    }
}

/* ========================================
   Confirmation Modal Styles
   ======================================== */

/* Modal Container */
.confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.confirm-modal.active {
    display: block;
}

/* Modal Overlay */
.confirm-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

/* Modal Content */
.confirm-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 550px;
    width: 90%;
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

/* Modal Header */
.confirm-modal-header {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.confirm-modal-header i {
    font-size: 28px;
    color: #fff;
}

.confirm-modal-header h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    font-family: metropolissemi_bold, sans-serif;
}

/* Modal Body */
.confirm-modal-body {
    padding: 30px;
    background: #fff;
}

.confirm-modal-body p {
    margin: 0 0 20px 0;
    font-size: 17px;
    line-height: 1.6;
    color: #2c3e50;
    font-weight: 500;
}

/* Password Reminder Box */
.password-reminder {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe5a1 100%);
    border-left: 4px solid #ffc107;
    border-radius: 6px;
}

.password-reminder i {
    font-size: 22px;
    color: #f76d3c;
    flex-shrink: 0;
}

.password-reminder span {
    font-size: 14px;
    color: #856404;
    font-weight: 500;
    line-height: 1.5;
}

/* Modal Footer */
.confirm-modal-footer {
    padding: 20px 30px;
    background: #f8faf7;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid #e0e3df;
}

.confirm-modal-footer .btn {
    min-width: 150px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-cancel {
    background: #fff;
    color: #6c757d;
    border: 2px solid #e0e3df;
}

.btn-cancel:hover {
    background: #f8faf7;
    border-color: #6c757d;
    color: #555;
    transform: translateY(-1px);
}

.btn-confirm {
    background: linear-gradient(135deg, #67a552 0%, #6eb057 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(103, 165, 82, 0.3);
}

.btn-confirm:hover {
    box-shadow: 0 6px 20px rgba(103, 165, 82, 0.4);
    transform: translateY(-2px);
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Responsive Modal */
@media (max-width: 767px) {
    .confirm-modal-content {
        width: 95%;
        max-width: none;
    }

    .confirm-modal-header {
        padding: 20px;
    }

    .confirm-modal-header h3 {
        font-size: 18px;
    }

    .confirm-modal-body {
        padding: 25px 20px;
    }

    .confirm-modal-body p {
        font-size: 16px;
    }

    .password-reminder {
        flex-direction: column;
        text-align: center;
    }

    .confirm-modal-footer {
        padding: 15px 20px;
        flex-direction: column-reverse;
    }

    .confirm-modal-footer .btn {
        width: 100%;
        margin: 0;
    }
}

/* For Premium VPS */

.input-error {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

.input-success {
    border-color: #10b981 !important;
    background-color: #f0fdf4 !important;
}

/* Pulse Animation */

.pulse {
    animation: pulse-animation 0.3s ease;
}

@keyframes pulse-animation {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.addon-option.selected,
.custom-field-checkbox.selected {
    background: #f0f9ed !important;
    border-color: #67a552 !important;
}

.btn-copy-password.success {
    background: #28a745 !important;
}

#configproducterror ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

#configproducterror ul li {
    margin: 5px 0;
    list-style-type: disc;
}

/* Make clickable containers unselectable to prevent text selection */
.radiocontainer,
.radio-option,
.checkbox-option,
.addon-option,
.custom-field-checkbox {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

/* Allow text selection in input fields and textareas */
.radiocontainer input[type="text"],
.radiocontainer textarea,
.radio-option input[type="text"],
.radio-option textarea,
.checkbox-option input[type="text"],
.checkbox-option textarea,
.addon-option input[type="text"],
.addon-option textarea,
.custom-field-checkbox input[type="text"],
.custom-field-checkbox textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    cursor: text;
}

/* Visual feedback on hover */
.radiocontainer:hover,
.radio-option:hover,
.checkbox-option:hover,
.addon-option:hover,
.custom-field-checkbox:hover {
    transition: all 0.2s ease;
}

/* ========================================
   APP INSTALL SECTION (order form)
   Picker grid reuses .radiocontainer.os; this block
   just styles the info panel + per-app field rows.
   ======================================== */

.app-info-panel {
    margin: 16px 0 0;
    padding: 16px 20px;
    background: linear-gradient(90deg, #f0f9ed 0%, #ffffff 100%);
    border: 1px solid #e0e3df;
    border-left: 4px solid #67a552;
    border-radius: 6px;
    color: #374151;
    font-size: 14px;
    line-height: 1.55;
}

.app-info-panel__title {
    font-size: 15px;
    color: #2c3e50;
}

.app-info-panel__title strong {
    font-weight: 700;
}

.app-info-panel__title a {
    margin-left: 6px;
    color: #67a552;
    text-decoration: none;
    transition: color 0.2s ease;
}

.app-info-panel__title a:hover {
    color: #5a8f47;
    text-decoration: underline;
}

.app-info-panel__body {
    margin-top: 8px;
    color: #555;
    white-space: pre-wrap;
}

/* .app-field rows — rendered by the {php} block, hidden until the matching
   app is selected. appfieldvalidator.js flips display + disables inputs. */
.config-row.app-field {
    /* Inherits the .config-row look — no extra styling needed. */
}

/* Disabled OS radios (when an app is chosen): dim + show not-allowed. */
.radiocontainer.os input[type="radio"]:disabled + label {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(0.3);
}

/* ---- Hover tooltip for app/OS radio cards (data-tooltip attribute) ---- */
.radiocontainer[data-tooltip] {
    position: relative;
}

.radiocontainer[data-tooltip]::after,
.radiocontainer[data-tooltip]::before {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    transition: opacity 0.15s ease, visibility 0s 0.15s;
}

.radiocontainer[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 240px;
    padding: 8px 12px;
    background: rgba(31, 41, 55, 0.96);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 6px;
    text-align: center;
    white-space: normal;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.radiocontainer[data-tooltip]::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(31, 41, 55, 0.96);
}

.radiocontainer[data-tooltip]:hover::after,
.radiocontainer[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.15s ease;
}

/* Vertical tab nav inside the OS config-row when apps are available.
   The label column becomes a stack of clickable tabs (Operating System /
   Applications); the field-input column holds the matching .vtabs-pane. */
.config-row.vtabs-row {
    align-items: flex-start;
}

.vtabs-nav-wrap {
    /* Same width as .field-label so the right pane lines up with other rows */
}

.vtabs-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vtabs-nav li {
    margin: 0 0 4px 0;
}

/* Match field-label typography (12px uppercase tracked) while giving tabs a
   soft-pill affordance. Padding + matching negative margin shift the pill
   background outward without moving the text — labels still start at the
   same x as neighbouring .field-label rows. */
.vtabs-nav li a {
    display: block;
    padding: 6px 10px;
    margin: 0 -10px;
    color: var(--vps-text-muted);
    font-family: var(--vps-font-bold);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-decoration: none;
    background: transparent;
    border: 0;
    border-radius: var(--vps-radius-sm);
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.vtabs-nav li a:hover {
    color: var(--vps-green-dark);
    background: var(--vps-green-tint);
    text-decoration: none;
}

.vtabs-nav li.active a {
    color: var(--vps-green-dark);
    background: var(--vps-green-mist);
}

.vtabs-pane {
    /* Display toggled inline by JS — no rules needed here */
}

/* BETA pill shown next to the app section title / tab label */
.beta-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.4;
    vertical-align: middle;
    color: #ffffff;
    background: #f76d3c;
    border-radius: 4px;
    text-transform: uppercase;
}

/* ============================================================
   SSH key UI — saved-key picker + GitHub/GitLab import flow
   ============================================================ */

.ssh-key-select {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 8px;
    border: 1.5px solid var(--vps-border);
    border-radius: var(--vps-radius);
    font-family: var(--vps-font);
    font-size: 14px;
    color: var(--vps-slate);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2367a552' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 11px;
    padding-right: 36px;
    cursor: pointer;
}

.ssh-key-select:focus {
    outline: none;
    border-color: var(--vps-green);
    box-shadow: 0 0 0 3px rgba(103, 165, 82, 0.12);
}

.ssh-key-import {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 14px;
    background: #fff;
    color: var(--vps-green);
    border: 1.5px solid var(--vps-green);
    border-radius: var(--vps-radius);
    font-family: var(--vps-font-bold);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.ssh-key-import:hover:not(:disabled) {
    background: var(--vps-green);
    color: #fff;
}

.ssh-key-import i {
    font-size: 13px;
}

.ssh-key-import:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Import modal — overrides the orange confirm-modal-header */
.import-modal .confirm-modal-header {
    background: linear-gradient(135deg, var(--vps-green) 0%, var(--vps-green-light) 100%);
}

.import-modal-field {
    margin-bottom: 16px;
}

.import-modal-field:last-child {
    margin-bottom: 0;
}

.import-modal-label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--vps-font-bold);
    font-weight: 600;
    font-size: 13px;
    color: var(--vps-slate);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.import-modal-input,
.import-modal-select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--vps-border);
    border-radius: var(--vps-radius);
    font-family: var(--vps-font);
    font-size: 14px;
    color: var(--vps-slate);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.import-modal-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2367a552' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 11px;
    padding-right: 36px;
    cursor: pointer;
}

.import-modal-input:focus,
.import-modal-select:focus {
    outline: none;
    border-color: var(--vps-green);
    box-shadow: 0 0 0 3px rgba(103, 165, 82, 0.12);
}

.import-modal-actions {
    text-align: center;
    margin-bottom: 16px;
}

.import-modal-fetch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--vps-green) 0%, var(--vps-green-light) 100%);
    color: #fff;
    border: none;
    border-radius: var(--vps-radius);
    font-family: var(--vps-font-bold);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    box-shadow: 0 4px 12px rgba(103, 165, 82, 0.28);
}

.import-modal-fetch:hover:not(:disabled) {
    box-shadow: 0 6px 18px rgba(103, 165, 82, 0.36);
    transform: translateY(-1px);
}

.import-modal-fetch:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.import-modal-fetch i {
    font-size: 13px;
}

/* Result list — items injected by the fetch handler */
.import-modal-result {
    padding: 12px 14px;
    margin-bottom: 8px;
    background: var(--vps-green-surface);
    border: 1.5px solid var(--vps-border);
    border-radius: var(--vps-radius);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.import-modal-result:hover {
    border-color: var(--vps-green);
    background: var(--vps-green-tint);
}

.import-modal-result__type {
    font-family: var(--vps-font-bold);
    font-weight: 600;
    font-size: 13px;
    color: var(--vps-slate);
    margin-bottom: 4px;
}

.import-modal-result__fp {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    color: var(--vps-text-muted);
    word-break: break-all;
}

.import-modal-message {
    text-align: center;
    padding: 16px;
    font-size: 14px;
    color: var(--vps-text-muted);
}

.import-modal-message--error {
    color: var(--vps-danger);
}
