body {
    background: #1a1a1a;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* NFT Item Checkbox Styling */
.nft-item-checkbox-label {
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.nft-item-checkbox-label:hover {
    background: #f0f0f0 !important;
    border-color: #dc2626 !important;
}

.nft-item-checkbox-label:has(input:checked) {
    background: #fff5f5 !important;
    border-color: #dc2626 !important;
    border-width: 2px !important;
}

.nft-item-checkbox {
    accent-color: #dc2626;
    cursor: pointer;
}

.nft-items-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.header {
    background: linear-gradient(135deg, #352626 0%, #aa1717 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-content {
    max-width: auto;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: bold;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}
.back-btn, .logout-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}
.back-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}
.logout-btn {
    background: rgba(220, 38, 38, 0.8);
}
.logout-btn:hover {
    background: rgba(220, 38, 38, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}
.corporate-dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #1a1a1a;
}
.corporate-dashboard-sidebar {
    width: 250px;
    background: #2a2a2a;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}
.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid #404040;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}
.sidebar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}
.sidebar-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}
.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}
.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    color: #ccc;
}
.nav-item:hover {
    background: #3a3a3a;
    color: #dc2626;
}
.nav-item.active {
    background: #3a1a1a;
    color: #dc2626;
    border-left-color: #dc2626;
}
.nav-icon {
    font-size: 1.2rem;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}
.nav-text {
    font-weight: 500;
}
.main-content {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}
.content-header {
    background: #2a2a2a;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 25px;
    border: 1px solid #404040;
}
.content-title {
    font-size: 2rem;
    color: white;
    margin: 0 0 8px 0;
}
.content-subtitle {
    color: #ccc;
    font-size: 1rem;
    margin: 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.stat-card {
    background: #2a2a2a;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #404040;
}
.stat-card:hover {
    transform: translateY(-2px);
    border-color: #dc2626;
}
.stat-icon {
    font-size: 2.5rem;
    color: #dc2626;
    margin-bottom: 15px;
}
.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}
.stat-label {
    color: #ccc;
    font-size: 0.9rem;
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}
.btn-primary {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}
.btn-primary:hover {
    background: #45a049;
}
.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}
.btn-secondary:hover {
    background: #5a6268;
}
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed;
    min-width: 800px;
}
.table th,
.table td {
    padding: 8px 6px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem;
    line-height: 1.2;
}
.table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
    position: sticky;
    top: 0;
    z-index: 10;
}
.table tr:hover {
    background: #f5f5f5;
}

/* Specific column widths for branding table */
.table th:nth-child(1), .table td:nth-child(1) { width: 12%; } /* PREVIEW */
.table th:nth-child(2), .table td:nth-child(2) { width: 18%; } /* ASSET NAME */
.table th:nth-child(3), .table td:nth-child(3) { width: 15%; } /* GAME */
.table th:nth-child(4), .table td:nth-child(4) { width: 15%; } /* SLOT */
.table th:nth-child(5), .table td:nth-child(5) { width: 20%; } /* STATUS */
.table th:nth-child(6), .table td:nth-child(6) { width: 20%; } /* SUBM */

/* Branding table container */
.branding-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: white;
}

/* Ensure table is responsive */
@media screen and (max-width: 1200px) {
    .table {
        min-width: 700px;
    }
    
    .table th,
    .table td {
        padding: 8px 6px;
        font-size: 0.9rem;
    }
}

/* Additional table improvements */
.table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 20px 0;
}

/* Table header styling */
.table thead th {
    background: #2c3e50;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border: none;
}

/* Table body styling */
.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

.table tbody td {
    border-top: 1px solid #e9ecef;
    vertical-align: middle;
}

/* Badge styling for status */
.badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.2rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Force table font size and layout fixes */
.branding-table-container .table,
.branding-table-container table,
#branding-table-container .table,
#branding-table-container table {
    font-size: 0.75rem !important;
    min-width: 900px !important;
    table-layout: fixed !important;
}

.branding-table-container .table th,
.branding-table-container .table td,
#branding-table-container .table th,
#branding-table-container .table td {
    padding: 6px 4px !important;
    font-size: 0.75rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Force column widths */
.branding-table-container .table th:nth-child(1),
.branding-table-container .table td:nth-child(1),
#branding-table-container .table th:nth-child(1),
#branding-table-container .table td:nth-child(1) { 
    width: 10% !important; 
}

.branding-table-container .table th:nth-child(2),
.branding-table-container .table td:nth-child(2),
#branding-table-container .table th:nth-child(2),
#branding-table-container .table td:nth-child(2) { 
    width: 20% !important; 
}

.branding-table-container .table th:nth-child(3),
.branding-table-container .table td:nth-child(3),
#branding-table-container .table th:nth-child(3),
#branding-table-container .table td:nth-child(3) { 
    width: 15% !important; 
}

.branding-table-container .table th:nth-child(4),
.branding-table-container .table td:nth-child(4),
#branding-table-container .table th:nth-child(4),
#branding-table-container .table td:nth-child(4) { 
    width: 15% !important; 
}

.branding-table-container .table th:nth-child(5),
.branding-table-container .table td:nth-child(5),
#branding-table-container .table th:nth-child(5),
#branding-table-container .table td:nth-child(5) { 
    width: 25% !important; 
}

