:root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --secondary: #4CC9F0;
            --accent: #F72585;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --light: #f9fafb;
            --dark: #1f2937;
            --border-radius: 12px;
            --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            --transition-fast: 0.2s ease;
            --transition: 0.3s ease;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

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

        body {
            font-family: var(--font-main);
            background-color: #f0f5ff;
            color: var(--dark);
            margin: 0;
            padding: 0;
        }

        .container {
            max-width: 1200px;
            margin: 2rem auto;
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-lg);
            overflow: hidden;
            animation: fadeIn 0.5s ease;
        }

        .header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            animation: rotate 20s linear infinite;
            z-index: 1;
            pointer-events: none;
        }

        .header h1 {
            font-size: 2.5rem;
            margin: 0;
            position: relative;
            z-index: 2;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        .search-container {
            background-color: white;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin: -1.5rem 2rem 1rem;
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            box-shadow: var(--shadow);
            position: relative;
            z-index: 10;
            transition: all var(--transition);
        }

        .search-container:hover {
            box-shadow: var(--shadow-lg);
        }

        .search-field {
            flex: 1;
            min-width: 250px;
            position: relative;
        }

        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #a0aec0;
        }

        input[type="text"] {
            width: 100%;
            padding: 0.8rem 1rem 0.8rem 2.5rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1rem;
            transition: all var(--transition-fast);
            background-color: #f8fafc;
        }

        input[type="text"]:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.3);
            background-color: white;
        }

        select {
            padding: 0.8rem 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1rem;
            background-color: #f8fafc;
            cursor: pointer;
            transition: all var(--transition-fast);
            color: var(--dark);
        }

        select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.3);
            background-color: white;
        }

        button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: all var(--transition-fast);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            box-shadow: var(--shadow-sm);
        }

        button:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        button:active {
            transform: translateY(0);
        }

        .content {
            padding: 1rem 2rem 2rem;
        }

        .loading {
            text-align: center;
            padding: 3rem 0;
            color: #6b7280;
            animation: pulse 1.5s infinite;
        }

        .loading i {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .error {
            background-color: #fee2e2;
            border-left: 4px solid var(--danger);
            color: #b91c1c;
            padding: 1rem 1.5rem;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            animation: slideIn 0.3s ease;
        }

        .error i {
            font-size: 1.5rem;
            margin-right: 1rem;
        }

        .bill-info {
            background: linear-gradient(to right, #f0f9ff, #e0f2fe);
            border-radius: var(--border-radius);
            padding: 1.5rem;
            margin-bottom: 2rem;
            animation: fadeIn 0.5s ease;
            position: relative;
            overflow: hidden;
        }

        .bill-info::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100px;
            height: 100px;
            background-image: radial-gradient(circle, rgba(67, 97, 238, 0.1) 0%, rgba(67, 97, 238, 0) 70%);
            border-radius: 50%;
        }

        .bill-info h2 {
            margin-bottom: 1rem;
            color: var(--primary-dark);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .bill-info p {
            margin: 0.7rem 0;
            display: flex;
            align-items: center;
        }

        .bill-info p i {
            width: 24px;
            margin-right: 0.5rem;
            color: var(--primary);
        }

        .bill-info p strong {
            margin-right: 0.5rem;
            min-width: 100px;
        }

        .bill-info p span {
            font-weight: 500;
        }

        .tabs {
            display: flex;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid #e5e7eb;
            position: relative;
        }

        .tab {
            padding: 1rem 1.5rem;
            cursor: pointer;
            font-weight: 600;
            color: #6b7280;
            transition: all var(--transition-fast);
            border-bottom: 2px solid transparent;
            margin-bottom: -2px;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
        }

        .tab:hover {
            color: var(--primary);
        }

        .tab.active {
            color: var(--primary);
            border-bottom: 2px solid var(--primary);
        }

        .tab-indicator {
            position: absolute;
            bottom: -2px;
            height: 2px;
            background-color: var(--primary);
            transition: all var(--transition);
        }

        .tab-content {
            animation: fadeIn 0.4s ease;
        }

        .item-list {
            list-style-type: none;
            padding: 0;
        }

        .item {
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
            margin-bottom: 1rem;
            overflow: hidden;
            transition: all var(--transition-fast);
            animation: slideIn 0.3s ease;
            position: relative;
            border: 1px solid #e5e7eb;
        }

        .item:hover {
            box-shadow: var(--shadow);
            transform: translateY(-2px);
        }

        .item-content {
            display: flex;
            justify-content: space-between;
            padding: 1.5rem;
        }

        .item-details {
            flex-grow: 1;
        }

        .item-name {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: var(--dark);
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .telugu-name {
            font-size: 1rem;
            color: #4b5563;
            margin-bottom: 0.5rem;
            font-weight: 600;
            border-left: 2px solid #e5e7eb;
            padding-left: 0.5rem;
            transition: all var(--transition-fast);
        }

        .item:hover .telugu-name {
            border-left-color: var(--primary);
        }

        .item-meta {
            color: #6b7280;
            font-size: 0.9rem;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .meta-item i {
            color: var(--primary);
            font-size: 0.9rem;
        }

        .item-actions {
            display: flex;
            gap: 0.5rem;
            align-items: flex-start;
            flex-wrap: wrap;
        }

        .btn-sm {
            padding: 0.5rem 0.8rem;
            font-size: 0.85rem;
            font-weight: 500;
        }

        .btn-success {
            background-color: var(--success);
        }

        .btn-success:hover {
            background-color: #0da271;
        }

        .btn-warning {
            background-color: var(--warning);
        }

        .btn-warning:hover {
            background-color: #d97706;
        }

        .btn-danger {
            background-color: var(--danger);
        }

        .btn-danger:hover {
            background-color: #dc2626;
        }

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

        .btn-outline:hover {
            background-color: rgba(67, 97, 238, 0.1);
            color: var(--primary-dark);
        }

        .badge {
            display: inline-flex;
            align-items: center;
            padding: 0.3rem 0.6rem;
            border-radius: 9999px;
            font-size: 0.8rem;
            font-weight: 600;
            white-space: nowrap;
            gap: 0.3rem;
        }

        .badge-packed {
            background-color: #d1fae5;
            color: #065f46;
        }

        .badge-missing {
            background-color: #fee2e2;
            color: #b91c1c;
        }

        .badge-outofstock {
            background-color: #fef3c7;
            color: #92400e;
        }

        .report-actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 2rem;
            gap: 1rem;
        }

        .report-actions button {
            min-width: 150px;
        }

        .empty-state {
            text-align: center;
            padding: 2rem;
            color: #6b7280;
        }

        .empty-state i {
            font-size: 3rem;
            color: #d1d5db;
            margin-bottom: 1rem;
        }

        .empty-state p {
            font-size: 1.1rem;
            margin-bottom: 1rem;
        }

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

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

        @keyframes pulse {
            0% { opacity: 0.6; }
            50% { opacity: 1; }
            100% { opacity: 0.6; }
        }

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

        @media (max-width: 768px) {
            .container {
                margin: 0;
                border-radius: 0;
                box-shadow: none;
            }

            .search-container {
                margin: -1rem 1rem 1rem;
            }

            .content {
                padding: 1rem;
            }

            .item-content {
                flex-direction: column;
                gap: 1rem;
            }

            .item-actions {
                justify-content: flex-start;
                width: 100%;
            }

            .item-meta {
                grid-template-columns: 1fr;
            }
        }