/**
 * Sold Tickets Widget Styles
 */

.ve-sold-tickets-widget {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* No Access State */
.ve-sold-tickets-widget.ve-no-access {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    color: #666;
}

/* Toolbar */
.ve-tickets-toolbar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.ve-filters-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.ve-filters-left {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.ve-filters-right {
    display: flex;
    gap: 10px;
}

.ve-filter-group {
    display: flex;
    gap: 5px;
}

/* Search */
.ve-search-group {
    flex: 1;
    min-width: 200px;
}

.ve-search-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}

.ve-search-input:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.1);
}

.ve-search-input::placeholder {
    color: #9ca3af;
}

/* Dropdowns Group */
.ve-dropdowns-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Filter Buttons */
.ve-filter-btn {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #374151;
}

.ve-filter-btn:hover {
    background: #e5e7eb;
}

.ve-filter-btn.active {
    background: #2271b1;
    color: #ffffff;
    border-color: #2271b1;
}

/* Filter Select */
.ve-filter-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    min-width: 150px;
}

.ve-filter-select:focus {
    outline: none;
    border-color: #2271b1;
}

/* Export Button */
.ve-export-btn {
    padding: 8px 16px;
    background: #059669;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ve-export-btn:hover {
    background: #047857;
}

.ve-export-btn svg {
    width: 16px;
    height: 16px;
}

/* View Content */
.ve-view-content {
    display: none;
}

.ve-view-content.active {
    display: block;
}

/* Table Wrapper */
.ve-tickets-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

/* Tickets Table */
.ve-tickets-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.ve-tickets-table th,
.ve-tickets-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.ve-tickets-table th {
    background: #f8f9fa;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1d2327;
    white-space: nowrap;
}

.ve-tickets-table tbody tr:last-child td {
    border-bottom: none;
}

.ve-tickets-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.ve-tickets-table tbody tr:hover {
    background: #f5f5f5;
}

/* Ticket Type Info Cell */
.ve-ticket-type-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ve-ticket-type-info .ve-ticket-type-name {
    font-weight: 500;
}

.ve-ticket-type-info .ve-ticket-slot-label {
    font-size: 12px;
    color: #6b7280;
}

/* Ticket Code Cell */
.ve-ticket-code-cell {
    display: flex;
    align-items: center;
    vertical-align: middle;
    gap: 8px;
}

.ve-tickets-table td.ve-ticket-code-cell {
    vertical-align: middle;
}

.ve-qr-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.ve-qr-btn:hover {
    background: #e5e7eb;
}

