/**
 * Parox Cloud - Custom Minecraft Plan Configurator Styles
 */

.pc-custom-configurator {
    margin: 32px 0 40px;
    padding: 32px;
    border: 1px solid #292930;
    border-radius: 24px;
    background: radial-gradient(circle at 10% 20%, rgba(137, 87, 255, 0.06) 0%, transparent 40%),
                linear-gradient(180deg, #111114 0%, #0A0A0D 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.pc-custom-configurator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #8957FF, #A782FF, #27C993);
    opacity: 0.8;
}

.pc-custom-configurator__header {
    margin-bottom: 28px;
    text-align: center;
}

.pc-custom-configurator__badges {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.pc-custom-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pc-custom-pill--accent {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(52, 211, 153, 0.35);
    color: #6ee7b7;
}

.pc-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pcPulse 2s infinite ease-in-out;
}

@keyframes pcPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.pc-custom-configurator__title {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}

.pc-gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pc-custom-configurator__subtitle {
    max-width: 680px;
    margin: 0 auto 24px;
    color: var(--pc-muted, #958ca8);
    font-size: 14px;
    line-height: 1.6;
}

/* Tier Selector */
.pc-custom-tiers {
    display: inline-flex;
    gap: 12px;
    padding: 6px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: 6px;
}

.pc-custom-tier-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.pc-custom-tier-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.pc-custom-tier-btn.is-active {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(167, 139, 250, 0.5);
    color: #fff;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
}

.pc-custom-tier-btn[data-tier="budget"].is-active,
.pc-custom-tier-btn[data-tier="intel"].is-active {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(52, 211, 153, 0.5);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.pc-custom-tier-btn[data-tier="pro"].is-active,
.pc-custom-tier-btn[data-tier="amd"].is-active {
    background: rgba(249, 115, 22, 0.18);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.2);
}

.pc-preset-chip {
    padding: 7px 13px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #cbd5e1;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.pc-preset-chip strong {
    color: #fff;
    font-weight: 800;
}

.pc-preset-chip span {
    color: var(--pc-muted, #958ca8);
    font-size: 11px;
}

.pc-preset-chip:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    transform: translateY(-1px);
}

.pc-preset-chip.is-selected {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(52, 211, 153, 0.6);
    color: #fff;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.3);
}

.pc-custom-configurator[data-platform="amd"] .pc-preset-chip.is-selected,
.pc-custom-configurator[data-platform="pro"] .pc-preset-chip.is-selected {
    background: rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.3);
}

.pc-tier-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pc-custom-tier-btn.is-active .pc-tier-radio {
    border-color: #a78bfa;
    background: #7c3aed;
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.6);
}

.pc-custom-tier-btn[data-tier="budget"].is-active .pc-tier-radio {
    border-color: #34d399;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.pc-tier-info strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
}

.pc-tier-info small {
    display: block;
    font-size: 11px;
    color: var(--pc-muted, #958ca8);
    margin-top: 1px;
}

/* Body Layout: Sliders on left, Price summary on right */
.pc-custom-configurator__body {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 960px) {
    .pc-custom-configurator__body {
        grid-template-columns: 1fr;
    }
}

/* Sliders */
.pc-custom-sliders {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pc-slider-group {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s ease;
}

.pc-slider-group:hover {
    border-color: rgba(167, 139, 250, 0.3);
}

.pc-slider-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 12px;
    flex-wrap: wrap;
}

.pc-slider-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font-weight: 800;
    font-size: 14px;
}

.pc-slider-label svg {
    color: #a78bfa;
}

.pc-slider-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.pc-number-box {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 10, 26, 0.85);
    border: 1px solid rgba(167, 139, 250, 0.35);
    border-radius: 10px;
    padding: 3px 10px;
    transition: all 0.2s ease;
}

.pc-number-box:focus-within {
    border-color: #34d399;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.35);
    background: rgba(18, 12, 32, 0.95);
}

.pc-number-input {
    width: 72px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-align: right;
    font-family: inherit;
    -moz-appearance: textfield;
}

.pc-number-input::-webkit-outer-spin-button,
.pc-number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pc-unit-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--pc-muted, #958ca8);
    margin-left: 5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pc-slider-val {
    font-size: 14px;
    font-weight: 900;
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.12);
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(52, 211, 153, 0.3);
    white-space: nowrap;
}

/* Range Input */
.pc-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #1e172f;
    outline: none;
    cursor: pointer;
    margin: 8px 0 16px;
    transition: background 0.2s ease;
}

.pc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #10b981);
    cursor: pointer;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.7);
    border: 2px solid #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pc-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.9);
}

.pc-range-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #10b981);
    cursor: pointer;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.7);
    border: 2px solid #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Quick Presets */
.pc-quick-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pc-quick-presets button {
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--pc-muted, #958ca8);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pc-quick-presets button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.pc-quick-presets button.is-selected {
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border-color: rgba(167, 139, 250, 0.6);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
}

.pc-quick-presets button.pc-preset-highlight {
    border-color: rgba(52, 211, 153, 0.45);
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.08);
}

.pc-quick-presets button.pc-preset-highlight:hover {
    border-color: rgba(52, 211, 153, 0.75);
    background: rgba(16, 185, 129, 0.2);
    color: #fff;
}

/* Summary Card */
.pc-custom-summary__card {
    padding: 26px;
    border-radius: 20px;
    background: rgba(12, 8, 22, 0.85);
    border: 1px solid rgba(124, 58, 237, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 24px;
}

.pc-custom-summary__eyebrow {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pc-muted, #958ca8);
    margin-bottom: 6px;
}

.pc-custom-summary__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.pc-price-symbol {
    font-size: 24px;
    font-weight: 800;
    color: #a78bfa;
}

.pc-price-number {
    font-size: 44px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.pc-price-cycle {
    font-size: 13px;
    color: var(--pc-muted, #958ca8);
    font-weight: 600;
    margin-left: 2px;
}

.pc-custom-summary__pxc {
    font-size: 12px;
    color: #ddd6fe;
    font-weight: 700;
    margin-bottom: 20px;
}

.pc-custom-pricing-mode {
    margin: -10px 0 18px;
    color: var(--pc-muted, #958ca8);
    font-size: 12px;
    line-height: 1.55;
}

/* Breakdown */
.pc-custom-breakdown {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
    font-size: 12px;
}

.pc-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    color: #cbd5e1;
}

.pc-breakdown-row strong {
    color: #fff;
    font-weight: 800;
}

.pc-breakdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 0;
}

.pc-breakdown-note {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
}

/* Features */
.pc-custom-features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pc-custom-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #cbd5e1;
}

/* Order Button */
.pc-btn--deploy-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 1px solid rgba(52, 211, 153, 0.6);
    color: #ffffff !important;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 14px;
}

.pc-btn--deploy-custom:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
    color: #ffffff !important;
}

@media (max-width: 600px) {
    .pc-custom-configurator {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .pc-custom-tiers {
        flex-direction: column;
        width: 100%;
    }

    .pc-custom-tier-btn {
        width: 100%;
    }

    .pc-price-number {
        font-size: 36px;
    }
}
