/* STREAMING_CHUNK: Defining root variables and base styles */
:root {
    --bg-dark: #000000;
    --bg-panel: #1a1c29;
    --neon-cyan: #00f3ff;
    --neon-pink: #ff00ea;
    --neon-green: #39ff14;
    --neon-orange: #ff9d00;
    --neon-red: #ff3333;
    --text-main: #e0e2eb;
    --text-muted: #c0c5de;
    --border-glow: 0 0 10px rgba(0, 243, 255, .5);
    --pink-glow: 0 0 15px rgba(255, 0, 234, .5);
    --green-glow: 0 0 15px rgba(57, 255, 20, .4);
    --cyan-glow: 0 0 15px rgba(0, 243, 255, .5);
    --orange-glow: 0 0 15px rgba(255, 157, 0, .5);
    --red-glow: 0 0 15px rgba(255, 51, 51, .5);
}

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

body {
    background-color: var(--bg-dark) !important;
    color: var(--text-main);
    font-family: sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

/* STREAMING_CHUNK: Styling main layout wrappers and footer */
.spa-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content-wrapper {
    flex: 1;
    width: 100%;
    padding: 24px 0;
    display: block;
}

.app-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}

.cyber-footer {
    background-color: var(--bg-panel);
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding: 25px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px 30px;
    margin-top: auto;
    width: 100%;
    z-index: 10;
}

.cyber-nav-link {
    color: var(--text-muted);
    font-size: .95rem;
    text-decoration: none;
    transition: color .3s ease;
    padding: 5px 0;
    letter-spacing: .5px;
}

.cyber-nav-link:hover {
    color: var(--text-main);
}

.cyber-nav-link.active {
    color: var(--neon-cyan);
    font-weight: 700;
}

@media (max-width: 600px) {
    .cyber-footer {
        flex-direction: row;
        padding: 20px 15px;
        gap: 12px 20px;
    }

    .cyber-nav-link {
        width: auto;
        text-align: center;
        padding: 5px;
        font-size: .85rem;
        border-bottom: none;
    }
}

/* STREAMING_CHUNK: Configuring components like main container and tabs */
.main-container {
    background: linear-gradient(145deg, #1a1c29f2, #0d0e15fa);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 28px 20px;
    box-shadow: 0 15px 40px #000c, inset 0 1px #ffffff1a, inset 0 0 15px #00f3ff0d;
    border: 1px solid rgba(0, 243, 255, .2);
    border-top: 1px solid rgba(0, 243, 255, .4);
    position: relative;
    z-index: 1;
    width: 100%;
}

.cyber-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.cyber-logo {
    height: 60px;
    width: auto;
}

.cyber-tabs {
    display: flex;
    background: #0006;
    border-radius: 8px;
    padding: 6px;
    border: 1px solid rgba(0, 243, 255, .15);
    margin-bottom: 16px;
    width: 100%;
}

.cyber-tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .3s;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .85rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cyber-tab:hover {
    color: var(--text-main);
    background: #ffffff0d;
}

.cyber-tab.active {
    background: #00f3ff1a;
    color: var(--neon-cyan);
    box-shadow: inset 0 0 10px #00f3ff33;
    border: 1px solid rgba(0, 243, 255, .3);
}

/* STREAMING_CHUNK: Styling typography and input fields */
h2,
h3,
h4,
h5,
h6 {
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 243, 255, .3);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding-bottom: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cyber-input {
    background-color: #0006;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
    border-radius: 6px;
    transition: all .3s ease;
    padding: 12px 16px;
    width: 100%;
}

.cyber-input:focus {
    background-color: #0009;
    border-color: var(--neon-cyan);
    box-shadow: var(--border-glow);
    color: var(--neon-cyan);
    outline: none;
}

.cyber-input::placeholder {
    color: #ffffff8c !important;
    opacity: 1;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.input-group {
    flex-wrap: nowrap;
}

.input-group>.cyber-input:not(.form-control) {
    width: auto;
}

.input-group>.form-control.cyber-input {
    width: 1%;
}

/* STREAMING_CHUNK: Applying button styles and interactive effects */
.cyber-btn {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    border-radius: 6px;
    transition: all .3s ease;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyber-btn:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: var(--border-glow);
    transform: translateY(-1px);
}

.cyber-btn:disabled {
    background: transparent;
    color: var(--text-muted) !important;
    border-color: var(--text-muted) !important;
    opacity: .5;
    cursor: not-allowed;
    box-shadow: none !important;
}

/* STREAMING_CHUNK: Defining polygon cyber action boxes */
.cyber-action-box {
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    position: relative;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    z-index: 1;
}

.cyber-action-box:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--neon-cyan);
    z-index: -2;
    transition: all .3s ease;
}