.branding-table-container .table th:nth-child(6),
.branding-table-container .table td:nth-child(6),
#branding-table-container .table th:nth-child(6),
#branding-table-container .table td:nth-child(6) { 
    width: 15% !important; 
}

/* Force badge sizes */
.branding-table-container .badge,
#branding-table-container .badge {
    padding: 1px 4px !important;
    font-size: 0.65rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Additional force rules for immediate effect */
table.table,
.table,
.branding-table-container table,
#branding-table-container table {
    font-size: 0.75rem !important;
    min-width: 900px !important;
    table-layout: fixed !important;
}

table.table th,
table.table td,
.table th,
.table td,
.branding-table-container table th,
.branding-table-container table td,
#branding-table-container table th,
#branding-table-container table td {
    padding: 6px 4px !important;
    font-size: 0.75rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Force all badges to be smaller */
.badge,
.badge-pending,
.badge-approved,
.badge-rejected {
    padding: 1px 4px !important;
    font-size: 0.65rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* CRITICAL: Force immediate table fixes - Version 2.0 */
.branding-table-container *,
#branding-table-container * {
    box-sizing: border-box !important;
}

.branding-table-container table,
#branding-table-container table {
    font-size: 0.7rem !important;
    min-width: 1000px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.branding-table-container table th,
.branding-table-container table td,
#branding-table-container table th,
#branding-table-container table td {
    padding: 12px 4px !important;
    font-size: 0.7rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    border: 1px solid #ddd !important;
}

/* Force column widths with higher specificity */
.branding-table-container table th:nth-child(1),
.branding-table-container table td:nth-child(1),
#branding-table-container table th:nth-child(1),
#branding-table-container table td:nth-child(1) { 
    width: 15% !important; 
    min-width: 60px !important;
    text-align: center;
}

.branding-table-container table th:nth-child(2),
.branding-table-container table td:nth-child(2),
#branding-table-container table th:nth-child(2),
#branding-table-container table td:nth-child(2) { 
    width: 18% !important; 
    min-width: 120px !important;
    text-align: center;
}

.branding-table-container table th:nth-child(3),
.branding-table-container table td:nth-child(3),
#branding-table-container table th:nth-child(3),
#branding-table-container table td:nth-child(3) { 
    width: 14% !important; 
    min-width: 100px !important;
    text-align: center;
}

.branding-table-container table th:nth-child(4),
.branding-table-container table td:nth-child(4),
#branding-table-container table th:nth-child(4),
#branding-table-container table td:nth-child(4) { 
    width: 14% !important; 
    min-width: 100px !important;
    text-align: center;
}

.branding-table-container table th:nth-child(5),
.branding-table-container table td:nth-child(5),
#branding-table-container table th:nth-child(5),
#branding-table-container table td:nth-child(5) { 
    width: 28% !important; 
    min-width: 150px !important;
    text-align: center;
}

.branding-table-container table th:nth-child(6),
.branding-table-container table td:nth-child(6),
#branding-table-container table th:nth-child(6),
#branding-table-container table td:nth-child(6) { 
    width: 18% !important; 
    min-width: 100px !important;
    text-align: center;
}

.badge-pending {
    background-color: #ffc107;
    color: #212529;
}

.badge-approved {
    background-color: #28a745;
    color: white;
}

.badge-rejected {
    background-color: #dc3545;
    color: white;
}


/* Action Button Styles */
.action-buttons-container {
    display: flex;
    gap: 3px;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    flex-direction: row;
}

.action-btn {
    border: none;
    padding: 4px 6px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
}

.action-btn-preview {
    background: #28a745;
    color: white;
}

.action-btn-edit {
    background: #ffc107;
    color: #212529;
}

.action-btn-delete {
    background: #dc3545;
    color: white;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.action-btn-preview:hover {
    background: #218838;
}

.action-btn-edit:hover {
    background: #e0a800;
}

.action-btn-delete:hover {
    background: #c82333;
}

.action-btn i {
    font-size: 0.7rem;
}

/* Desktop Action Button Styles */
@media screen and (min-width: 769px) {
    .action-buttons-container {
        flex-direction: row !important;
        gap: 3px !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
    }
    
    .action-btn {
        min-width: 28px !important;
        min-height: 28px !important;
        padding: 4px 6px !important;
        font-size: 0.75rem !important;
    }
    
    .action-btn i {
        font-size: 0.7rem !important;
    }
}

/* Table and Container Styles */
.branding-table-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.table-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.table-controls {
    display: block;
}

.search-filter-group {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

#pixelpaddle-filter-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
}

.search-input-container {
    position: relative;
    flex: 1 1 auto;
    min-width: 200px;
    max-width: 400px;
}

.search-input {
    padding: 10px 12px 10px 35px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
    min-width: 200px;
    outline: none;
    transition: border-color 0.3s;
}

.search-icon {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1rem;
    pointer-events: none;
}

.filter-select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    min-width: 140px;
    flex: 0 1 auto;
    max-width: 200px;
}

.filter-btn {
    background: #090927;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: auto;
}

.filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.clear-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: auto;
}

.clear-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.items-per-page-select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    min-width: 120px;
    flex-shrink: 0;
    width: auto !important;
}

.pagination-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 1rem;
    flex-wrap: wrap;
    gap: 10px;
}

.table-container {
    overflow-x: auto;
    padding: 0 15px;
}

.branding-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.table-header-row {
    background: #090927;
    color: white;
}

