/* Dedicated Config placeholder (keeps same structure as Gameservers) */

:root {
    --primary-bg: #0a0e13;
    --secondary-bg: #0f1419;
    --card-bg: #161d25;
    --accent-green: #00d98a;
    --accent-green-dark: #00b872;

    --text-primary: #e4e8ed;
    --text-secondary: #8a98a8;

    --border-color: #1f2830;
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(180deg, var(--primary-bg) 0%, #080c11 100%);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding-top: 80px;
}

.page {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 3rem 0;
}

.kicker {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0.4rem 0 0.5rem;
}

.subtitle {
    color: var(--text-secondary);
    line-height: 1.7;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.topbar {
    padding: 2.5rem 0 1.5rem;
}

.topbar-card {
    padding: 1.5rem;
}

.topbar-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.card-head {
    padding: 1.5rem;
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.actions {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: #07110c;
    border-color: rgba(0, 217, 138, 0.35);
}

.btn.primary:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border-color: rgba(255, 255, 255, 0.08);
    cursor: not-allowed;
}

.btn.ghost {
    background: transparent;
}

.btn.full-width {
    width: 100%;
}

/* Config Layout */
.config-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
    align-items: start;
}

.config-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.config-sidebar {
    position: relative;
}

.sticky {
    position: sticky;
    top: 100px;
}

/* Server Summary Card */
.server-summary-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.server-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.server-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 217, 138, 0.12);
    border: 1px solid rgba(0, 217, 138, 0.25);
    border-radius: 12px;
    font-size: 2rem;
}

.server-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.server-category {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0.25rem 0 0 0;
    font-weight: 500;
}

.summary-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.summary-spec {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.spec-icon-box {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-icon-box.cpu {
    background: rgba(103, 126, 234, 0.12);
    border-color: rgba(103, 126, 234, 0.2);
}

.spec-icon-box.ram {
    background: rgba(240, 147, 251, 0.12);
    border-color: rgba(240, 147, 251, 0.2);
}

.spec-icon-box.storage {
    background: rgba(79, 172, 254, 0.12);
    border-color: rgba(79, 172, 254, 0.2);
}

.spec-icon-box.network {
    background: rgba(67, 233, 123, 0.12);
    border-color: rgba(67, 233, 123, 0.2);
}

.spec-icon-box.location {
    background: rgba(250, 112, 154, 0.12);
    border-color: rgba(250, 112, 154, 0.2);
}

.spec-svg {
    width: 22px;
    height: 22px;
    stroke: rgba(255, 255, 255, 0.7);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.spec-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .summary-specs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .server-header h2 {
        font-size: 1.5rem;
    }
}
.summary-spec {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-spec .spec-icon {
    font-size: 1.25rem;
}

.summary-spec .spec-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.summary-spec .spec-value {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.summary-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: rgba(0, 217, 138, 0.1);
    color: var(--accent-green);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Config Options Placeholder */
.config-options-card {
    padding: 1.5rem;
}

.config-placeholder {
    text-align: center;
    padding: 3rem 1.5rem;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.config-placeholder p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.placeholder-sub {
    font-size: 0.875rem !important;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* Price Card */
.price-card {
    padding: 1.5rem;
}

.price-card .card-head {
    padding: 0;
    margin-bottom: 1.25rem;
}

.price-card .card-head h2 {
    font-size: 1.1rem;
    font-weight: 700;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.price-line span:first-child {
    color: var(--text-secondary);
}

.price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-total span:first-child {
    font-weight: 600;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-green);
}

.availability-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
}

.availability-badge.in-stock {
    background: rgba(0, 217, 138, 0.15);
    color: var(--accent-green);
}

.availability-badge.out-of-stock {
    background: rgba(255, 100, 100, 0.15);
    color: #ff6464;
}

.delivery-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.price-actions {
    padding-top: 1rem;
}

.coming-soon-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Login Button Style */
.btn.login {
    background: linear-gradient(135deg, #1a5a3d 0%, #0d3d28 100%);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.btn.login:hover {
    background: linear-gradient(135deg, #1f6b48 0%, #104830 100%);
}

/* Responsive */
@media (max-width: 900px) {
    .topbar-inner {
        flex-direction: column;
    }
    
    .config-layout {
        grid-template-columns: 1fr;
    }
    
    .sticky {
        position: relative;
        top: 0;
    }
    
    .summary-specs {
        grid-template-columns: 1fr;
    }
}