.cyber-action-box[style*=--neon-pink]:before {
    background: var(--neon-pink) !important;
}

.cyber-action-box[style*=--neon-orange]:before {
    background: var(--neon-orange) !important;
}

.cyber-action-box[style*=--neon-green]:before {
    background: var(--neon-green) !important;
}

.cyber-action-box:after {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    left: 1px;
    background: linear-gradient(to bottom right, #00f3ff05, #00f3ff0d), #0d0e15;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    z-index: -1;
    transition: all .3s ease;
}

.cyber-action-box[style*=--neon-pink]:after {
    background: linear-gradient(to bottom right, #ff00ea05, #ff00ea0d), #0d0e15;
}

.cyber-action-box[style*=--neon-orange]:after {
    background: linear-gradient(to bottom right, #ff9d0005, #ff9d000d), #0d0e15;
}

.cyber-action-box[style*=--neon-green]:after {
    background: linear-gradient(to bottom right, #39ff1405, #39ff140d), #0d0e15;
}

.cyber-action-box:hover:before {
    background: #fff !important;
}

.cyber-action-box:hover:after {
    background: linear-gradient(to bottom right, #00f3ff0d, #00f3ff1a), #0d0e15;
}

.cyber-action-box[style*=--neon-pink]:hover:after {
    background: linear-gradient(to bottom right, #ff00ea0d, #ff00ea1a), #0d0e15;
}

.cyber-action-box[style*=--neon-orange]:hover:after {
    background: linear-gradient(to bottom right, #ff9d000d, #ff9d001a), #0d0e15;
}

.cyber-action-box[style*=--neon-green]:hover:after {
    background: linear-gradient(to bottom right, #39ff140d, #39ff141a), #0d0e15;
}

/* STREAMING_CHUNK: Styling dynamic glowing data cards */
.filled-data-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: all .3s ease;
    position: relative;
    width: 100%;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    z-index: 1;
}

.filled-data-card:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--neon-cyan);
    z-index: -2;
    transition: all .3s ease;
}

.filled-data-card:after {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    left: 1px;
    background: #0d0e15;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    z-index: -1;
    transition: all .3s ease;
}

.filled-data-card.pink-glow:before {
    background: var(--neon-pink);
}

.filled-data-card.pink-glow:after {
    background: linear-gradient(to right, transparent, rgba(255, 0, 234, .08)), #0d0e15;
}

.filled-data-card.pink-glow:hover:after {
    background: linear-gradient(to right, transparent, rgba(255, 0, 234, .15)), #0d0e15;
}

.filled-data-card.cyan-glow:before {
    background: var(--neon-cyan);
}

.filled-data-card.cyan-glow:after {
    background: linear-gradient(to right, transparent, rgba(0, 243, 255, .08)), #0d0e15;
}

.filled-data-card.cyan-glow:hover:after {
    background: linear-gradient(to right, transparent, rgba(0, 243, 255, .15)), #0d0e15;
}

.filled-data-card.orange-glow:before {
    background: var(--neon-orange);
}

.filled-data-card.orange-glow:after {
    background: linear-gradient(to right, transparent, rgba(255, 157, 0, .08)), #0d0e15;
}

.filled-data-card.orange-glow:hover:after {
    background: linear-gradient(to right, transparent, rgba(255, 157, 0, .15)), #0d0e15;
}

.filled-data-card.green-glow:before {
    background: var(--neon-green);
}

.filled-data-card.green-glow:after {
    background: linear-gradient(to right, transparent, rgba(57, 255, 20, .08)), #0d0e15;
}

.filled-data-card.green-glow:hover:after {
    background: linear-gradient(to right, transparent, rgba(57, 255, 20, .15)), #0d0e15;
}

/* STREAMING_CHUNK: Formatting orders and product items */
.order-card {
    display: flex;
    flex-direction: column;
    background: #0006;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    padding: 16px;
    transition: all .3s ease;
    width: 100%;
}

.order-card:hover {
    background: #00f3ff0d;
    border-color: #00f3ff4d;
}

.quantity-ctrl-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 15px;
    border-left: 1px dashed rgba(255, 255, 255, .15);
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px 10px;
    font-size: 1.1rem;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 8px var(--neon-pink);
}

.qty-display {
    color: var(--text-main);
    font-weight: 900;
    font-size: 1.1rem;
    margin: 2px 0;
    min-width: 20px;
    text-align: center;
}

.product-item-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
    padding-top: 20px;
}

.product-item-wrapper:hover {
    transform: translateY(-2px);
}

/* STREAMING_CHUNK: Adding badges and card decorations */
.folder-tab-badge {
    position: absolute;
    top: 0;
    right: 0;
    height: 21px;
    display: flex;
    align-items: center;
    padding: 0 12px 0 16px;
    color: #fff;
    font-size: .55rem;
    font-weight: 900;
    letter-spacing: .5px;
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    z-index: 2;
    background-image: linear-gradient(180deg, #fff6, #ffffff1a 40%, #0000001a 60%, #0000004d);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
    overflow: hidden;
}

.folder-tab-badge:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100%;
    width: 150%;
    background: linear-gradient(90deg, #fff0, #fffc, #fff0);
    transform: skew(-25deg);
    animation: badgeGlassSweep 4s infinite cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
}

@keyframes badgeGlassSweep {
    0% {
        left: -100%;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    20% {
        left: 150%;
        opacity: 1;
    }

    25% {
        opacity: 0;
    }

    to {
        left: 150%;
        opacity: 0;
    }
}

.product-card-main {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 10px;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-main:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #00f3ff26;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    z-index: -2;
    transition: all .3s;
}

.product-card-main:after {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    left: 1px;
    background: linear-gradient(145deg, #1a1c29e6, #0d0e15e6);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    z-index: -1;
    transition: all .3s;
}

.product-item-wrapper:hover .product-card-main:before,
.product-item-wrapper.selected .product-card-main:before {
    background: #00aeff57;
    box-shadow: 0 0 15px #00f2ff18;
}

.product-item-wrapper.selected .product-card-main:after {
    background: linear-gradient(135deg, #ff00ea33, #00f3ff0d);
}

.product-card-main>* {
    position: relative;
    z-index: 1;
}

.product-img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    transition: all .3s;
}

.product-item-wrapper:hover .product-img {
    transform: scale(1.05);
}

.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: .65rem;
}

.price-new {
    color: var(--neon-pink);
    font-weight: 800;
    font-size: .85rem;
    text-shadow: 0 0 8px rgba(255, 0, 234, .5);
    margin-top: 1px;
}

.sub-label-text {
    font-size: .65rem;
    letter-spacing: .5px;
    font-style: italic;
}

/* STREAMING_CHUNK: Styling the modal components and animations */
.custom-modal-backdrop {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000b3;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    animation: fadeIn .3s forwards;
}

.custom-modal-backdrop.closing {
    animation: fadeOut .3s forwards;
}

.custom-modal-dialog {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    transform: translateY(100%);
    animation: slideUp .3s cubic-bezier(.4, 0, .2, 1) forwards;
}

.custom-modal-dialog.closing {
    animation: slideDown .3s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    to {
        transform: translateY(100%);
    }
}

.cyber-modal-glow-wrapper {
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
}

.cyber-modal-outer-polygon {
    clip-path: polygon(30px 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%, 0 30px);
    padding: 2px 2px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.cyber-modal-inner-polygon {
    clip-path: polygon(29px 0, calc(100% - 29px) 0, 100% 29px, 100% 100%, 0 100%, 0 29px);
    display: flex;
    flex-direction: column;
    max-height: calc(90vh - 2px);
    position: relative;
    z-index: 1;
}

.cyber-modal-header {
    background: #cbcaff1c;
    border-bottom: 1px dashed rgba(255, 255, 255, .15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.cyber-modal-body {
    overflow-y: auto;
}

.cyber-modal-body .row {
    padding-bottom: 24px;
}

/* STREAMING_CHUNK: Enhancing custom buttons and form inputs */
.cyber-btn-polygon {
    background: transparent;
    color: var(--btn-color, var(--neon-cyan));
    border: none;
    position: relative;
    padding: 14px 24px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
    z-index: 1;
    transition: color .3s ease, filter .3s ease;
}

.cyber-btn-polygon:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--btn-color, var(--neon-cyan));
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    z-index: -2;
}

.cyber-btn-polygon:after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    background: #0d0e15f2;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    z-index: -1;
    transition: background .3s ease;
}

.cyber-btn-polygon:hover:after {
    background: transparent;
}

.cyber-btn-polygon:hover {
    color: var(--bg-dark);
    filter: drop-shadow(0 0 6px var(--btn-color, var(--neon-cyan)));
}

.cyber-btn-polygon:active:not(:disabled) {
    transform: scale(.98);
}

.cyber-polygon-input {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-main);
    padding: 14px 40px 14px 14px;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 1;
    min-height: 52px;
    letter-spacing: 1px;
}

.cyber-polygon-input:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--input-color, rgba(255, 255, 255, .2));
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    z-index: -2;
    transition: all .3s ease;
}

.cyber-polygon-input:after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    background: #0d0e15f2;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    z-index: -1;
}

.cyber-polygon-input.active-field:before {
    background: var(--input-active-color, var(--neon-cyan));
    box-shadow: 0 0 10px var(--input-active-color, var(--neon-cyan));
}

.cyber-polygon-input .cyber-placeholder {
    color: #ffffff4d;
    font-weight: 400;
}

/* STREAMING_CHUNK: Integrating invoice styling and background effects */
.invoice-container {
    background: #0d0e1566;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-top: 1px solid rgba(255, 255, 255, .25);
    border-left: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    padding: 24px 20px;
    font-family: Courier New, Courier, monospace;
    color: var(--text-muted);
    position: relative;
    margin-top: 35px;
    margin-bottom: 35px;
    box-shadow: 0 8px 32px #0006, inset 0 0 15px #ffffff0d;
}

.invoice-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: .95rem;
}