.table-header-cell {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-header-cell-center {
    text-align: center;
}

.table-row {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.table-row:hover {
    background: #e3f2fd;
}

.table-cell {
    padding: 12px;
    vertical-align: middle;
    text-align: center;
    font-size: 1rem;
}

.table-cell-left {
    text-align: left;
}

.no-data-container {
    padding: 40px;
    text-align: center;
    color: #6c757d;
}

.no-data-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.no-data-icon {
    font-size: 2rem;
    color: #dee2e6;
}

.no-data-title {
    margin: 0;
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 500;
}

.no-data-text {
    margin: 5px 0 0 0;
    color: #999;
    font-size: 0.9rem;
}

.clear-filters-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.clear-filters-btn:hover {
    background: #0056b3;
}

/* Status Badge Styles */
.status-badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-badge-pending {
    background-color: #ffc107;
    color: #000;
}

.status-badge-approved {
    background-color: #28a745;
    color: #fff;
}

.status-badge-rejected {
    background-color: #dc3545;
    color: #fff;
}


/* Image Preview Styles */
.image-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 5px;
    border: 2px solid #ddd;
}

/* Empty State Styles */
.empty-state {
    padding: 60px;
    text-align: center;
    color: #666;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: #090927;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-icon i {
    font-size: 2rem;
    color: white;
}

.empty-state-title {
    margin: 0 0 10px 0;
    color: #333;
    font-weight: 600;
}

.empty-state-text {
    margin: 0 0 30px 0;
    color: #666;
    font-size: 1rem;
}

.add-first-asset-btn {
    background: #090927;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.add-first-asset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.add-first-asset-btn i {
    margin-right: 8px;
}
.chart-container {
    position: relative;
    height: 300px;
    margin: 20px 0;
    background: white;
    padding: 20px;
    border-radius: 10px;
}
.game-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}
.game-slot {
    background: #3a3a3a;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #4CAF50;
}
.game-slot i {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.game-slot-title {
    color: white;
    font-weight: bold;
    margin-bottom: 5px;
}
.game-slot-subtitle {
    color: #ccc;
    font-size: 0.85rem;
}
.loading {
    text-align: center;
    padding: 40px;
    color: #ccc;
}
/* Game Preview Modal Styles */
#gamePreviewModal {
    backdrop-filter: blur(5px);
}

#gamePreviewModal .preview-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

#game-preview-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    image-rendering: optimize-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

#overlay-banner-left,
#overlay-banner-right {
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    image-rendering: high-quality;
    image-rendering: optimize-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

#overlay-banner-left {
    display: none;
}

#overlay-banner-right {
    display: none;
}

#preview-btn {
    background: #2196F3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#preview-btn:hover {
    background: #1976D2;
}

#preview-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Game Preview Modals - Base Styles */
.game-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.preview-modal-content {
    background: white;
    border-radius: 15px;
    padding: 10px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    /* border-bottom: 2px solid #f0f0f0; */
    /* padding-bottom: 15px; */
}

.preview-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: transparent;
    color: #333;
}

.preview-body {
    text-align: center;
    margin-bottom: 20px;
}

.preview-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.preview-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.preview-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Zoom Controls */
.preview-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.zoom-btn {
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 60px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    margin: 2px;
}

.zoom-btn:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.zoom-btn.zoom-in {
    background: #28a745;
}

.zoom-btn.zoom-in:hover {
    background: #1e7e34;
}

.zoom-btn.zoom-out {
    background: #dc3545;
}

.zoom-btn.zoom-out:hover {
    background: #c82333;
}

.zoom-btn.zoom-reset {
    background: #6c757d;
}

.zoom-btn.zoom-reset:hover {
    background: #545b62;
}

.zoom-btn::before {
    font-size: 12px;
    font-weight: bold;
}

.zoom-btn.zoom-in::before {
    content: "+";
}

.zoom-btn.zoom-out::before {
    content: "-";
}

.zoom-btn.zoom-reset::before {
    content: "⌂";
}

/* Mobile zoom button adjustments */
@media screen and (max-width: 768px) {
    .zoom-btn {
        padding: 4px 8px !important;
        font-size: 10px !important;
        min-width: 50px !important;
        margin: 1px !important;
    }

    .game-preview-image {
        height: auto !important;
        width: 100%;
    }
    
    .zoom-btn::before {
        font-size: 10px !important;
    }
    
    .preview-controls {
        display: flex !important;
        gap: 4px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    .table-controls {
        display: block;
    }
    .search-filter-group {
        flex-direction: column;
        gap: 10px;
    }
    .search-input-container {
        width: 100%;
    }
    .search-input {
        width: 100%;
        min-width: 100%;
    }
    .search-icon {
        right: 12px;
        left: auto;
    }
    .filter-select {
        width: 100%;
        min-width: 100%;
    }
    .filter-btn,
    .clear-btn {
        width: 100%;
    }
}

/* Universal Game Preview Container */
.game-preview-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin: 20px auto;
    transition: transform 0.3s ease;
    transform-origin: center center;
    z-index: 1;
}

