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

        body {
            font-family: Arial, sans-serif;
            background-color: #1a1a1a;
            color: #ffffff;
            margin: 0;
            padding: 0;
            height: 100vh;
            overflow-x: hidden;
            display: flex;
            justify-content: center;
        }

        .container {
            height: 100vh;
            display: flex;
            flex-direction: column;
            max-width: 600px;
            width: 100%;
        }


        .scanner-section {
            height: 50.33vh;
            position: relative;
            background: #000;
            flex-shrink: 0;
        }

        .reset-area {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 10;
            cursor: pointer;
            background: transparent;
        }

        #video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .scanner-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 200px;
            height: 200px;
            border: 2px solid #4CAF50;
            border-radius: 10px;
            pointer-events: none;
        }

        .controls {
            padding: 15px;
            text-align: center;
            flex-shrink: 0;
            background-color: #2a2a2a;
        }

        button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 12px 24px;
            font-size: 14px;
            border-radius: 5px;
            cursor: pointer;
            margin: 5px;
            transition: background-color 0.3s;
            min-width: 120px;
        }

        button:hover {
            background-color: #45a049;
        }

        button:disabled {
            background-color: #666;
            cursor: not-allowed;
        }

        .results-section {
            flex: 1;
            overflow-y: auto;
            padding: 15px;
            background-color: #1a1a1a;
        }

        .ticket-info {
            background-color: #2a2a2a;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 15px;
        }

        .ticket-info h3 {
            color: #4CAF50;
            margin-bottom: 15px;
            font-size: 1.2em;
        }

        .ticket-details {
            display: grid;
            gap: 15px;
        }

        .ticket-item {
            background-color: #1a1a1a;
            border: 2px solid #4CAF50;
            border-radius: 8px;
            padding: 15px;
            text-align: center;
        }

        .ticket-label {
            color: #4CAF50;
            font-weight: bold;
            font-size: 0.9em;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .ticket-value {
            color: #fff;
            font-family: monospace;
            font-size: 1.1em;
            font-weight: bold;
            word-break: break-all;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .ticket-value:hover {
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 5px;
        }

        .result-container {
            background-color: #2a2a2a;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 15px;
        }

        .result-container h3 {
            color: #4CAF50;
            margin-bottom: 15px;
        }

        #qr-result {
            background-color: #1a1a1a;
            border: 1px solid #444;
            border-radius: 5px;
            padding: 15px;
            word-wrap: break-word;
            font-family: monospace;
            font-size: 14px;
            margin-bottom: 15px;
            min-height: 50px;
        }

        .extracted-values {
            background-color: #1a1a1a;
            border: 1px solid #444;
            border-radius: 5px;
            padding: 15px;
        }

        .value-item {
            margin-bottom: 10px;
            padding: 10px;
            background-color: #333;
            border-radius: 3px;
        }

        .value-label {
            color: #4CAF50;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .value-content {
            color: #fff;
            font-family: monospace;
        }


        @media (max-width: 480px) {
            button {
                padding: 10px 18px;
                font-size: 13px;
                min-width: 100px;
            }
            
            .ticket-item {
                padding: 12px;
            }
            
            .ticket-value {
                font-size: 1em;
            }
        }