
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .etp-wrap {
            margin: 20px;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            max-width: 100%;
            overflow-x: hidden;
        }
        .etp-card {
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            padding: 24px;
            margin-bottom: 24px;
            border: 1px solid #e5e7eb;
            overflow: hidden;
        }
        .etp-stat-number {
            font-size: 36px;
            font-weight: bold;
            color: #6366f1;
            line-height: 1.2;
        }
        .etp-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 24px;
            margin-bottom: 24px;
        }
        .etp-btn {
            background: #6366f1;
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            font-weight: 500;
            transition: all 0.2s;
        }
        .etp-btn:hover {
            background: #4f46e5;
            transform: translateY(-1px);
        }
        .etp-btn-danger {
            background: #ef4444;
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            font-weight: 500;
            text-decoration: none;
            display: inline-block;
            transition: all 0.2s;
        }
        .etp-btn-danger:hover {
            background: #dc2626;
            transform: translateY(-1px);
        }
        .etp-btn-success {
            background: #10b981;
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            font-weight: 500;
            text-decoration: none;
            display: inline-block;
            transition: all 0.2s;
        }
        .etp-btn-success:hover {
            background: #059669;
            transform: translateY(-1px);
        }
        .etp-btn-secondary {
            background: #6b7280;
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.2s;
        }
        .etp-btn-secondary:hover {
            background: #4b5563;
            transform: translateY(-1px);
        }
        .etp-btn-secondary:disabled {
            background: #9ca3af;
            cursor: not-allowed;
        }
        .etp-table {
            width: 100%;
            max-width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 12px;
            overflow: hidden;
        }
        .etp-table-wrapper {
            width: calc(100% + 48px);
            margin: -24px;
            max-width: calc(100% + 48px);
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            box-sizing: border-box;
            display: block;
            padding: 24px;
        }
        .etp-table th,
        .etp-table td {
            padding: 14px 16px;
            text-align: left;
            border-bottom: 1px solid #e5e7eb;
            white-space: nowrap;
        }
        .etp-table th {
            background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
            font-weight: 700;
            color: #1f2937;
            position: sticky;
            top: 0;
            z-index: 10;
        }
        .etp-table tbody tr {
            transition: background-color 0.2s ease;
        }
        .etp-table tbody tr:hover {
            background: #f9fafb;
        }
        .etp-table tbody tr:last-child td {
            border-bottom: none;
        }
        .etp-badge {
            padding: 4px 10px;
            border-radius: 9999px;
            font-size: 12px;
            font-weight: 500;
            display: inline-block;
        }
        .etp-badge-paid {
            background: #d1fae5;
            color: #065f46;
        }
        .etp-badge-pending {
            background: #fed7aa;
            color: #92400e;
        }
        .etp-badge-active {
            background: #dbeafe;
            color: #1e40af;
        }
        .etp-badge-used {
            background: #fee2e2;
            color: #991b1b;
        }
        .etp-form-group {
            margin-bottom: 20px;
        }
        .etp-form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #374151;
        }
        .etp-form-group input,
        .etp-form-group select,
        .etp-form-group textarea {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            font-size: 14px;
            transition: border 0.2s;
        }
        .etp-form-group input:focus,
        .etp-form-group select:focus,
        .etp-form-group textarea:focus {
            outline: none;
            border-color: #6366f1;
            box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
        }
        .etp-form-group input[type=\"file\"] {
            padding: 12px;
            border: 2px dashed #9ca3af;
            border-radius: 8px;
            cursor: pointer;
            background: #f9fafb;
            transition: all 0.2s;
        }
        .etp-form-group input[type=\"file\"]:hover {
            border-color: #6366f1;
            background: #f3f4f6;
        }
        .etp-form-group input[type=\"file\"]:focus {
            border-color: #6366f1;
            background: #f3f4f6;
            box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
        }
        .etp-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            align-items: flex-start;
            justify-content: center;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            padding: 20px 0;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
            pointer-events: none;
        }
        .etp-modal.active {
            display: flex;
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }
        body.modal-open {
            overflow: hidden;
        }
        .etp-modal-content {
            background: white;
            padding: 32px;
            width: 500px;
            max-width: 90%;
            border-radius: 20px;
            max-height: none;
            overflow-y: auto;
            margin: 20px auto;
            flex-shrink: 0;
        }
        @media (max-width: 768px) {
            .etp-modal {
                align-items: flex-start;
                padding: 10px 0;
            }
            .etp-modal-content {
                width: 95%;
                padding: 20px;
                margin: 10px auto;
                max-height: none;
                overflow-y: auto;
            }
        }
        .etp-event-card {
            overflow: hidden;
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            background: white;
        }
        .etp-event-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.15);
        }
        .scanner-container {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }
        #qr-reader {
            width: 100%;
            max-width: 500px;
            margin: 0 auto;
            border-radius: 16px;
            overflow: hidden;
        }
        #qr-reader video {
            width: 100%;
            border-radius: 16px;
        }
        .scanner-status {
            padding: 12px;
            border-radius: 8px;
            margin-top: 16px;
        }
        @media (max-width: 768px) {
            .etp-wrap {
                margin: 10px;
                overflow: hidden;
            }
            .etp-grid {
                grid-template-columns: 1fr;
            }
            .etp-table {
                font-size: 13px;
                min-width: fit-content;
            }
            .etp-table th,
            .etp-table td {
                padding: 10px 12px;
            }
            .etp-table-wrapper {
                max-height: 60vh;
                border: 1px solid #e5e7eb;
                width: 100%;
                max-width: 100%;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                display: block;
                box-sizing: border-box;
            }
            .etp-btn,
            .etp-btn-secondary,
            .etp-btn-danger,
            .etp-btn-success {
                padding: 10px 16px;
                font-size: 14px;
                display: inline-block;
            }
        }
        
        /* Ticket Types Styling */
        .ticket-type-option {
            transition: all 0.3s ease;
        }

        .ticket-type-option:hover {
            border-color: #6366f1 !important;
            background: #f0f0ff;
        }

        .ticket-type-option input[type='radio']:checked + div {
            color: #6366f1;
        }

        .ticket-type-row {
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Ticket type badge in admin */
        .ticket-type-badge {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 600;
            margin-right: 4px;
        }

        .ticket-type-vip {
            background: #fbbf24;
            color: #78350f;
        }

        .ticket-type-vvip {
            background: #ec4899;
            color: #831843;
        }

        .ticket-type-ordinary {
            background: #60a5fa;
            color: #1e3a8a;
        }
        