/* ============================================
   MarketList Pro - Tema Futurista
   ============================================ */

/* Reset y base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables CSS - Paleta Futurista */
:root {
    /* Colores Neon */
    --neon-blue: #00f3ff;
    --neon-blue-dark: #00c4cc;
    --neon-purple: #bc13fe;
    --neon-purple-dark: #9a0cd4;
    --neon-pink: #ff00ff;
    --neon-green: #39ff14;
    --neon-green-dark: #2dd10c;
    --neon-orange: #ff9f43;
    --neon-red: #ff4757;

    /* Fondos */
    --dark-bg: #0a0a0f;
    --card-bg: rgba(20, 20, 35, 0.7);
    --card-bg-hover: rgba(30, 30, 50, 0.8);
    --input-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);

    /* Texto */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6c6c80;

    /* Estados */
    --danger: #ff4757;
    --warning: #ff9f43;
    --success: #39ff14;
    --info: #00f3ff;

    /* Fuentes */
    --font-futuristic: 'Orbitron', sans-serif;
    --font-tech: 'Rajdhani', sans-serif;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Body Base */
body {
    font-family: var(--font-tech);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 20, 35, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-pink));
}

/* Selection */
::selection {
    background: rgba(0, 243, 255, 0.3);
    color: white;
}

/* ============================================
   UTILIDADES - Glass Card
   ============================================ */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 243, 255, 0.05);
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 243, 255, 0.8);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(0, 243, 255, 0.3);
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    }
    50% {
        border-color: rgba(188, 19, 254, 0.5);
        box-shadow: 0 0 30px rgba(188, 19, 254, 0.3);
    }
}

.animate-fade-in { animation: fadeIn 0.5s ease-out; }
.animate-slide-up { animation: slideUp 0.5s ease-out; }
.animate-slide-down { animation: slideDown 0.5s ease-out; }
.animate-pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-shake { animation: shake 0.3s ease-in-out; }

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 243, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(188, 19, 254, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.login-box {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.3);
    animation: pulseGlow 3s ease-in-out infinite;
}

.login-logo i {
    font-size: 40px;
    color: white;
}

.login-title {
    font-family: var(--font-futuristic);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Formularios */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-tech);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-tech);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.password-wrapper {
    position: relative;
}

.password-wrapper .form-input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.toggle-password:hover {
    color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.1);
}

/* Checkbox personalizado */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: var(--input-bg);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-color: transparent;
}

.checkbox-custom i {
    font-size: 14px;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom i {
    opacity: 1;
    transform: scale(1);
}

.checkbox-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-futuristic);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 243, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 243, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 10px;
}

.btn-icon:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.btn-text {
    background: transparent;
    color: var(--neon-blue);
    padding: 10px 20px;
}

.btn-text:hover {
    background: rgba(0, 243, 255, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.05);
}

.btn-danger:hover {
    background: rgba(255, 71, 87, 0.2);
    border-color: var(--neon-red);
    color: var(--neon-red);
}

.btn-success:hover {
    background: rgba(57, 255, 20, 0.2);
    border-color: var(--neon-green);
    color: var(--neon-green);
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Links */
.text-link {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.text-link:hover {
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Login footer */
.login-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
}

/* Error message */
.error-message {
    color: var(--neon-red);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 16px;
    min-height: 20px;
}

/* ============================================
   APP LAYOUT
   ============================================ */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.app-header {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-small {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.logo-icon i {
    font-size: 20px;
    color: white;
}

.logo-text {
    font-family: var(--font-futuristic);
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-name {
    font-family: var(--font-tech);
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 12px;
}

#btnSync {
    position: relative;
}

.sync-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: var(--neon-orange);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-tech);
}

/* Main */
.app-main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
}

/* ============================================
   ADD PRODUCT SECTION
   ============================================ */
.add-product-section {
    margin-bottom: 24px;
}

.product-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.product-form .form-group {
    margin-bottom: 0;
    flex: 1;
    min-width: 150px;
}

.product-form .form-group.small {
    flex: 0 0 100px;
    min-width: 80px;
}

.product-form .form-group.flex-grow {
    flex: 2;
    min-width: 200px;
}

.product-form .btn {
    height: 52px;
    padding: 0 24px;
}

/* ============================================
   FILTERS
   ============================================ */
.filters-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.filter-tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-tech);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: white;
}

