/* Custom css of this theme, loaded after the Signal styles on every page.
   Signal is styled through these variables: override one here and the
   whole panel follows. Own selectors work too. */

:root {
    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    --on-accent: #FFFFFF;
    --bg: #F8FAFC;
    --surface: #FFFFFF;
    --raised: #FFFFFF;
    --border: #E2E8F0;
    --text: #0F172A;
    --muted: #64748B;
    --radius: 12px;
    --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

/* Dark mode theme variables: modern deep obsidian & slate */
:root[data-theme="dark"] {
    --accent: #3B82F6;
    --accent-hover: #2563EB;
    --on-accent: #FFFFFF;
    --bg: #0B0F19;
    --surface: #111827;
    --raised: #1A2234;
    --border: rgba(255, 255, 255, 0.08);
    --text: #F8FAFC;
    --muted: #94A3B8;
    --radius: 12px;
}

/* ===================================================
   GLOBAL POLISH & MODERN ACCENTS
   =================================================== */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* Modern inputs and buttons */
.input {
    border-radius: 10px !important;
    border: 1px solid var(--border) !important;
    background: var(--raised) !important;
    color: var(--text) !important;
    transition: all 0.2s ease !important;
}
.input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
    outline: none !important;
}

/* ===================================================
   MODERN SHOP HERO & BANNER
   =================================================== */
.shop-hero-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.95) 100%),
                radial-gradient(circle at top right, rgba(59, 130, 246, 0.2), transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 30px 34px;
    margin-bottom: 28px;
    backdrop-filter: blur(14px);
    overflow: hidden;
    box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.5);
}
.shop-hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6 0%, #06B6D4 50%, #8B5CF6 100%);
}
.shop-hero-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.shop-hero-icon {
    color: #38BDF8;
    flex-shrink: 0;
}
.shop-hero-subtitle {
    font-size: 14px;
    color: #94A3B8;
    max-width: 680px;
    margin: 0 0 20px 0;
    line-height: 1.6;
}
.shop-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.shop-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #CBD5E1;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
}
.shop-badge-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    color: #FFFFFF;
    transform: translateY(-1px);
}
.shop-badge-pill svg {
    color: #38BDF8;
}

/* Category Filter Tabs */
.shop-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 4px;
}
.shop-tab-btn {
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #94A3B8;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.shop-tab-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}
.shop-tab-btn.is-active {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #FFFFFF;
    border-color: #3B82F6;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.shop-tab-count {
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 11px;
}

/* ===================================================
   PLAN GROUPS & FULL-WIDTH RESPONSIVE CARD GRID
   =================================================== */
.plan-group {
    margin-bottom: 44px;
}
.plan-group-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.plan-group-head h2 {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #F8FAFC;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.plan-group-head h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #3B82F6, #06B6D4);
    border-radius: 4px;
}
.plan-group-count {
    background: rgba(59, 130, 246, 0.15);
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

/* Responsive Grid across the entire screen */
.plan-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
}

/* Plan Card */
.plan-card {
    background: linear-gradient(180deg, rgba(24, 32, 51, 0.85) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 22px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}
.plan-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    transition: all 0.3s ease;
}
.plan-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(59, 130, 246, 0.45) !important;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.65), 0 0 25px rgba(59, 130, 246, 0.18) !important;
}
.plan-card:hover::before {
    background: linear-gradient(90deg, #3B82F6, #06B6D4);
}

/* Visual Server Header on Card */
.plan-visual-header {
    height: 72px;
    border-radius: 12px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(30, 41, 59, 0.85));
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.plan-visual-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 16px 16px;
    background-position: 0 0, 8px 8px;
    opacity: 0.7;
}
.plan-visual-overlay {
    position: absolute;
    bottom: 8px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

/* Hardware Badges */
.plan-hw-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}
.hw-ryzen {
    background: rgba(249, 115, 22, 0.15);
    color: #FB923C;
    border: 1px solid rgba(249, 115, 22, 0.3);
}
.hw-xeon {
    background: rgba(59, 130, 246, 0.15);
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.hw-cloud {
    background: rgba(168, 85, 247, 0.15);
    color: #C084FC;
    border: 1px solid rgba(168, 85, 247, 0.3);
}
.plan-location-badge {
    font-size: 11px;
    font-weight: 600;
    color: #CBD5E1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
}

/* Card Head */
.plan-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}
.plan-head h3 {
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.01em !important;
    margin: 0 0 4px 0 !important;
}
.plan-type {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #38BDF8 !important;
    background: rgba(56, 189, 248, 0.1) !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
}