/* Universal Banner Overlay */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Universal Banner Styles */
.banner-left,
.banner-right,
.banner-single {
    position: absolute;
    opacity: 0.8;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    image-rendering: high-quality;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

/* Ensure controls stay visible */
.preview-controls {
    position: relative;
    z-index: 10;
    background: #f8f9fa !important;
    border: 2px solid #e9ecef !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Preview body container */
.preview-body {
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Wicket Keeping Preview Styles */
.wicket-keeping-modal {
    border-left: 5px solid #2196F3;
}

.wicket-keeping-preview-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin: 20px auto;
}

.wicket-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wicket-banner-left,
.wicket-banner-right {
    position: absolute;
    /* opacity: 0.8; */
    object-fit: cover;
    /* BRANDING DEFAULT STYLE */
    /* border-radius: 5px; */
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.5); */
    /* border: 2px solid rgba(255, 255, 255, 0.3); */
    image-rendering: high-quality;
}

.wicket-banner-left {
    display: none;
}

/* NFT Mint Items – Wicket Keeping (separate classes for custom styling) */
.nft-wicket-container {
    /* Example: slightly stronger glow for NFT previews (independent of branding) */
    box-shadow: 0 10px 40px rgba(33, 150, 243, 0.6);
}

.nft-wicket-overlay {
    /* Match base overlay, but keeps hook for NFT-only overrides */
    pointer-events: none;
}

.nft-wicket-banner-left,
.nft-wicket-banner-right {
    /* NFT-ONLY OVERRIDES (branding keeps original style above) */
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.wicket-banner-right {
    display: none;
}

/* Mini Games Preview Styles */
.mini-games-preview-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin: 0px auto 0px auto;
}

.mini-games-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mini-games-banner {
    position: absolute;
    top: 27%;
    left: 39.5%;
    width: 20.5%;
    height: 61%;
    display: block;
    object-fit: fill;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    image-rendering: high-quality;
}

.longest-six-preview-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin: 0px auto 0px auto;
}

.longest-six-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.longest-six-banner {
    position: absolute;
    /* opacity: 0.8; */
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    image-rendering: high-quality;
    display: none;
}

.tip-balance-preview-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin: 0px auto 0px auto;
}

.tip-balance-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tip-balance-banner {
    position: absolute;
    /* opacity: 0.8; */
    object-fit: cover;
    /* BRANDING DEFAULT STYLE */
    /* border-radius: 5px; */
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.5); */
    /* border: 2px solid rgba(255, 255, 255, 0.3); */
    image-rendering: high-quality;
    display: none;
}

/* NFT Mint Items – Tip Balance (separate classes for custom styling) */
.nft-tip-balance-container {
    /* Example: warmer glow for Tip Balance NFT previews (independent of branding) */
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.6);
}

.nft-tip-balance-banner {
    /* NFT-ONLY OVERRIDES (branding keeps original style above) */
    border-radius: 0;
    box-shadow: none;
    border: none;
}

/* Explore Metaverse Preview Styles */

.explore-metaverse-preview-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin: 0px auto 0px auto;
}

.explore-metaverse-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.explore-metaverse-banner {
    position: absolute;
    /* opacity: 0.8; */
    object-fit: fill;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    image-rendering: high-quality;
    display: none;
}

.standies-metaverse-preview-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin: 0px auto 0px auto;
}

.standies-metaverse-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.standies-metaverse-banner {
    position: absolute;
    /* opacity: 0.8; */
    object-fit: inherit;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    image-rendering: high-quality;
    display: none;
}

/* Pixel Cricket Preview Styles */
.pixel-cricket-preview-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin: 20px auto;
}

.pixel-cricket-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pixel-cricket-banner {
    position: absolute;
    object-fit: fill;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    image-rendering: high-quality;
    display: none;
}

/* Slot 1 Banner - Customize position here */
#pixel-cricket-banner-slot-1.slot-1-banner {
    top: 39.5%;
    left: 68%;
    width: 15%;
    height: 12.5%;
    transform: rotate(-5.5deg);
}

/* Slot 2 Banner - Customize position here */
#pixel-cricket-banner-slot-2.slot-2-banner {
    top: 51%;
    left: 43.5%;
    width: 14%;
    height: 13%;
    transform: rotate(-1.5deg);
}

/* Slot 3 Banner - Customize position here */
#pixel-cricket-banner-slot-3.slot-3-banner {
    top: 49.5%;
    left: 45.5%;
    width: 13.7%;
    height: 12.5%;
    transform: rotate(-2deg);
}

/* Slot 4 Banner - Customize position here */
#pixel-cricket-banner-slot-4.slot-4-banner {
    top: 53%;
    left: 51%;
    width: 12.5%;
    height: 11.3%;
    transform: rotate(-1deg);
}

/* Game Preview Image Styles */
.game-preview-image {
    max-width: 100%;
    height: 700px;
    display: block;
    image-rendering: high-quality;
    image-rendering: optimize-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.standies-metaverse-preview-container .game-preview-image, .explore-metaverse-preview-container .game-preview-image , .mini-games-preview-container .game-preview-image {
    height: 400px;
}

/* Head Soccer Preview Styles */

.head-soccer-preview-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin: 0px auto 0px auto;
}