.invoice-line.total {
    border-top: 1px dashed rgba(255, 255, 255, .2);
    padding-top: 12px;
    margin-top: 12px;
    color: var(--neon-cyan);
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(0, 243, 255, .4);
}

@keyframes stepCompletePop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
        filter: brightness(1.3);
    }

    to {
        transform: scale(1);
    }
}

.animate-pop {
    animation: stepCompletePop .4s ease-out forwards;
}

/* STREAMING_CHUNK: Applying hex matrix and circuit backgrounds */
.hex-matrix-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

.hex-matrix-layer {
    position: absolute;
    top: -20%;
    right: -20%;
    bottom: -20%;
    left: -20%;
    background-color: var(--matrix-color);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='40' height='69.282' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 17.32l-20 11.547L0 17.32V-5.774l20-11.547L40-5.774V17.32zm0 46.188l-20 11.547-20-11.547V40.415l20-11.547 20 11.547v23.094zM20 51.962l-20 11.547-20-11.547V28.868l20-11.547 20 11.547v23.094z' fill='none' stroke='%23FFF' stroke-width='1.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg width='40' height='69.282' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 17.32l-20 11.547L0 17.32V-5.774l20-11.547L40-5.774V17.32zm0 46.188l-20 11.547-20-11.547V40.415l20-11.547 20 11.547v23.094zM20 51.962l-20 11.547-20-11.547V28.868l20-11.547 20 11.547v23.094z' fill='none' stroke='%23FFF' stroke-width='1.5'/%3E%3C/svg%3E");
    -webkit-mask-size: 60px 103.923px;
    mask-size: 60px 103.923px;
    opacity: .2;
    animation: hexPulse 4s infinite alternate ease-in-out;
}