/* Status Chips */
.chip {
    padding: 4px 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.chip-warning {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #FBBF24 !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}
.chip-warning::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F59E0B;
}

/* Plan Description */
.plan-desc {
    font-size: 13px !important;
    color: #94A3B8 !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Plan Specs List with Icons */
.plan-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}
.plan-specs {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
}
.plan-specs li {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 13px !important;
    color: #E2E8F0 !important;
    padding: 8px 12px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}
.plan-specs li:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    transform: translateX(2px) !important;
}
.plan-spec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.12);
    color: #60A5FA;
    flex-shrink: 0;
}
.plan-spec-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Bottom Buy Section */
.plan-buy {
    margin-top: auto !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}
.plan-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.plan-price {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.02em !important;
    line-height: 1 !important;
}
.plan-cycle {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #94A3B8 !important;
    margin-left: 4px !important;
}
.plan-note {
    font-size: 12px !important;
    color: #64748B !important;
}

/* Buttons */
.plan-buy .btn-secondary,
.plan-buy .btn-primary {
    width: 100% !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}
.plan-buy .btn-secondary {
    background: linear-gradient(135deg, #2563EB, #1D4ED8) !important;
    color: #FFFFFF !important;
    border: 1px solid #3B82F6 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
}
.plan-buy .btn-secondary:hover {
    background: linear-gradient(135deg, #3B82F6, #2563EB) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5) !important;
    transform: translateY(-2px) !important;
}
.plan-buy-soldout {
    width: 100%;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ===================================================
   MODERN PRODUCT ORDER PAGE (/order/{id})
   =================================================== */
.order-shell {
    min-height: 100vh;
    background: radial-gradient(ellipse at top center, rgba(30, 41, 59, 0.4) 0%, #0B0F19 70%) !important;
}
.order-top {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.order-grid {
    display: grid !important;
    grid-template-columns: 1fr 380px !important;
    gap: 32px !important;
    align-items: start !important;
    max-width: 1240px !important;
    margin: 32px auto !important;
    padding: 0 20px !important;
}
@media (max-width: 960px) {
    .order-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Back Link & Headline */
.order-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
    text-decoration: none;
    margin-bottom: 20px;
    padding: 7px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s;
}
.order-back-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(-2px);
}
/* ===================================================
   ORDER PAGE - PRODUCT SHOWCASE & MACHINE HERO
   =================================================== */
.order-product-showcase {
    background: linear-gradient(135deg, rgba(26, 34, 53, 0.9) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    margin-bottom: 28px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(14px) !important;
}
.order-product-showcase::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6, #06B6D4, #8B5CF6);
    z-index: 5;
}

.order-product-hero {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 32px 36px !important;
    position: relative !important;
    background: 
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.3) 0%, transparent 65%),
        url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat !important;
    overflow: hidden !important;
}
.order-product-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 15, 25, 0.96) 0%, rgba(15, 23, 42, 0.88) 55%, rgba(15, 23, 42, 0.65) 100%);
    z-index: 1;
}
.order-product-hero-content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 650px !important;
}
.order-product-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
}
.order-product-tag-category {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #38BDF8 !important;
    background: rgba(56, 189, 248, 0.15) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
}
.order-product-tag-status {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #34D399 !important;
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}
.order-product-tag-location {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #CBD5E1 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
}
.order-product-title {
    font-size: 32px !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    color: #FFFFFF !important;
    margin: 0 0 8px 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}