.head-soccer-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.head-soccer-banner {
    position: absolute;
    object-fit: cover;
    /* border-radius: 5px; */
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.5); */
    /* border: 2px solid rgba(255, 255, 255, 0.3); */
    /* image-rendering: high-quality; */
    display: none;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .corporate-dashboard-container {
        flex-direction: column !important;
        /* min-height: auto !important; */
    }
    
    .corporate-dashboard-sidebar {
        width: 100% !important;
        position: relative !important;
        box-shadow: none !important;
        border-bottom: 1px solid #404040;
    }
    
    .main-content {
        padding: 20px 15px !important;
        width: 100% !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .stat-card {
        padding: 15px !important;
    }
    
    .header {
        padding: 15px !important;
    }
    
    .header-content {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .user-info {
        text-align: center !important;
    }
    
    .header-buttons {
        justify-content: center !important;
    }
    
    .nav-item {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
    
    .content-header {
        padding: 20px 10px !important;
    }
    
    .content-title {
        font-size: 1.2rem !important;
    }
    
    .content-subtitle {
        font-size: 0.8rem !important;
    }
    
    /* Mobile heading adjustments */
    h1, h2, h3, h4, h5, h6 {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        margin: 8px 0 !important;
    }
    
    h1 { font-size: 1.4rem !important; }
    h2 { font-size: 1.2rem !important; }
    h3 { font-size: 1.1rem !important; }
    h4 { font-size: 1rem !important; }
    h5 { font-size: 0.9rem !important; }
    h6 { font-size: 0.8rem !important; }
    
    /* Enhanced mobile layout fixes */
    .corporate-dashboard-container {
        min-height: 100vh !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Fix header layout */
    .header {
        padding: 10px 15px !important;
        position: relative !important;
        width: 100% !important;
    }
    
    .header-content {
        flex-direction: column !important;
        gap: 8px !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    .logo {
        text-align: center !important;
        margin-bottom: 8px !important;
    }
    
    .logo img {
        max-width: 100px !important;
        height: auto !important;
    }
    
    .user-info {
        text-align: center !important;
        margin: 5px 0 !important;
        font-size: 0.9rem !important;
    }
    
    .header-buttons {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    .back-btn, .logout-btn {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
        min-width: auto !important;
    }
    
    /* Fix sidebar for mobile */
    .corporate-dashboard-sidebar {
        width: 100% !important;
        position: relative !important;
        box-shadow: none !important;
        border-bottom: 2px solid #404040 !important;
        order: 2 !important;
    }
    
    .sidebar-nav {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        padding: 8px 0 !important;
        gap: 5px !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .nav-item {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
        white-space: nowrap !important;
        min-width: auto !important;
        flex-shrink: 0 !important;
        border-radius: 15px !important;
    }
    
    .nav-icon {
        font-size: 0.8rem !important;
        margin-right: 4px !important;
    }
    
    /* Fix main content */
    .main-content {
        padding: 10px 8px !important;
        width: 100% !important;
        order: 3 !important;
        margin: 0 !important;
    }
    
    .content-header {
        padding: 12px 8px !important;
        margin-bottom: 12px !important;
        text-align: center !important;
    }
    
    .content-title {
        font-size: 1.2rem !important;
        margin-bottom: 4px !important;
    }
    
    .content-subtitle {
        font-size: 0.8rem !important;
    }
    
    /* Fix stats grid */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin: 10px 0 !important;
    }
    
    .stat-card {
        padding: 10px !important;
        text-align: center !important;
    }
    
    .stat-number {
        font-size: 1.3rem !important;
    }
    
    .stat-label {
        font-size: 0.75rem !important;
    }
    
    /* Fix buttons */
    .btn-primary, .btn-secondary {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
        width: 100% !important;
        margin: 4px 0 !important;
    }
    
    /* Fix tables for mobile */
    .branding-table-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
        background: white !important;
        margin: 10px 0 !important;
    }
    
    .table {
        font-size: 0.7rem !important;
        min-width: 800px !important;
        table-layout: fixed !important;
    }
    
    .table th, .table td {
        padding: 6px 4px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 0.7rem !important;
        line-height: 1.1 !important;
    }
    
    /* Mobile column adjustments */
    .table th:nth-child(1), .table td:nth-child(1) { width: 10% !important; } /* PREVIEW */
    .table th:nth-child(2), .table td:nth-child(2) { width: 18% !important; } /* ASSET NAME */
    .table th:nth-child(3), .table td:nth-child(3) { width: 15% !important; } /* GAME */
    .table th:nth-child(4), .table td:nth-child(4) { width: 15% !important; } /* SLOT */
    .table th:nth-child(5), .table td:nth-child(5) { width: 22% !important; } /* STATUS */
    .table th:nth-child(6), .table td:nth-child(6) { width: 20% !important; } /* SUBM */
    
    /* Mobile badge adjustments */
    .badge {
        padding: 1px 4px !important;
        font-size: 0.65rem !important;
        line-height: 1 !important;
    }
}

/* Additional mobile optimizations for very small screens */
@media screen and (max-width: 480px) {
    .corporate-dashboard-container {
        padding: 0 !important;
        min-height: 100vh !important;
    }
    
    .table-controls {
        display: block;
    }
    .search-filter-group {
        flex-direction: column;
        gap: 10px;
    }
    .search-input-container {
        width: 100%;
    }
    .search-input {
        width: 100%;
        min-width: 100%;
    }
    .search-icon {
        right: 2px;
        left: auto;
    }
    .filter-select {
        width: 100%;
        min-width: 100%;
    }
    .filter-btn,
    .clear-btn {
        width: 100%;
    }

    .header {
        padding: 8px 10px !important;
    }
    
    .header-content {
        gap: 6px !important;
    }
    
    .logo img {
        width: 80px !important;
        height: auto !important;
    }
    
    .user-info {
        font-size: 0.8rem !important;
    }
    
    .back-btn, .logout-btn {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }
    
    .main-content {
        padding: 8px 5px !important;
    }
    
    .content-header {
        padding: 10px 5px !important;
    }
    
    .content-title {
        font-size: 1rem !important;
    }
    
    .content-subtitle {
        font-size: 0.7rem !important;
    }
    
    /* Extra small mobile heading adjustments */
    h1, h2, h3, h4, h5, h6 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
        margin: 6px 0 !important;
    }
    
    h1 { font-size: 1.2rem !important; }
    h2 { font-size: 1.1rem !important; }
    h3 { font-size: 1rem !important; }
    h4 { font-size: 0.9rem !important; }
    h5 { font-size: 0.8rem !important; }
    h6 { font-size: 0.7rem !important; }
    
    /* Modal headings on small screens */
    .modal h1, .modal h2, .modal h3, .modal h4, .modal h5, .modal h6 {
        font-size: 0.9rem !important;
        margin: 4px 0 !important;
    }
    
    .preview-header h2 {
        font-size: 1rem !important;
    }
    
    /* Dashboard main headings */
    .dashboard-title,
    .page-title,
    .section-title {
        font-size: 1.1rem !important;
        margin: 6px 0 !important;
    }
    
    /* Card headings */
    .card-title,
    .stat-label {
        font-size: 0.8rem !important;
        margin: 4px 0 !important;
    }
    
    /* Navigation headings */
    .nav-title,
    .sidebar-title {
        font-size: 0.9rem !important;
        margin: 4px 0 !important;
    }
    
    /* General mobile heading overrides */
    .header h1,
    .header h2,
    .header h3,
    .main-content h1,
    .main-content h2,
    .main-content h3 {
        font-size: 1.1rem !important;
        margin: 6px 0 !important;
    }
    
    /* Table headings */
    .table th {
        font-size: 0.7rem !important;
        padding: 4px 2px !important;
    }
    
    /* Button text */
    .btn {
        font-size: 0.8rem !important;
    }
    

    .stats-grid {
        gap: 6px !important;
    }
    
    .stat-card {
        padding: 8px !important;
    }
    
    .stat-number {
        font-size: 1.2rem !important;
    }
    
    .stat-label {
        font-size: 0.7rem !important;
    }
    
    .nav-item {
        padding: 4px 8px !important;
        font-size: 0.7rem !important;
    }
    
    .btn-primary, .btn-secondary {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
    
    /* Extra small mobile action button styles */
    .action-buttons-container {
        flex-direction: row !important;
        gap: 2px !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .action-btn {
        padding: 3px 5px !important;
        font-size: 0.6rem !important;
        min-width: 24px !important;
        min-height: 24px !important;
        flex: 1 !important;
    }
    
    .action-btn i.fas {
        font-size: 0.6rem !important;
    }
    
    .modal-content {
        margin: 5px !important;
        max-width: calc(100% - 10px) !important;
        padding: 15px !important;
    }
    
    .table {
        font-size: 0.65rem !important;
        min-width: 600px !important;
        table-layout: fixed !important;
    }
    
    .table th, .table td {
        padding: 4px 2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 0.65rem !important;
        line-height: 1 !important;
    }
    
    /* Extra small screen column adjustments */
    .table th:nth-child(1), .table td:nth-child(1) { width: 8% !important; } /* PREVIEW */
    .table th:nth-child(2), .table td:nth-child(2) { width: 20% !important; } /* ASSET NAME */
    .table th:nth-child(3), .table td:nth-child(3) { width: 15% !important; } /* GAME */
    .table th:nth-child(4), .table td:nth-child(4) { width: 15% !important; } /* SLOT */
    .table th:nth-child(5), .table td:nth-child(5) { width: 22% !important; } /* STATUS */
    .table th:nth-child(6), .table td:nth-child(6) { width: 20% !important; } /* SUBM */
    
    /* Extra small screen badge adjustments */
    .badge {
        padding: 1px 3px !important;
        font-size: 0.6rem !important;
        line-height: 1 !important;
    }
}

/* Ensure mobile styles take priority and fix any remaining issues */
@media screen and (max-width: 768px) {
    * {
        box-sizing: border-box;
    }
    
    body {
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    /* Force mobile layout */
    .corporate-dashboard-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-height: 100vh !important;
    }
    
    /* Ensure proper mobile header */
    .header {
        position: relative !important;
        width: 100% !important;
        z-index: 1000 !important;
    }
    
    /* Mobile navigation improvements */
    .sidebar-nav {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    
    .sidebar-nav::-webkit-scrollbar {
        display: none !important;
    }
    
    /* Ensure content is properly sized */
    .main-content {
        flex: 1 !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Fix any potential layout issues */
    .tab-panel {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Ensure modals work on mobile */
    .modal {
        padding: 10px !important;
    }
    
    .modal-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    /* General mobile search and filter controls */
    /* #branding-table-container div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
    }
     */
    /* General mobile action button icons */
    #branding-table-container button i.fas {
        font-size: 0.75rem !important;
    }
    
    #branding-table-container button {
        padding: 5px 8px !important;
        font-size: 0.75rem !important;
        min-width: 30px !important;
        min-height: 30px !important;
    }
    
    /* Mobile action button styles */
    .action-buttons-container {
        flex-direction: row !important;
        gap: 4px !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .action-btn {
        padding: 4px 6px !important;
        font-size: 0.7rem !important;
        min-width: 28px !important;
        min-height: 28px !important;
        flex: 1 !important;
    }
    
    /* Pagination controls on mobile */
    /* #branding-table-container div[style*="justify-content: space-between"] {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
        margin-top: 15px !important;
    } */
    
    /* Mobile action button icons - make smaller */
    #branding-table-container button i.fas {
        font-size: 0.7rem !important;
    }
    
    #branding-table-container button {
        padding: 4px 6px !important;
        font-size: 0.7rem !important;
        min-width: 28px !important;
        min-height: 28px !important;
    }
    
    /* Override button width on mobile - remove auto width */
    #branding-table-container button[style*="width: auto !important"],
    #branding-table-container button {
        width: 100% !important;
        flex: 1 !important;
        max-width: none !important;
    }
}

/* NFT Customizer Styles */
.nft-tab-btn {
    padding: 0.8rem;
    background: rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.3);
    color: #dc2626;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nft-tab-btn:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.6);
}

.nft-tab-btn.active {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: #dc2626;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
    color: #fff;
}

.nft-tab-content {
    display: none;
}

.nft-tab-content.active {
    display: block;
}

#nft-customizer-canvas {
    background: transparent;
}

#nft-logos-container .nft-logo-item {
    background: rgba(220, 38, 38, 0.08);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

#nft-logos-container .nft-logo-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.8rem;
}

#nft-logos-container .nft-logo-preview {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

#nft-logos-container .nft-logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#nft-logos-container .nft-logo-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

#nft-logos-container .nft-logo-controls > div {
    display: flex;
    flex-direction: column;
}

