   :root {
    /* Nueva Paleta Viatiko IA */
    --primary-color: #6366f1;    /* Indigo Moderno */
    --secondary-color: #8b5cf6;  /* Violeta Eléctrico (El de tu logo) */
    --accent-color: #c084fc;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --gray-color: #64748b;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --header-height: 70px;
    --footer-height: 80px;
}

/* Header con el degradado de tu marca */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: linear-gradient(135deg, var(--secondary-color), #6d28d9);
    color: white;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Ajuste del logo en el header */
.company-logo {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Botón de carga con estilo IA */
.upload-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    border-radius: 16px; /* Más redondeado, más moderno */
    padding: 16px 32px;
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #f9fafb;
            color: var(--dark-color);
            padding-top: var(--header-height);
            padding-bottom: var(--footer-height);
            min-height: 100vh;
            overflow-x: hidden;
        }

        .app-container {
            max-width: 100%;
            margin: 0 auto;
        }

        

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            padding: 0 16px;
        }

        .company-brand {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        

        .company-name {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 1.4rem;
            letter-spacing: -0.5px;
        }

        .menu-toggle {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 8px;
            border-radius: 8px;
            transition: background-color 0.2s;
        }

        .menu-toggle:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        /* Context Menu */
        .context-menu {
            position: fixed;
            top: var(--header-height);
            right: 16px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            width: 280px;
            z-index: 1001;
            display: none;
            overflow: hidden;
            animation: slideDown 0.2s ease;
        }

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

        .context-menu.active {
            display: block;
        }

        .menu-header {
            padding: 16px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .user-info h4 {
            margin: 0;
            font-size: 1rem;
            font-weight: 600;
        }

        .user-info p {
            margin: 0;
            font-size: 0.85rem;
            opacity: 0.9;
        }

        .menu-items {
            padding: 8px 0;
        }

        .menu-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 20px;
            text-decoration: none;
            color: var(--dark-color);
            transition: background-color 0.2s;
            cursor: pointer;
        }

        .menu-item:hover {
            background-color: #f1f5f9;
        }

        .menu-item i {
            color: var(--primary-color);
            font-size: 1.2rem;
            width: 24px;
        }

        .menu-divider {
            height: 1px;
            background-color: #e2e8f0;
            margin: 8px 0;
        }

        /* Main Content */
        .main-content {
            padding: 20px 16px;
            min-height: calc(100vh - var(--header-height) - var(--footer-height));
        }

        .page-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.8rem;
            margin-bottom: 24px;
            color: var(--dark-color);
        }

        /* Receipt Upload Section */
        .upload-section {
            background: white;
            border-radius: 16px;
            padding: 30px 20px;
            box-shadow: var(--card-shadow);
            text-align: center;
            margin-bottom: 30px;
        }

        .upload-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 2.5rem;
            color: var(--primary-color);
        }

        .upload-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: var(--dark-color);
        }

        .upload-description {
            color: var(--gray-color);
            margin-bottom: 25px;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        

        .upload-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
        }

        .file-input {
            display: none;
        }

        .upload-preview {
            margin-top: 25px;
            display: none;
        }

        .preview-image {
            max-width: 100%;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
        }

        .processing-section {
            background: white;
            border-radius: 16px;
            padding: 30px 20px;
            box-shadow: var(--card-shadow);
            text-align: center;
            margin-top: 20px;
            display: none;
        }

        .processing-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid #e0e7ff;
            border-top-color: var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

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

        .result-section {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: var(--card-shadow);
            margin-top: 20px;
            display: none;
        }

        .result-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: var(--dark-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .result-item {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #e2e8f0;
        }

        .result-item:last-child {
            border-bottom: none;
        }

        .result-label {
            color: var(--gray-color);
            font-weight: 500;
        }

        .result-value {
            font-weight: 600;
            color: var(--dark-color);
        }

        .amount-value {
            color: var(--success-color);
            font-size: 1.2rem;
        }

        .action-buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

        .btn-confirm, .btn-cancel {
            flex: 1;
            padding: 12px;
            border-radius: 10px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-confirm {
            background: linear-gradient(135deg, var(--success-color), #22c55e);
            color: white;
        }

        .btn-cancel {
            background: #f1f5f9;
            color: var(--gray-color);
        }

        /* Recent Receipts */
        .recent-section {
            margin-top: 30px;
        }

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

        .section-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.3rem;
            color: var(--dark-color);
        }

        .receipts-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .receipt-item {
            background: white;
            border-radius: 12px;
            padding: 16px;
            box-shadow: var(--card-shadow);
            display: flex;
            align-items: center;
            gap: 15px;
            transition: transform 0.2s;
        }

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

        .receipt-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--primary-color);
        }

        .receipt-info {
            flex: 1;
        }

        .receipt-name {
            font-weight: 600;
            margin-bottom: 4px;
        }

        .receipt-details {
            display: flex;
            gap: 15px;
            color: var(--gray-color);
            font-size: 0.85rem;
        }

        .receipt-amount {
            font-weight: 700;
            color: var(--success-color);
            font-size: 1.1rem;
        }

        /* Footer Navigation */
        .footer-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: var(--footer-height);
            background: white;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            padding: 10px 0;
        }

        .nav-items {
            display: flex;
            justify-content: space-around;
            align-items: center;
            height: 100%;
            max-width: 500px;
            margin: 0 auto;
            padding: 0 16px;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            text-decoration: none;
            color: var(--gray-color);
            flex: 1;
            padding: 8px 0;
            border-radius: 10px;
            transition: all 0.2s;
        }

        .nav-item.active {
            color: var(--primary-color);
            background-color: #f0f4ff;
        }

        .nav-item i {
            font-size: 1.4rem;
        }

        .nav-label {
            font-size: 0.75rem;
            font-weight: 500;
        }

        /* Travel List Page */
        .travels-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .travel-item {
            background: white;
            border-radius: 16px;
            padding: 20px;
            box-shadow: var(--card-shadow);
        }

        .travel-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }

        .travel-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.2rem;
            color: var(--dark-color);
        }

        .travel-status {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .status-approved {
            background-color: #dcfce7;
            color: #166534;
        }

        .status-pending {
            background-color: #fef3c7;
            color: #92400e;
        }

        .status-rejected {
            background-color: #fee2e2;
            color: #991b1b;
        }

        .travel-details {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
        }

        .detail-item {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .detail-label {
            font-size: 0.85rem;
            color: var(--gray-color);
        }

        .detail-value {
            font-weight: 600;
            font-size: 1rem;
        }

        .travel-amount {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--success-color);
            text-align: right;
        }

        .travel-receipts {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .receipt-thumb {
            width: 50px;
            height: 50px;
            border-radius: 8px;
            background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 1.2rem;
        }

        /* Modal */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1100;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 20px;
            width: 100%;
            max-width: 400px;
            max-height: 90vh;
            overflow-y: auto;
            animation: modalSlideUp 0.3s ease;
        }

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

        .modal-header {
            padding: 20px;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.3rem;
            color: var(--dark-color);
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--gray-color);
            cursor: pointer;
        }

        .modal-body {
            padding: 20px;
        }

        /* Responsive */
        @media (min-width: 768px) {
            .app-container {
                max-width: 500px;
                margin: 0 auto;
                box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
                min-height: 100vh;
            }
            
            body {
                background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
            }
        }