.order-product-desc {
    font-size: 14px !important;
    color: #94A3B8 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* 3D Server Rack Illustration on the right */
.order-product-hero-visual {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
@media (max-width: 800px) {
    .order-product-hero-visual {
        display: none !important;
    }
}
.server-rack-illustration {
    width: 140px;
    padding: 12px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.2);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.server-rack-unit {
    height: 22px;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 6px;
}
.server-rack-unit.is-active {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(37, 99, 235, 0.15);
}
.server-led {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}
.server-led.green {
    background: #10B981;
    box-shadow: 0 0 6px #10B981;
}
.server-led.blue {
    background: #3B82F6;
    box-shadow: 0 0 6px #3B82F6;
}
.server-led.pulse-blue {
    background: #38BDF8;
    box-shadow: 0 0 8px #38BDF8;
    animation: pulse 1.5s infinite;
}
.server-drive-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-left: 6px;
}

/* Machine Specs Quick-Grid */
.order-machine-specs-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
    gap: 12px !important;
    padding: 20px 24px !important;
    background: rgba(11, 15, 25, 0.6) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.order-spec-badge {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    transition: all 0.2s !important;
}
.order-spec-badge:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(59, 130, 246, 0.25) !important;
    transform: translateY(-2px) !important;
}
.order-spec-badge-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60A5FA !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.order-spec-badge-info {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}
.order-spec-badge-label {
    font-size: 11px !important;
    color: #94A3B8 !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
}
.order-spec-badge-val {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #F8FAFC !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Section Cards */
.order-section {
    background: linear-gradient(180deg, rgba(22, 28, 45, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2) !important;
}
.order-section h2 {
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    color: #F8FAFC !important;
    margin: 0 0 16px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Order Options Radio Grid */
.order-options {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 14px !important;
}
.order-option {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 2px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 16px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}
.order-option:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}
.order-option:has(input:checked),
.order-option.is-selected {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: #3B82F6 !important;
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.25) !important;
}
.order-option input[type="radio"] {
    position: absolute;
    top: 14px;
    right: 14px;
    accent-color: #3B82F6;
    margin: 0;
}
.order-option-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
}
.order-option-sub {
    font-size: 13px !important;
    color: #60A5FA !important;
    font-weight: 600 !important;
}