#nft-logos-container .nft-logo-controls input {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 5px;
    font-size: 0.8rem;
}

/* NFT Table Container - Match Branding Table Style */
.nft-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: white;
}

/* NFT Table - Compact Inline Style */
.nft-table-container table.branding-table,
.nft-table-container .branding-table {
    font-size: 0.85rem !important;
    min-width: 1200px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    width: 100%;
}

.nft-table-container table.branding-table th,
.nft-table-container table.branding-table td,
.nft-table-container .branding-table th,
.nft-table-container .branding-table td {
    padding: 10px 6px !important;
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    border: 1px solid #ddd !important;
}

/* NFT Table Column Widths */
.nft-table-container table.branding-table th:nth-child(1),
.nft-table-container table.branding-table td:nth-child(1) {
    width: 6% !important;
    min-width: 55px !important;
    text-align: center;
}

.nft-table-container table.branding-table th:nth-child(2),
.nft-table-container table.branding-table td:nth-child(2) {
    width: 12% !important;
    min-width: 100px !important;
}

.nft-table-container table.branding-table th:nth-child(3),
.nft-table-container table.branding-table td:nth-child(3) {
    width: 10% !important;
    min-width: 80px !important;
    text-align: center;
}

.nft-table-container table.branding-table th:nth-child(4),
.nft-table-container table.branding-table td:nth-child(4) {
    width: 23% !important;
    min-width: 100px !important;
    text-align: left;
    padding-left: 10px !important;
}

