/* ============================================================
   Deploy a New VPS — light client-area theme
   Card layout: name → big price → CTA → check-list specs
   Palette stays aligned with the rest of the client area
   (#67a552 green, #f76d3c orange, slate text on white).
   ============================================================ */

#deploy-page {
    padding: 4px 0 40px;
    font-family: metropolisregular, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1f2937;
}

#deploy-page * { box-sizing: border-box; }

/* ============================================================
   Category tabs — mini-card switcher
   ============================================================ */

.deploy-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 32px;
    max-width: 920px;
}

.deploy-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #ffffff;
    color: inherit !important;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.deploy-tab:hover {
    border-color: #c9d4c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.deploy-tab.is-active {
    border-color: #67a552;
    box-shadow: 0 6px 22px rgba(103, 165, 82, 0.18);
    cursor: default;
}

.deploy-tab.is-active:hover {
    transform: none;
}

.deploy-tab__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(103, 165, 82, 0.10);
    color: #67a552;
    font-size: 22px;
    transition: background 0.2s ease, color 0.2s ease;
}

.deploy-tab.is-active .deploy-tab__icon {
    background: linear-gradient(135deg, #67a552 0%, #5a8f47 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(103, 165, 82, 0.30);
}

.deploy-tab__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

.deploy-tab__name {
    font-family: metropolissemi_bold, metropolisregular, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: -0.01em;
}

.deploy-tab__meta {
    margin-top: 3px;
    font-size: 12.5px;
    color: #6b7280;
}

/* ============================================================
   Card grid
   ============================================================ */

.deploy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* ============================================================
   Card
   ============================================================ */

.deploy-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.deploy-card:hover {
    transform: translateY(-3px);
    border-color: #c9d4c4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(0, 0, 0, 0.08);
}

.deploy-card.is-featured {
    border-color: #67a552;
    border-left-width: 4px;
    padding-left: 21px; /* 24 - 3 to keep content position vs the thicker left border */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04),
                0 8px 28px rgba(103, 165, 82, 0.18);
}

.deploy-card.is-featured:hover {
    border-color: #5a8f47;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06),
                0 16px 40px rgba(103, 165, 82, 0.25);
}

.deploy-card.is-disabled {
    opacity: 0.65;
}

.deploy-card.is-disabled:hover {
    transform: none;
    border-color: #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* ---- Most-popular pill ---- */

.deploy-card__pill {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    background: #67a552;
    color: #ffffff;
    font-family: metropolissemi_bold, metropolisregular, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(103, 165, 82, 0.28);
}

/* ---- Plan name ---- */

.deploy-card__name {
    margin: 0 0 18px;
    padding: 0 100px 14px 0; /* room for the pill on the right */
    font-family: metropolissemi_bold, metropolisregular, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    letter-spacing: -0.01em;
    border-bottom: 1px solid #e5e7eb;
}

/* ---- Price ---- */

.deploy-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 18px;
    color: #1f2937;
}

.deploy-card__price-currency {
    font-family: metropolissemi_bold, metropolisregular, sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #6b7280;
    line-height: 1;
}

.deploy-card__price-amount {
    font-family: metropolissemi_bold, metropolisregular, sans-serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #1f2937;
}

.deploy-card.is-featured .deploy-card__price-amount {
    color: #67a552;
}

.deploy-card__price-period {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin-left: 2px;
}

/* ---- CTA ---- */

.deploy-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 18px;
    margin-bottom: 22px;
    background: #67a552;
    color: #ffffff !important;
    border: 1.5px solid #67a552;
    border-radius: 8px;
    font-family: metropolissemi_bold, metropolisregular, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(103, 165, 82, 0.30);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.deploy-card__cta i {
    font-size: 14px;
    transition: transform 0.25s ease;
}

.deploy-card__cta:hover {
    background: #5a8f47;
    border-color: #5a8f47;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(103, 165, 82, 0.40);
    transform: translateY(-1px);
}

.deploy-card__cta:hover i {
    transform: translateY(-2px) rotate(-12deg);
}

.deploy-card__cta.is-disabled {
    background: #f3f4f6;
    color: #9ca3af !important;
    border-color: #e5e7eb;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* ---- Specs (check-list) ---- */

.deploy-card__specs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.deploy-card__specs li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    color: #374151;
    font-size: 15px;
    line-height: 1.5;
}

.deploy-card__specs li i {
    flex-shrink: 0;
    width: 16px;
    margin-top: 5px;
    color: #67a552;
    font-size: 13px;
}

.deploy-card__specs li span {
    flex: 1;
}

/* ---- Stock warning ---- */

.deploy-card__stock {
    margin: 14px 0 0;
    padding: 8px 12px;
    background: rgba(247, 109, 60, 0.08);
    border: 1px solid rgba(247, 109, 60, 0.25);
    border-radius: 6px;
    color: #c2410c;
    font-size: 12px;
    font-family: metropolissemi_bold, metropolisregular, sans-serif;
    font-weight: 600;
    text-align: center;
}

.deploy-card__stock i {
    margin-right: 4px;
    font-size: 11px;
}

/* ============================================================
   Empty state
   ============================================================ */

.deploy-empty {
    text-align: center;
    padding: 56px 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.05);
}

.deploy-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 32px;
}

.deploy-empty h2 {
    margin: 0 0 6px;
    font-family: metropolissemi_bold, metropolisregular, sans-serif;
    font-size: 20px;
    color: #1f2937;
}

.deploy-empty p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 991px) {
    .deploy-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 16px;
    }

    .deploy-card {
        padding: 24px 20px 20px;
    }

    .deploy-card__price-amount {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .deploy-tabs {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .deploy-grid {
        grid-template-columns: 1fr;
    }

    .deploy-card__name {
        padding-right: 0;
    }

    .deploy-card__pill {
        position: static;
        margin-bottom: 12px;
    }

    .deploy-card__price-amount {
        font-size: 36px;
    }
}