.ve-qr-btn svg {
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.ve-ticket-code-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ve-ticket-code {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ve-ticket-code-info .ve-status-badge {
    width: fit-content;
}

/* Status Badge */
.ve-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.ve-status-badge.ve-status-checked-in {
    background: #dcfce7;
    color: #166534;
}

.ve-status-badge.ve-status-not-checked-in {
    background: #fef3c7;
    color: #854d0e;
}

/* Actions Dropdown */
.ve-actions-cell {
    width: 48px;
    text-align: center;
}

.ve-actions-dropdown {
    position: relative;
    display: inline-block;
}

.ve-actions-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ve-actions-btn:hover {
    background: #e5e7eb;
}

.ve-actions-btn svg {
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.ve-actions-menu {
    position: fixed;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.ve-actions-dropdown.open .ve-actions-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ve-action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: none;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: left;
}

.ve-action-item:first-child {
    border-radius: 7px 7px 0 0;
}

.ve-action-item:last-child {
    border-radius: 0 0 7px 7px;
}

.ve-action-item:hover {
    background: #f3f4f6;
}

.ve-action-item svg {
    flex-shrink: 0;
    color: #6b7280;
}

/* Loading */
.ve-loading-row td {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-style: italic;
}

.ve-loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-style: italic;
}

/* Empty State */
.ve-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #6b7280;
}

.ve-empty-state p {
    margin: 0;
    font-size: 16px;
}

/* Pagination */
.ve-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.ve-pagination-btn {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ve-pagination-btn:hover:not(:disabled) {
    background: #f3f4f6;
}

.ve-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ve-pagination-info {
    font-size: 14px;
    color: #6b7280;
}

/* Summary View */
.ve-tickets-summary-view {
    padding: 0;
}

.ve-summary-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.ve-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.ve-summary-header-count {
    font-size: 14px;
    color: #6b7280;
    white-space: nowrap;
}

.ve-summary-header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ve-summary-event-name {
    font-weight: 700;
    font-size: 18px;
    color: #1d2327;
}

.ve-summary-header-title {
    font-weight: 500;
    font-size: 14px;
    color: #4b5563;
}

.ve-summary-datetime {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.ve-summary-date,
.ve-summary-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ve-summary-date::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-size: contain;
}

.ve-summary-time::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
    background-size: contain;
}

.ve-summary-table {
    width: 100%;
    border-collapse: collapse;
}

.ve-summary-table th,
.ve-summary-table td {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.ve-summary-table th {
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    background: #fafafa;
}

.ve-summary-table tbody tr:last-child td {
    border-bottom: none;
}

.ve-summary-table .ve-ticket-type-name {
    font-weight: 500;
}

.ve-summary-table .ve-summary-stat {
    font-weight: 600;
}

.ve-summary-table .ve-summary-stat.ve-stat-sold {
    color: #2271b1;
}

.ve-summary-table .ve-summary-stat.ve-stat-valid {
    color: #059669;
}

.ve-summary-table .ve-summary-stat.ve-stat-used {
    color: #6b7280;
}

.ve-summary-table .ve-summary-stat.ve-stat-revenue {
    color: #1d2327;
}

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

.ve-qr-modal-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    max-width: 320px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.ve-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.ve-modal-close:hover {
    background: #f3f4f6;
}

.ve-qr-modal-body {
    text-align: center;
}

.ve-qr-modal-body img {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
    background: #ffffff;
}

.ve-qr-modal-code {
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    padding: 12px;
    background: #f3f4f6;
    border-radius: 6px;
    color: #1d2327;
}

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

.ve-transfer-modal-content {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.ve-transfer-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
}

.ve-transfer-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.ve-transfer-modal-close:hover {
    background: #f3f4f6;
}

.ve-transfer-modal-body {
    padding: 24px;
}

.ve-transfer-warning {
    margin: 0 0 20px;
    padding: 12px 16px;
    background: #fef3c7;
    border-radius: 6px;
    color: #854d0e;
    font-size: 14px;
    border-left: 4px solid #f59e0b;
}

.ve-transfer-form-group {
    margin-bottom: 20px;
}

.ve-transfer-form-group:last-child {
    margin-bottom: 0;
}

.ve-transfer-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1d2327;
    font-size: 14px;
}

.ve-transfer-form-group input[type="text"],
.ve-transfer-form-group input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
    box-sizing: border-box;
}

.ve-transfer-form-group input[type="text"]:focus,
.ve-transfer-form-group input[type="email"]:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.1);
}

.ve-transfer-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0 0 12px 12px;
}

.ve-transfer-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.ve-transfer-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.ve-transfer-btn-secondary:hover {
    background: #e5e7eb;
}

.ve-transfer-btn-primary {
    background: #2271b1;
    color: #ffffff;
}

.ve-transfer-btn-primary:hover {
    background: #135e96;
}

.ve-transfer-btn-primary:disabled {
    background: #93c5fd;
    cursor: not-allowed;
}

.ve-transfer-loading,
.ve-transfer-error {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}

.ve-transfer-error {
    color: #dc2626;
}

.ve-transfer-form-group input.ve-field-error {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

/* Change Slot Modal */
.ve-change-slot-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.ve-change-slot-modal-content {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.ve-change-slot-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
}

.ve-change-slot-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.ve-change-slot-modal-close:hover {
    background: #f3f4f6;
}

.ve-change-slot-modal-body {
    padding: 24px;
}

.ve-change-slot-warning {
    margin: 0 0 20px;
    padding: 12px 16px;
    background: #fef3c7;
    border-radius: 6px;
    color: #854d0e;
    font-size: 14px;
    border-left: 4px solid #f59e0b;
}

.ve-change-slot-current {
    background: #f3f4f6;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ve-change-slot-current h4,
.ve-change-slot-form h4 {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
}

.ve-change-slot-current p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #1d2327;
}

.ve-change-slot-current p:last-child {
    margin-bottom: 0;
}

.ve-change-slot-form .ve-form-group {
    margin-bottom: 16px;
}

.ve-change-slot-form .ve-form-group:last-child {
    margin-bottom: 0;
}

.ve-change-slot-form .ve-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #374151;
}

.ve-change-slot-form .ve-filter-select {
    width: 100%;
}

.ve-change-slot-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0 0 12px 12px;
}

#ve-change-slot-content .ve-loading,
#ve-change-slot-content .ve-error {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}