.nft-table-container table.branding-table th:nth-child(5),
.nft-table-container table.branding-table td:nth-child(5) {
    width: 8% !important;
    min-width: 70px !important;
    text-align: center;
}

.nft-table-container table.branding-table th:nth-child(6),
.nft-table-container table.branding-table td:nth-child(6) {
    width: 10% !important;
    min-width: 80px !important;
    text-align: center;
}

.nft-table-container table.branding-table th:nth-child(7),
.nft-table-container table.branding-table td:nth-child(7) {
    width: 8% !important;
    min-width: 70px !important;
    text-align: center;
}

.nft-table-container table.branding-table th:nth-child(8),
.nft-table-container table.branding-table td:nth-child(8) {
    width: 8% !important;
    min-width: 70px !important;
    text-align: center;
}

.nft-table-container table.branding-table th:nth-child(9),
.nft-table-container table.branding-table td:nth-child(9) {
    width: 10% !important;
    min-width: 80px !important;
    text-align: center;
}

.nft-table-container table.branding-table th:nth-child(10),
.nft-table-container table.branding-table td:nth-child(10) {
    width: 10% !important;
    min-width: 90px !important;
    text-align: center;
}

.nft-table-container table.branding-table th:nth-child(11),
.nft-table-container table.branding-table td:nth-child(11) {
    width: 9% !important;
    min-width: 80px !important;
    text-align: center;
}