.hex-matrix-glow {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 50% 50%, var(--matrix-color) 0%, transparent 70%);
    opacity: .15;
    animation: hexGlowPulse 3s infinite alternate ease-in-out;
}

@keyframes hexPulse {
    0% {
        opacity: .1;
        transform: scale(1) translate(0);
    }

    to {
        opacity: .35;
        transform: scale(1.02) translate(8px, 4px);
    }
}

@keyframes hexGlowPulse {
    0% {
        opacity: .05;
    }

    to {
        opacity: .25;
    }
}

.circuit-board-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: .6;
}

.circuit-svg {
    width: 100%;
    height: 100%;
    position: absolute;
}

.circuit-path {
    fill: none;
    stroke: var(--circuit-color);
    stroke-width: .75;
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: drawCircuit 4s infinite ease-in-out;
    opacity: .8;
    filter: drop-shadow(0 0 2px var(--circuit-color));
}

.circuit-node {
    fill: var(--circuit-color);
    opacity: 0;
    animation: pulseNode 4s infinite ease-in-out;
    filter: drop-shadow(0 0 3px var(--circuit-color));
}

.path-1,
.node-1 {
    animation-delay: 0s;
}

.path-2,
.node-2 {
    animation-delay: .5s;
}

.path-3,
.node-3 {
    animation-delay: 1s;
}