#ve-change-slot-content .ve-error {
    color: #dc2626;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .ve-tickets-toolbar {
        gap: 12px;
    }

    .ve-filters-row {
        flex-direction: column;
        gap: 12px;
    }

    .ve-filters-left {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .ve-search-group {
        width: 100%;
        min-width: 0;
    }

    .ve-dropdowns-group {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .ve-filter-select {
        width: 100%;
        min-width: 0;
    }

    .ve-filter-group {
        width: 100%;
        display: flex;
    }

    .ve-filter-btn {
        flex: 1;
        text-align: center;
        padding: 10px 8px;
        font-size: 13px;
        white-space: nowrap;
    }

    .ve-filters-right {
        width: 100%;
    }

    .ve-export-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }

    .ve-tickets-table th,
    .ve-tickets-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .ve-ticket-code {
        font-size: 12px;
    }

    .ve-pagination {
        flex-wrap: wrap;
    }

    /* Summary view mobile */
    .ve-summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 16px;
    }

    .ve-summary-datetime {
        flex-wrap: wrap;
        gap: 8px;
    }

    .ve-summary-event-name {
        font-size: 16px;
    }

    .ve-summary-table th,
    .ve-summary-table td {
        padding: 10px 16px;
    }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
    /* Hide table, show card view */
    .ve-tickets-table thead {
        display: none;
    }

    .ve-tickets-table,
    .ve-tickets-table tbody {
        display: block;
        width: 100%;
    }

    .ve-tickets-table {
        border: none;
        background: transparent;
    }

    .ve-tickets-table tbody tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 16px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        margin-bottom: 12px;
        padding: 16px;
        position: relative;
    }

    .ve-tickets-table tbody tr:nth-child(even) {
        background: #fff;
    }

    .ve-tickets-table tbody tr:hover {
        background: #fafafa;
    }

    .ve-tickets-table td {
        display: block;
        border: none;
        padding: 0;
        text-align: left;
        word-break: break-word;
    }

    .ve-tickets-table td:before {
        content: attr(data-label);
        display: block;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #9ca3af;
        margin-bottom: 3px;
    }

    /* Ticket code cell - full width header */
    .ve-tickets-table td.ve-ticket-code-cell {
        grid-column: 1 / -1;
        padding-bottom: 12px;
        margin-bottom: 4px;
        border-bottom: 1px solid #f0f0f0;
    }

    .ve-tickets-table td.ve-ticket-code-cell:before {
        display: none;
    }

    .ve-ticket-code-cell {
        flex-direction: row;
        align-items: center;
    }

    .ve-ticket-code {
        font-size: 14px;
    }

    /* Actions cell - position in top right */
    .ve-tickets-table td.ve-actions-cell {
        position: absolute;
        top: 14px;
        right: 14px;
        width: auto;
        padding: 0;
    }

    .ve-tickets-table td.ve-actions-cell:before {
        display: none;
    }

    /* Email - full width on its own row */
    .ve-tickets-table td[data-label="Email"] {
        grid-column: 1 / -1;
        font-size: 13px;
    }

    /* Summary table mobile */
    .ve-summary-table thead {
        display: none;
    }

    .ve-summary-table,
    .ve-summary-table tbody,
    .ve-summary-table tr,
    .ve-summary-table td {
        display: block;
        width: 100%;
    }

    .ve-summary-table tbody tr {
        padding: 12px 16px;
        border-bottom: 1px solid #f3f4f6;
    }

    .ve-summary-table td {
        padding: 4px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .ve-summary-table td:before {
        content: attr(data-label);
        font-size: 12px;
        color: #6b7280;
    }

    .ve-summary-table td.ve-ticket-type-name {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 6px;
        display: block;
    }

    .ve-summary-table td.ve-ticket-type-name:before {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Single column on very small screens */
    .ve-tickets-table tbody tr {
        grid-template-columns: 1fr;
    }

    .ve-filter-btn {
        padding: 10px 6px;
        font-size: 12px;
    }

    .ve-qr-modal-content {
        padding: 20px;
    }

    .ve-qr-modal-body img {
        max-width: 150px;
    }

    .ve-qr-modal-code {
        font-size: 14px;
    }

    .ve-transfer-modal-content {
        max-width: 100%;
        margin: 10px;
    }

    .ve-transfer-modal-header,
    .ve-transfer-modal-body,
    .ve-transfer-modal-footer {
        padding: 16px;
    }

    .ve-transfer-modal-footer {
        flex-direction: column;
    }

    .ve-transfer-btn {
        width: 100%;
        text-align: center;
    }

    .ve-pagination {
        gap: 8px;
    }

    .ve-pagination-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .ve-pagination-info {
        width: 100%;
        text-align: center;
        order: -1;
    }
}