/* Force smaller badges in NFT table */
.nft-table-container .badge,
.nft-table-container .status-badge {
    padding: 3px 6px !important;
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Mobile Responsive - NFT Table */
@media screen and (max-width: 1200px) {
    .nft-table-container table.branding-table {
        min-width: 1100px !important;
    }
    
    .nft-table-container table.branding-table th,
    .nft-table-container table.branding-table td {
        padding: 8px 5px !important;
        font-size: 0.8rem !important;
    }
}

@media screen and (max-width: 768px) {
    .nft-table-container table.branding-table {
        font-size: 0.75rem !important;
        min-width: 1000px !important;
    }
    
    .nft-table-container table.branding-table th,
    .nft-table-container table.branding-table td {
        padding: 6px 4px !important;
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
    }
    
    /* Smaller column widths on mobile */
    .nft-table-container table.branding-table th:nth-child(1),
    .nft-table-container table.branding-table td:nth-child(1) {
        width: 6% !important;
        min-width: 35px !important;
    }
    
    .nft-table-container table.branding-table th:nth-child(2),
    .nft-table-container table.branding-table td:nth-child(2) {
        width: 14% !important;
        min-width: 80px !important;
    }
    
    .nft-table-container table.branding-table th:nth-child(3),
    .nft-table-container table.branding-table td:nth-child(3),
    .nft-table-container table.branding-table th:nth-child(4),
    .nft-table-container table.branding-table td:nth-child(4) {
        width: 9% !important;
        min-width: 70px !important;
    }
    
    .nft-table-container table.branding-table th:nth-child(5),
    .nft-table-container table.branding-table td:nth-child(5),
    .nft-table-container table.branding-table th:nth-child(7),
    .nft-table-container table.branding-table td:nth-child(7),
    .nft-table-container table.branding-table th:nth-child(8),
    .nft-table-container table.branding-table td:nth-child(8) {
        width: 7% !important;
        min-width: 60px !important;
    }
    
    .nft-table-container table.branding-table th:nth-child(6),
    .nft-table-container table.branding-table td:nth-child(6) {
        width: 10% !important;
        min-width: 75px !important;
    }
    
    .nft-table-container table.branding-table th:nth-child(9),
    .nft-table-container table.branding-table td:nth-child(9),
    .nft-table-container table.branding-table th:nth-child(10),
    .nft-table-container table.branding-table td:nth-child(10) {
        width: 9% !important;
        min-width: 75px !important;
    }
    
    .nft-table-container table.branding-table th:nth-child(11),
    .nft-table-container table.branding-table td:nth-child(11) {
        width: 8% !important;
        min-width: 70px !important;
    }
    
    .nft-table-container .badge,
    .nft-table-container .status-badge {
        padding: 2px 5px !important;
        font-size: 0.7rem !important;
    }
}

@media screen and (max-width: 480px) {
    .nft-table-container table.branding-table {
        font-size: 0.7rem !important;
        min-width: 900px !important;
    }
    
    .nft-table-container table.branding-table th,
    .nft-table-container table.branding-table td {
        padding: 5px 3px !important;
        font-size: 0.7rem !important;
    }
    
    .nft-table-container .badge,
    .nft-table-container .status-badge {
        padding: 2px 4px !important;
        font-size: 0.65rem !important;
    }
}

/* NFT Table - Extracted Inline Styles */
.nft-table-container .preview-image-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nft-table-container .preview-image-wrapper:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

.nft-table-container .preview-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nft-table-container .table-cell-name {
    font-weight: 600;
    color: #333;
}

.nft-table-container .table-cell-name div {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    font-size: 0.9rem;
    text-wrap: auto;
    text-align: center;
}

.nft-table-container .badge-type {
    background-color: #007bff;
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.nft-table-container .badge-tier {
    background-color: rgb(41, 62, 66);
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.nft-table-container .badge-category {
    background-color: #17a2b8;
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.nft-table-container .table-cell-price {
    font-weight: 600;
    color: #333;
    font-size: 0.85rem;
}

.nft-table-container .table-cell-quantity {
    font-weight: 600;
    color: #dc2626;
    font-size: 0.85rem;
}

.nft-table-container .table-cell-date {
    color: #6c757d;
    font-size: 0.85rem !important;
}

.nft-table-container .badge-pending,
.nft-table-container .badge-approved,
.nft-table-container .badge-rejected {
    padding: 3px 6px;
    font-size: 0.75rem;
    line-height: 1.2;
}

.nft-table-container .action-btn-preview {
    background: #007bff;
    color: #fff;
}

.nft-table-container .action-btn-view {
    background: #e5e7eb;
    color: #111827;
}

.nft-table-container .clear-filters-btn i {
    margin-right: 5px;
}

.nft-table-container .table-pagination {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nft-table-container .pagination-btn {
    padding: 8px 16px;
    border: none;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nft-table-container .pagination-btn:hover:not(:disabled) {
    background: #fecaca;
    transform: translateY(-1px);
}

.nft-table-container .pagination-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.nft-table-container .pagination-info {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.nft-table-container .table-row:nth-child(even) {
    background: white;
}

.nft-table-container .table-row:nth-child(odd) {
    background: #f8f9fa;
}

/* Standalone pagination styles (for pagination outside nft-table-container) */
.table-pagination {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.table-pagination .pagination-info-left {
    color: #666;
    font-size: 0.9rem;
}

.table-pagination .pagination-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.table-pagination .pagination-number-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.table-pagination .pagination-number-btn:hover {
    background: #f8f9fa;
}

.table-pagination .pagination-number-btn.active {
    border: 1px solid #090927;
    background: #090927;
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(9, 9, 39, 0.3);
}

.table-pagination .pagination-number-btn.active:hover {
    background: #090927;
}

.table-pagination .pagination-ellipsis {
    padding: 8px 4px;
    color: #666;
}

.table-pagination .pagination-btn {
    padding: 8px 16px;
    border: none;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.table-pagination .pagination-btn:hover:not(:disabled) {
    background: #fecaca;
    transform: translateY(-1px);
}

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

.table-pagination .pagination-info {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}