/* Order Summary Sticky Card */
.order-summary-card {
    position: sticky !important;
    top: 24px !important;
    background: linear-gradient(180deg, rgba(26, 34, 53, 0.9) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 26px !important;
    backdrop-filter: blur(16px) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4) !important;
}
.order-summary-card h2 {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin: 0 0 18px 0 !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.order-specs {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.order-specs li {
    font-size: 13px !important;
    color: #CBD5E1 !important;
    display: flex !important;
    justify-content: space-between !important;
    padding: 6px 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 8px !important;
}
.order-total-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    padding: 16px 0 !important;
    margin: 16px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.order-total-row span {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #94A3B8 !important;
}
.order-total-row strong {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.02em !important;
}
.order-buy {
    width: 100% !important;
    padding: 14px 20px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #2563EB, #1D4ED8) !important;
    color: #FFFFFF !important;
    border: 1px solid #3B82F6 !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    margin-top: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}
.order-buy:hover {
    background: linear-gradient(135deg, #3B82F6, #2563EB) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* Trust Guarantee Badges */
.order-trust-box {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.order-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94A3B8;
}
.order-trust-item svg {
    color: #10B981;
    flex-shrink: 0;
}

/* ===================================================
   MODERN DASHBOARD HERO, SYSTEM SLA & STATS
   =================================================== */
.dash-welcome-hero {
    background: linear-gradient(135deg, rgba(26, 34, 53, 0.9) 0%, rgba(15, 23, 42, 0.98) 100%),
                radial-gradient(circle at top right, rgba(59, 130, 246, 0.22) 0%, transparent 60%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 32px 36px !important;
    margin-bottom: 28px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 32px !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(14px) !important;
}
.dash-welcome-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6 0%, #06B6D4 50%, #8B5CF6 100%);
    z-index: 5;
}
@media (max-width: 900px) {
    .dash-welcome-hero {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 24px !important;
    }
}
.dash-welcome-content {
    max-width: 640px !important;
}
.dash-welcome-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #34D399 !important;
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    margin-bottom: 12px !important;
}
.dash-welcome-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: #FFFFFF !important;
    margin: 0 0 8px 0 !important;
}
.dash-welcome-sub {
    font-size: 14px !important;
    color: #94A3B8 !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.5 !important;
}
.dash-quick-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}
.dash-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 16px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.dash-action-btn.primary {
    background: linear-gradient(135deg, #2563EB, #1D4ED8) !important;
    color: #FFFFFF !important;
    border: 1px solid #3B82F6 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}
.dash-action-btn.primary:hover {
    background: linear-gradient(135deg, #3B82F6, #2563EB) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5) !important;
    transform: translateY(-2px) !important;
}
.dash-action-btn.secondary {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #CBD5E1 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.dash-action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* System Status Side Widget */
.dash-welcome-system-status {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    min-width: 220px !important;
}
.sys-status-card {
    background: rgba(15, 23, 42, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}
.sys-status-head {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.sys-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
}
.sys-dot.online {
    background: #10B981 !important;
    box-shadow: 0 0 6px #10B981 !important;
}
.sys-title {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #94A3B8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}
.sys-val {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #F8FAFC !important;
}
.sys-sub {
    font-size: 11px !important;
    color: #64748B !important;
}

/* Modern Stats Grid */
.stats {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 18px !important;
    margin-bottom: 28px !important;
}
.card.stat {
    background: linear-gradient(180deg, rgba(26, 34, 53, 0.85) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    transition: all 0.25s ease !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}
.card.stat:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(59, 130, 246, 0.35) !important;
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.12) !important;
}
.stat-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #94A3B8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.stat-value {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.02em !important;
}
.stat-sub {
    font-size: 12px !important;
    color: #64748B !important;
    margin-top: 4px !important;
}

/* Feed & Side Cards */
.dash-grid {
    display: grid !important;
    grid-template-columns: 1fr 360px !important;
    gap: 24px !important;
}
@media (max-width: 960px) {
    .dash-grid {
        grid-template-columns: 1fr !important;
    }
}
.panel-card {
    background: linear-gradient(180deg, rgba(24, 32, 51, 0.85) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 24px !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3) !important;
}
.card-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.card-head h2 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
}
.feed-item {
    display: flex !important;
    gap: 14px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    margin-bottom: 8px !important;
    transition: all 0.2s !important;
}
.feed-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
    transform: translateX(2px) !important;
}
.feed-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60A5FA !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

/* ===================================================
   MODERN SERVER MANAGEMENT PANEL (/services/kvm/*)
   =================================================== */
.svc-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 24px !important;
    margin-bottom: 24px !important;
    flex-wrap: wrap !important;
}
.svc-head-main {
    flex: 1 1 400px !important;
}
.svc-title {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 6px 0 !important;
}
.svc-title h1 {
    font-size: 28px !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    color: #FFFFFF !important;
    margin: 0 !important;
}
.svc-spec {
    font-size: 13px !important;
    color: #94A3B8 !important;
    margin-top: 6px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: var(--font) !important;
}
.svc-spec span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3px 10px;
    border-radius: 6px;
}

/* Power Buttons with Color Coding & Glow */
.svc-head-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
#svc-power {
    display: inline-flex !important;
    gap: 6px !important;
    background: rgba(15, 23, 42, 0.7) !important;
    padding: 4px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
#svc-power .btn {
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 7px 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
}
#svc-power-start:not(:disabled) {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #34D399 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}
#svc-power-start:not(:disabled):hover {
    background: #10B981 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
    transform: translateY(-1px) !important;
}
#svc-power-restart:not(:disabled) {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38BDF8 !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
}
#svc-power-restart:not(:disabled):hover {
    background: #0284C7 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4) !important;
    transform: translateY(-1px) !important;
}
#svc-power-stop:not(:disabled) {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #F87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}
#svc-power-stop:not(:disabled):hover {
    background: #DC2626 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4) !important;
    transform: translateY(-1px) !important;
}
#svc-more-toggle {
    border-radius: 10px !important;
    padding: 9px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Modern Telemetry Strip */