.filter-categories select {
    padding: 12px 16px;
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-tech);
    font-size: 0.95rem;
    cursor: pointer;
    min-width: 180px;
}

.filter-categories select:focus {
    outline: none;
    border-color: var(--neon-blue);
}

/* ============================================
   PRODUCTS LIST
   ============================================ */
.products-section {
    min-height: 300px;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.product-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 243, 255, 0.2);
    transform: translateX(4px);
}

.product-item.comprado {
    opacity: 0.6;
}

.product-item.comprado .product-name {
    text-decoration: line-through;
    color: var(--text-muted);
}

.product-item.pending-sync {
    border-left: 3px solid var(--neon-orange);
}

/* Checkbox personalizado */
.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-container input {
    display: none;
}

.checkmark-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-container:hover .checkmark-custom {
    border-color: var(--neon-blue);
}

.checkbox-container input:checked + .checkmark-custom {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-green-dark));
    border-color: transparent;
}

.checkmark-custom i {
    font-size: 14px;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.checkbox-container input:checked + .checkmark-custom i {
    opacity: 1;
    transform: scale(1);
}

/* Product info */
.product-info {
    flex: 1;
    min-width: 0;
}

.product-name {
    font-family: var(--font-tech);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.product-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-details span {
    margin-right: 12px;
}

.product-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--neon-blue);
}

/* Product actions */
.product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sync-indicator {
    color: var(--neon-orange);
    font-size: 1.1rem;
}

.btn-action {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.btn-action.btn-delete:hover {
    border-color: var(--neon-red);
    color: var(--neon-red);
    background: rgba(255, 71, 87, 0.1);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(188, 19, 254, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.empty-state-icon i {
    font-size: 48px;
    color: var(--text-muted);
}

.empty-state h3 {
    font-family: var(--font-futuristic);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-muted);
}

/* Summary section */
.summary-section {
    margin-top: 24px;
    padding: 20px 24px;
}

.summary-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.summary-stats {
    font-family: var(--font-tech);
    font-size: 1rem;
    color: var(--text-secondary);
}

.summary-stats span {
    margin-right: 16px;
}

.summary-stats .stat-highlight {
    color: var(--neon-blue);
    font-weight: 600;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-family: var(--font-futuristic);
    font-size: 1.3rem;
    font-weight: 600;
}

.btn-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close:hover {
    background: rgba(255, 71, 87, 0.2);
    border-color: var(--neon-red);
    color: var(--neon-red);
}

.modal form {
    padding: 0 24px 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* ============================================
   OFFLINE INDICATOR
   ============================================ */
.offline-indicator {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(255, 159, 67, 0.9);
    color: var(--dark-bg);
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-tech);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(255, 159, 67, 0.3);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1000;
}

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

.offline-indicator .dot {
    width: 10px;
    height: 10px;
    background: var(--dark-bg);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .login-title {
        font-size: 1.5rem;
    }

    .header-content {
        padding: 12px 16px;
    }

    .user-name {
        display: none;
    }

    .app-main {
        padding: 16px;
    }

    .product-form {
        flex-direction: column;
    }

    .product-form .form-group,
    .product-form .form-group.small,
    .product-form .form-group.flex-grow {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .product-form .btn {
        width: 100%;
    }

    .filters-section {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tabs {
        justify-content: center;
        overflow-x: auto;
    }

    .filter-tab {
        white-space: nowrap;
    }

    .filter-categories select {
        width: 100%;
    }

    .product-item {
        padding: 12px 16px;
    }

    .product-name {
        font-size: 0.95rem;
    }

    .summary-content {
        flex-direction: column;
        text-align: center;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 0;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .header-content {
        gap: 8px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}

/* ============================================
   UTILIDADES
   ============================================ */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Background patterns */
.bg-grid {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300f3ff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Focus states */
:focus-visible {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

/* Disable transitions for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .app-header,
    .add-product-section,
    .filters-section,
    .product-actions,
    .btn-action,
    .summary-section {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .product-item {
        border-bottom: 1px solid #ccc;
        break-inside: avoid;
    }
}
