/* Dedicated Server Builder */

.ds-builder {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    padding: 56px 0;
    border-bottom: 1px solid #e2e8f0;
}

.ds-builder--standalone {
    padding: 48px 0 64px;
}

.ds-builder-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

.ds-builder-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}

.ds-builder-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(26, 122, 66, 0.1);
    color: #1a7a42;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ds-builder-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 12px;
}

.ds-builder-header p {
    font-size: 15px;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

.ds-builder-full-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 700;
    color: #1a7a42;
    text-decoration: none;
}

.ds-builder-full-link:hover {
    text-decoration: underline;
}

.ds-builder-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.ds-builder-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.ds-builder-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 8px;
}

.ds-builder-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    background: #fff;
}

.ds-builder-group--row {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ds-builder-summary {
    background: #1a2332;
    border-radius: 16px;
    padding: 28px 24px;
    color: #fff;
    position: sticky;
    top: 100px;
}

.ds-builder-summary h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 16px;
    color: #86efac;
}

.ds-builder-spec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.ds-builder-spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ds-builder-spec-list li span {
    color: rgba(255, 255, 255, 0.65);
}

.ds-builder-spec-list li strong {
    text-align: right;
    font-weight: 700;
}

.ds-builder-price {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 12px;
}

.ds-builder-price-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6px;
}

.ds-builder-price-value {
    font-size: 32px;
    font-weight: 800;
    color: #86efac;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.ds-builder-price-value small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

.ds-builder-price-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 0 0 18px;
}

.ds-builder-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ds-builder-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.ds-builder-btn--primary {
    background: #1a7a42;
    color: #fff;
}

.ds-builder-btn--primary:hover {
    background: #156f3d;
}

.ds-builder-btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ds-builder-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.ds-builder-quote-panel {
    margin-top: 28px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.ds-builder-quote-panel h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px;
}

.ds-builder-quote-panel > p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
}

.ds-builder-quote-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
}

.ds-builder-quote-form .custom-input {
    width: 100%;
    margin-bottom: 14px;
}

.ds-builder-quote-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 992px) {
    .ds-builder-layout {
        grid-template-columns: 1fr;
    }

    .ds-builder-summary {
        position: static;
    }
}

.hosting-page--builder .hp-btn-secondary,
.hosting-page--dedicated .hp-hero-actions .hp-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    background: transparent;
}

.hosting-page--builder .hp-btn-secondary:hover,
.hosting-page--dedicated .hp-hero-actions .hp-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.ds-builder-cta-bar {
    background: #f1f5f9;
    padding: 28px 0;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.ds-builder-cta-bar p {
    margin: 0 0 8px;
    color: #475569;
    font-size: 15px;
}

@media (max-width: 768px) {
    .ds-builder-form {
        grid-template-columns: 1fr;
    }

    .ds-builder-group--row {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .ds-builder-quote-row {
        grid-template-columns: 1fr;
    }

    .ds-builder-header h2 {
        font-size: 22px;
    }
}