.svc-strip {
    background: linear-gradient(135deg, rgba(26, 34, 53, 0.9) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 22px 28px !important;
    margin-bottom: 24px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(14px) !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
    gap: 20px !important;
}
.svc-strip::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6 0%, #06B6D4 50%, #8B5CF6 100%);
    z-index: 5;
}
.svc-cell {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    position: relative !important;
    padding: 4px 8px !important;
}
.svc-cell .k {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #94A3B8 !important;
}
.svc-cell .v {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.01em !important;
}
.svc-cell .s {
    font-size: 12px !important;
    color: #64748B !important;
}
.svc-meter {
    height: 6px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    margin-top: 6px !important;
}
.svc-meter i {
    display: block !important;
    height: 100% !important;
    background: linear-gradient(90deg, #3B82F6, #06B6D4) !important;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5) !important;
    border-radius: 999px !important;
}

/* Modern Tabs Bar */
.svc-tabbar {
    display: flex !important;
    gap: 6px !important;
    margin-bottom: 20px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.svc-tabbar .tab {
    padding: 9px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    color: #94A3B8 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.svc-tabbar .tab:hover {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.04) !important;
}
.svc-tabbar .tab.is-active {
    color: #38BDF8 !important;
    background: rgba(56, 189, 248, 0.12) !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.15) !important;
}
.svc-tabbar .tab .count {
    background: rgba(59, 130, 246, 0.25) !important;
    color: #60A5FA !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
}

/* Modern Content Sheet & Cards */
.svc-sheet {
    background: linear-gradient(180deg, rgba(24, 32, 51, 0.85) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 28px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(12px) !important;
}
.svc-sheet section.setting {
    padding: 24px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.svc-sheet section.setting:first-child {
    padding-top: 0 !important;
}
.svc-sheet section.setting:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.setting-label h2 {
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    color: #FFFFFF !important;
    margin: 0 0 6px 0 !important;
}
.setting-label p {
    font-size: 13px !important;
    color: #94A3B8 !important;
    line-height: 1.5 !important;
}

/* Terminal SSH Box */
.svc-console {
    background: #070A12 !important;
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 14px 0 !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6) !important;
}
.svc-console code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace !important;
    font-size: 13px !important;
    color: #38BDF8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.svc-console code .p {
    color: #34D399 !important;
    font-weight: 700 !important;
}
.svc-copy {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: #CBD5E1 !important;
    padding: 6px 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.svc-copy:hover {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #60A5FA !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
}

/* Key-Value Info Blocks */
.svc-kv {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
}
.svc-kv > div {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    transition: all 0.2s ease !important;
}
.svc-kv > div:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
    transform: translateY(-1px) !important;
}
.svc-kv .k {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #94A3B8 !important;
    margin-bottom: 4px !important;
}
.svc-kv .v {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
}
.svc-kv .s {
    font-size: 11px !important;
    color: #64748B !important;
    margin-top: 2px !important;
}

/* Services Table (/services) */
.data-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 6px !important;
}
.data-table thead th {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #94A3B8 !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.data-table tbody tr {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}
.data-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.06) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
    transform: translateX(2px) !important;
}
.data-table tbody td {
    padding: 12px 14px !important;
    font-size: 13px !important;
    color: #F8FAFC !important;
}