.path-4,
.node-4 {
    animation-delay: 1.5s;
}

.path-5,
.node-5 {
    animation-delay: 2s;
}

.path-6,
.node-6 {
    animation-delay: 2.5s;
}

@keyframes drawCircuit {
    0% {
        stroke-dashoffset: 150;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    40% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    60% {
        stroke-dashoffset: 0;
        opacity: 0;
    }

    to {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

@keyframes pulseNode {

    0%,
    30% {
        opacity: 0;
        filter: drop-shadow(0 0 0 var(--circuit-color));
    }

    35% {
        opacity: 1;
        filter: drop-shadow(0 0 8px var(--circuit-color));
    }

    45%,
    to {
        opacity: 0;
        filter: drop-shadow(0 0 0 var(--circuit-color));
    }
}

/* STREAMING_CHUNK: Formatting pill groups, text helpers, and virtual keyboard */
.cyber-pill-group {
    display: flex;
    background: #0006;
    border-radius: 8px;
    border: 1px solid rgba(57, 255, 20, .2);
    overflow: hidden;
}

.cyber-pill-label {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    color: var(--text-muted);
    transition: all .3s ease;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .9rem;
    margin: 0;
}

.cyber-pill-label input {
    display: none;
}

.cyber-pill-label.active {
    background: #39ff1426;
    color: var(--neon-green);
    box-shadow: inset 0 0 10px #39ff1433;
}

.cyber-pill-label:not(:last-child) {
    border-right: 1px solid rgba(57, 255, 20, .2);
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-neon-cyan {
    color: var(--neon-cyan);
}

.text-neon-pink {
    color: var(--neon-pink);
}

.text-neon-orange {
    color: var(--neon-orange);
}

.text-neon-green {
    color: var(--neon-green);
}

.vk-container {
    width: 100%;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    -webkit-user-select: none;
    user-select: none;
}

.vk-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.vk-btn {
    background: #0009;
    border: 1px solid rgba(0, 243, 255, .2);
    color: var(--text-main);
    flex: 1;
    padding: 12px 0;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .1s ease;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 5px #00f3ff0d;
}

.vk-btn:active {
    background: var(--neon-cyan);
    color: #000;
    transform: scale(.95);
    box-shadow: 0 0 15px #00f3ff99;
}

.vk-btn.vk-action {
    background: #00f3ff1a;
    color: var(--neon-cyan);
    font-size: 1rem;
}

.vk-btn.vk-action:active {
    background: var(--neon-cyan);
    color: #000;
}

.vk-orange .vk-btn {
    border-color: #ff9d0033;
}

.vk-orange .vk-btn:active {
    background: var(--neon-orange);
    box-shadow: 0 0 15px #ff9d0099;
}

.vk-orange .vk-btn.vk-action {
    background: #ff9d001a;
    color: var(--neon-orange);
}

.vk-orange .vk-btn.vk-action:active {
    background: var(--neon-orange);
    color: #000;
}

.vk-green .vk-btn {
    border-color: #39ff1433;
}

.vk-green .vk-btn:active {
    background: var(--neon-green);
    box-shadow: 0 0 15px #39ff1499;
}

.vk-green .vk-btn.vk-action {
    background: #39ff141a;
    color: var(--neon-green);
}

.vk-green .vk-btn.vk-action:active {
    background: var(--neon-green);
    color: #000;
}

.vk-alpha-btn {
    padding: 12px 0;
    font-size: 1.1rem;
}

.cart-preview-badge {
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px) !important;
    border-radius: 0 !important;
}