/* Service Status Chip Pulse Animations */
#svc-status-chip.chip-success {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34D399 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
#svc-status-chip.chip-success::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: pulse 2s infinite;
}
#svc-status-chip.chip-danger {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #F87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
#svc-status-chip.chip-danger::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #EF4444;
}

/* ===================================================
   MODERN AUTHENTICATION / LOGIN PAGE
   =================================================== */
.auth {
    min-height: 100vh;
    background: radial-gradient(circle at 50% 15%, rgba(37, 99, 235, 0.18) 0%, rgba(6, 182, 212, 0.08) 35%, #0B0F19 80%) !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow-x: hidden !important;
}
.auth-bg-glow {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 450px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.22), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.auth-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 24px 36px !important;
    position: relative !important;
    z-index: 2 !important;
}
.auth .brand {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
}
.brand-dot {
    color: #38BDF8 !important;
}
.auth-tools {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.auth-tools .segmented {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 2px !important;
}
.auth-tools .segmented button,
.segmented[data-hostrivo-lang-switch] button,
[data-hostrivo-lang-switch] button {
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
    color: #94A3B8 !important;
    transition: all 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.auth-tools .segmented button.is-active,
.segmented[data-hostrivo-lang-switch] button.is-active,
[data-hostrivo-lang-switch] button.is-active {
    background: rgba(59, 130, 246, 0.25) !important;
    color: #FFFFFF !important;
}

/* Real SVG Flags on Language Switcher Buttons (100% Cross-Platform & Windows Compatible) */
.auth-tools .segmented button::before,
.segmented[data-hostrivo-lang-switch] button::before,
[data-hostrivo-lang-switch] button::before {
    content: "" !important;
    display: inline-block !important;
    width: 17px !important;
    height: 12px !important;
    border-radius: 2px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
    flex-shrink: 0 !important;
    margin-right: 2px !important;
}

/* 1: English - United Kingdom Flag */
.auth-tools .segmented button:nth-child(1)::before,
.segmented[data-hostrivo-lang-switch] button:nth-child(1)::before,
[data-hostrivo-lang-switch] button:nth-child(1)::before,
[data-hostrivo-lang-switch] button[data-lang="en"]::before,
[data-hostrivo-lang-switch] button[value="en"]::before,
[data-hostrivo-lang-switch] button[data-code="en"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0v30h60V0z'/%3E%3C/clipPath%3E%3CclipPath id='b'%3E%3Cpath d='M30 15h30v15zv15H30zh-30v-15zv-15h30z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23b)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E") !important;
}

/* 2: Deutsch - Germany Flag */
.auth-tools .segmented button:nth-child(2)::before,
.segmented[data-hostrivo-lang-switch] button:nth-child(2)::before,
[data-hostrivo-lang-switch] button:nth-child(2)::before,
[data-hostrivo-lang-switch] button[data-lang="de"]::before,
[data-hostrivo-lang-switch] button[value="de"]::before,
[data-hostrivo-lang-switch] button[data-code="de"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'%3E%3Crect width='5' height='3' y='0' x='0' fill='%23000'/%3E%3Crect width='5' height='2' y='1' x='0' fill='%23D00'/%3E%3Crect width='5' height='1' y='2' x='0' fill='%23FFCE00'/%3E%3C/svg%3E") !important;
}

/* 3: Greek - Greece Flag */
.auth-tools .segmented button:nth-child(3)::before,
.segmented[data-hostrivo-lang-switch] button:nth-child(3)::before,
[data-hostrivo-lang-switch] button:nth-child(3)::before,
[data-hostrivo-lang-switch] button[data-lang="gr"]::before,
[data-hostrivo-lang-switch] button[data-lang="el"]::before,
[data-hostrivo-lang-switch] button[value="gr"]::before,
[data-hostrivo-lang-switch] button[value="el"]::before,
[data-hostrivo-lang-switch] button[data-code="gr"]::before,
[data-hostrivo-lang-switch] button[data-code="el"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 18'%3E%3Crect fill='%230D5EAF' width='27' height='18'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M0 3h27M0 7h27M0 11h27M0 15h27'/%3E%3Crect fill='%230D5EAF' width='10' height='10'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M5 0v10M0 5h10'/%3E%3C/svg%3E") !important;
}

/* Card Container */
.auth-card {
    width: 100% !important;
    max-width: 440px !important;
    margin: 30px auto 60px auto !important;
    background: linear-gradient(180deg, rgba(24, 32, 51, 0.92) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 22px !important;
    padding: 38px 34px !important;
    position: relative !important;
    z-index: 2 !important;
    backdrop-filter: blur(16px) !important;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.75), 0 0 30px rgba(59, 130, 246, 0.15) !important;
    overflow: hidden !important;
}
.auth-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6, #06B6D4, #8B5CF6);
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #34D399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.auth-card h1 {
    font-size: 28px !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    color: #FFFFFF !important;
    margin: 0 0 6px 0 !important;
}
.auth-card .intro {
    font-size: 14px !important;
    color: #94A3B8 !important;
    margin: 0 0 24px 0 !important;
    line-height: 1.5 !important;
}

/* Form Fields */
.auth-card .field {
    margin-bottom: 18px !important;
}
.auth-card .field label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #CBD5E1 !important;
    margin-bottom: 6px !important;
    display: block !important;
}
.auth-card .field .input {
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(11, 15, 25, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: #FFFFFF !important;
    transition: all 0.2s ease !important;
}
.auth-card .field .input:focus {
    background: rgba(15, 23, 42, 0.95) !important;
    border-color: #3B82F6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
}
.auth-card .field .help {
    margin-top: 6px !important;
    text-align: right !important;
}
.auth-card .field .help a {
    font-size: 12px !important;
    color: #60A5FA !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s !important;
}
.auth-card .field .help a:hover {
    color: #93C5FD !important;
    text-decoration: underline !important;
}

/* Submit Button */
#login-submit,
#register-submit,
#confirm-submit,
#twofa-submit {
    width: 100% !important;
    padding: 13px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #2563EB, #1D4ED8) !important;
    color: #FFFFFF !important;
    border: 1px solid #3B82F6 !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-top: 8px !important;
}
#login-submit:hover,
#register-submit:hover,
#confirm-submit:hover,
#twofa-submit:hover {
    background: linear-gradient(135deg, #3B82F6, #2563EB) !important;
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.6) !important;
    transform: translateY(-1px) !important;
}

/* Auth Divider ("or") */
.auth-or {
    display: flex !important;
    align-items: center !important;
    margin: 22px 0 !important;
    color: #64748B !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}
.auth-or::before,
.auth-or::after {
    content: "" !important;
    flex: 1 !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.08) !important;
}
.auth-or span {
    padding: 0 12px !important;
}

/* Passkey and OAuth Buttons */
#passkey-login,
#oauth-buttons button {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 11px 16px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #E2E8F0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
}
#passkey-login:hover,
#oauth-buttons button:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
}

/* Footer Links */
.auth-foot {
    margin-top: 22px !important;
    text-align: center !important;
    font-size: 13px !important;
    color: #94A3B8 !important;
}
.auth-foot a {
    color: #38BDF8 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
.auth-foot a:hover {
    text-decoration: underline !important;
}

/* Security Guarantee Note */
.auth-security-note {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: #64748B;
    text-align: center;
}
.auth-security-note svg {
    color: #10B981;
    flex-shrink: 0;
}

/* ===================================================
   FOLDING DUAL-CARD LOGIN (SPLIT SOCIAL & DIRECT LOGIN)
   =================================================== */
.auth-folding-card {
    max-width: 880px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    perspective: 1400px !important;
    overflow: hidden !important;
}

.auth-card-main {
    flex: 1.15 !important;
    min-width: 0 !important;
    padding: 40px 36px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Vertical 3D Folding Crease / Spine */
.auth-folding-crease {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    position: relative !important;
    user-select: none !important;
}
.auth-folding-crease .crease-line {
    flex: 1;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.12) 20%, rgba(56, 189, 248, 0.35) 50%, rgba(255, 255, 255, 0.12) 80%, transparent 100%);
}
.auth-folding-crease .crease-badge {
    background: #0B0F19;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #94A3B8;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.6);
    margin: 8px 0;
    text-transform: uppercase;
}

/* Right 3D Folding Wing */
.auth-card-wing {
    flex: 0.92 !important;
    min-width: 0 !important;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.02) 0%, rgba(15, 23, 42, 0.5) 100%) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.04) !important;
    padding: 40px 32px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transform-origin: left center !important;
    transform: rotateY(-3.5deg) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
    box-shadow: inset 10px 0 25px -10px rgba(0, 0, 0, 0.5) !important;
}
.auth-card-wing:hover {
    transform: rotateY(0deg) !important;
    box-shadow: inset 2px 0 10px -4px rgba(0, 0, 0, 0.2) !important;
}

.wing-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    gap: 22px;
}
.wing-header .wing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.wing-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}
.wing-header p {
    font-size: 13px;
    color: #94A3B8;
    margin: 0;
    line-height: 1.5;
}

/* OAuth Providers Buttons */
.oauth-buttons-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.oauth-provider-btn {
    width: 100% !important;
    padding: 12px 18px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    transition: all 0.22s ease !important;
    text-align: center !important;
    margin: 0 !important;
}
.oauth-provider-btn svg {
    flex-shrink: 0;
}

/* Specific Branded Providers */
.oauth-discord {
    background: rgba(88, 101, 242, 0.14) !important;
    border: 1px solid rgba(88, 101, 242, 0.38) !important;
    color: #FFFFFF !important;
}
.oauth-discord:hover {
    background: #5865F2 !important;
    border-color: #5865F2 !important;
    box-shadow: 0 6px 22px rgba(88, 101, 242, 0.5) !important;
    transform: translateY(-2px) !important;
}

.oauth-google {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #FFFFFF !important;
}
.oauth-google:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 6px 22px rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
}

.oauth-github {
    background: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
}
.oauth-github:hover {
    background: #24292F !important;
    border-color: #64748B !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6) !important;
    transform: translateY(-2px) !important;
}

.passkey-provider-btn {
    background: rgba(56, 189, 248, 0.08) !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    color: #38BDF8 !important;
}
.passkey-provider-btn:hover {
    background: rgba(56, 189, 248, 0.18) !important;
    border-color: #38BDF8 !important;
    box-shadow: 0 6px 22px rgba(56, 189, 248, 0.28) !important;
    transform: translateY(-2px) !important;
}

.wing-passkey-wrap .auth-or {
    margin: 14px 0 10px 0 !important;
}

/* Wing Footer Trust Info */
.wing-footer {
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
    color: #64748B;
}
.wing-feature-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.wing-feature-row span {
    color: #94A3B8;
}

/* Responsive Folding Card for Mobile & Tablet */
@media (max-width: 820px) {
    .auth-folding-card {
        flex-direction: column !important;
        max-width: 440px !important;
    }
    .auth-card-main,
    .auth-card-wing {
        padding: 30px 24px !important;
    }
    .auth-card-wing {
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
        transform: none !important;
        box-shadow: none !important;
    }
    .auth-folding-crease {
        flex-direction: row !important;
        width: 100% !important;
        height: 28px !important;
        margin: 0 !important;
    }
    .auth-folding-crease .crease-line {
        height: 1px !important;
        width: 100% !important;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 20%, rgba(56, 189, 248, 0.35) 50%, rgba(255, 255, 255, 0.12) 80%, transparent 100%);
    }
    .auth-folding-crease .crease-badge {
        margin: 0 8px !important;
    }
}

