/* Modern Table Styles */

.table-container {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #4CAF50 #e0e0e0;
}

.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
    font-size: 14px;
}

th,
td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

th {
    background-color: #f2f2f2;
    background: #f8f9fa;
    font-weight: 500;
    color: #333;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

/* Modern Customers Table Styles */
#customers-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
}

#customers-table th {
    background: #f8f9fa;
    color: #2E7D32;
    font-weight: 600;
    font-size: 14px;
    padding: 16px;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
    white-space: nowrap;
}

#customers-table td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

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

#customers-table .action-buttons {
    display: flex;
    gap: 8px;
}

/* Customer table row interactions */
.customer-row:hover {
    background-color: #f8f9fa !important;
    transition: background-color 0.2s ease;
}

.customer-row-active {
    background-color: #e3f2fd !important;
    border-left: 4px solid #1976d2;
}

.customer-actions-row {
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    border-bottom: 2px solid #1976d2;
}

.customer-actions-cell {
    padding: 16px 20px !important;
}

.customer-action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.customer-action-buttons button {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.customer-action-buttons .view-orders-btn {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border: 1px solid #90caf9;
}

.customer-action-buttons .view-orders-btn:hover {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(25, 118, 210, 0.3);
}

.customer-action-buttons .view-invoice-btn {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #7b1fa2;
    border: 1px solid #ce93d8;
}

.customer-action-buttons .view-invoice-btn:hover {
    background: linear-gradient(135deg, #e1bee7 0%, #ce93d8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(123, 31, 162, 0.3);
}

.customer-action-buttons .edit-btn {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #1b5e20;
    border: 1px solid #81c784;
}

.customer-action-buttons .edit-btn:hover {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(46, 125, 50, 0.3);
}

.customer-action-buttons .close-actions-btn {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    color: #666;
    border: 1px solid #ccc;
    font-size: 12px;
    min-width: 80px;
}

.customer-action-buttons .close-actions-btn:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#customers-table .action-buttons button {
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#customers-table .edit-btn {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #1b5e20;
    border: 1px solid #81c784;
}

#customers-table .edit-btn:hover {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

#customers-table .delete-btn {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
    border: 1px solid #ef9a9a;
}

#customers-table .delete-btn:hover {
    background: linear-gradient(135deg, #ffcdd2 0%, #ef9a9a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

#customers-table .view-orders-btn {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border: 1px solid #90caf9;
}

#customers-table .view-invoice-btn {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border: 1px solid #90caf9;
}

#customers-table .view-orders-btn:hover {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

/* Payments table button styles */
#payments-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

#payments-table th {
    background: #f5f5f5;
    padding: 12px 15px;
    text-align: left;
}

#payments-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

#payments-table .action-buttons button {
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#payments-table .view-orders-btn {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border: 1px solid #90caf9;
}

#payments-table .view-orders-btn:hover {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

#payments-table .pay-btn {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #1b5e20;
    border: 1px solid #81c784;
}

#payments-table .pay-btn:hover {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.view-btn {
    background: #4e73df;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.view-btn:hover {
    background: #2e59d9;
}

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

/* Customer info cell styles */
.customer-info-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-avatar {
    width: 40px;
    height: 40px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #2E7D32;
    flex-shrink: 0;
}

.customer-details {
    display: flex;
    flex-direction: column;
}

.customer-name {
    font-weight: 600;
    color: #333;
    margin: 0;
    font-size: 15px;
}

/* Truncate customer name to approx 10 characters with ellipsis; show full name on hover via title attribute */
.customer-name-cell {
    display: inline-block;
    max-width: 10ch; 
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .customer-name-cell {
        max-width: 12ch;
    }
}

.customer-id {
    color: #666;
    font-size: 13px;
    margin: 4px 0 0 0;
}

.customer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #444;
    font-size: 14px;
}

.contact-icon {
    color: #666;
    font-size: 16px;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.table-actions button {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    margin: 0;
}

.table-actions .primary-action {
    background: #e8f5e9;
    color: #2E7D32;
    border: 1px solid #c8e6c9;
}

.table-actions .primary-action:hover {
    background: #c8e6c9;
}

.table-actions .secondary-action {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.table-actions .secondary-action:hover {
    background: #e0e0e0;
}

.table-actions .danger-action {
    background: #fee8e7;
    color: #dc3545;
    border: 1px solid #fdd9d7;
}

.table-actions .danger-action:hover {
    background: #fdd9d7;
}

/* Customer cards grid */
.customer-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    padding: 16px 0;
}

.customer-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.customer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.customer-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.customer-info {
    flex: 1;
}

.customer-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
}

.detail-icon {
    color: #666;
    font-size: 16px;
}

.customer-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.customer-actions button {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    font-size: 13px;
    margin: 0;
}

/* Old customer table styles */
#customer-table {
    width: 100%;
    border-collapse: collapse;
}

#customer-table th {
    background: #f8f9fa;
    color: #2E7D32;
    font-weight: 600;
    font-size: 14px;
}

#customer-table td {
    font-size: 14px;
    color: #444;
}

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

#customer-table button {
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 6px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

#customer-table button:first-child {
    background: #e8f5e9;
    color: #2E7D32;
}

#customer-table button:first-child:hover {
    background: #c8e6c9;
}

#customer-table button:nth-child(2) {
    background: #ffebee;
    color: #d32f2f;
}

#customer-table button:nth-child(2):hover {
    background: #ffcdd2;
}

#customer-table button:nth-child(3) {
    background: #e3f2fd;
    color: #1976d2;
}

#customer-table button:nth-child(3):hover {
    background: #bbdefb;
}

#customer-table button:last-child {
    background: #f5f5f5;
    color: #666;
}

#customer-table button:last-child:hover {
    background: #e0e0e0;
}

/* Manage Customers Table Styles */
#manage-customers-section #customers-table {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-spacing: 0;
    table-layout: fixed;
    width: 100%;
}

#manage-customers-section #customers-table thead {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
}

#manage-customers-section #customers-table thead th {
    color: black;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border: none;
}

#manage-customers-section #customers-table tbody tr {
    border-bottom: 1px solid #f1f3f5;
    transition: all 0.3s ease;
    background: white;
}

#manage-customers-section #customers-table tbody tr:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#manage-customers-section #customers-table tbody td {
    padding: 18px 15px;
    font-size: 15px;
    color: #2d3748;
    font-weight: 500;
    border: none;
    vertical-align: middle;
}

#manage-customers-section #customers-table tbody tr td:first-child {
    color: #667eea;
    font-weight: 700;
    font-size: 16px;
}

#manage-customers-section #customers-table tbody tr td:nth-child(2) {
    font-weight: 600;
    color: #2d3748;
}

#manage-customers-section #customers-table tbody tr td:nth-child(3) {
    color: #718096;
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

/* Customer row active state */
#manage-customers-section .customer-row-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-left: 4px solid #4facfe !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3) !important;
}

#manage-customers-section .customer-row-active td {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Customer actions row */
#manage-customers-section .customer-actions-row {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 2px solid #4facfe;
    border-bottom: 2px solid #4facfe;
}

#manage-customers-section .customer-actions-cell {
    padding: 25px 40px !important;
}

/* Empty state styling */
#manage-customers-section .no-data-row td {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
    font-size: 18px;
    font-weight: 500;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#manage-customers-section .no-data-row td::before {
    content: '📝';
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.7;
}

/* Empty state styling for customer dashboard orders/payments */
#customer-dashboard .no-data-row td {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
    font-size: 18px;
    font-weight: 500;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#customer-dashboard .no-data-row td::before {
    content: '📝';
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.7;
}

/* Empty state styling for payments tables (admin & customer) */
#payments-section .no-data-row td,
#customer-payments-section .no-data-row td,
#payments-table .no-data-row td,
#customer-payments-table .no-data-row td,
.payment-table .no-data-row td {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
    font-size: 18px;
    font-weight: 500;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#payments-section .no-data-row td::before,
#customer-payments-section .no-data-row td::before,
#payments-table .no-data-row td::before,
#customer-payments-table .no-data-row td::before,
.payment-table .no-data-row td::before {
    content: '💳';
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.7;
}

/* Table styles improvement */
.table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    margin: 24px;
    overflow: hidden;
}

/* Responsive Table Styles */
@media (max-width: 768px) {
    .table-container {
        margin: 10px 0;
        padding: 10px;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .table-container table {
        min-width: 600px;
        margin: 0;
    }

    .table-container:before,
    .table-container:after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 24px;
        pointer-events: none;
        z-index: 2;
    }

    .table-container:before {
        left: 0;
        background: linear-gradient(to right, rgba(255,255,255,0.9), transparent);
    }

    .table-container:after {
        right: 0;
        background: linear-gradient(to left, rgba(255,255,255,0.9), transparent);
    }

    .table-container {
        margin: 10px 0;
        width: 100%;
        border-radius: 8px;
        background: #fff;
    }
    
    .table-container table {
        border-collapse: separate;
        border-spacing: 0;
        width: 100%;
    }
    
    th, td {
        padding: 12px 16px;
        font-size: 13px;
        white-space: nowrap;
        vertical-align: middle;
    }

    th {
        position: sticky;
        top: 0;
        background: #f8f9fa;
        z-index: 1;
        font-weight: 600;
    }

    td {
        border-bottom: 1px solid #f0f0f0;
    }

    td:first-child, th:first-child {
        position: sticky;
        left: 0;
        background: #fff;
        z-index: 2;
        box-shadow: 2px 0 5px -2px rgba(0,0,0,0.1);
    }

    th:first-child {
        background: #f8f9fa;
        z-index: 3;
    }

    tr:hover td {
        background-color: #f8f9fa;
    }

    tr:hover td:first-child {
        background-color: #f8f9fa;
    }

    td:last-child {
        padding-right: 40px;
    }

    .table-actions {
        white-space: nowrap;
        display: flex;
        gap: 8px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .table-actions button {
        padding: 8px 12px;
        min-width: auto;
        font-size: 13px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 32px;
        border-radius: 6px;
        white-space: nowrap;
    }

    .customer-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }
    
    .customer-card {
        padding: 16px;
    }

    /* Manage Customers Mobile Styles */
    #manage-customers-section {
        overflow-x: hidden;
        padding: 15px 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    #manage-customers-section .table-container {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    #manage-customers-section #customers-table {
        font-size: 12px;
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
        min-width: 0;
        border-collapse: collapse;
    }
    
    #manage-customers-section #customers-table thead th,
    #manage-customers-section #customers-table tbody td {
        padding: 10px 4px;
        font-size: 11px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 0;
        overflow: hidden;
    }
    
    #manage-customers-section #customers-table thead th {
        font-size: 10px;
        padding: 12px 4px;
        line-height: 1.2;
    }
    
    #manage-customers-section #customers-table thead th:first-child,
    #manage-customers-section #customers-table tbody td:first-child {
        width: 20%;
        font-size: 12px;
        font-weight: 600;
        text-align: center;
    }
    
    #manage-customers-section #customers-table thead th:nth-child(2),
    #manage-customers-section #customers-table tbody td:nth-child(2) {
        width: 80%;
        font-size: 12px;
        text-align: left;
        padding-left: 12px;
    }
    
    #manage-customers-section .customer-actions-row {
        background: transparent !important;
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
    }
    
    #manage-customers-section .customer-actions-cell {
        padding: 10px 6px !important;
        text-align: left;
        border: none !important;
        background: none !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    #manage-customers-section .customer-action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        max-width: none;
        margin: 0;
        justify-content: stretch;
    }
    
    #manage-customers-section .customer-action-buttons button {
        width: 100%;
        padding: 10px 12px;
        font-size: 10px;
        border-radius: 4px;
        border: none !important;
        outline: none !important;
        box-shadow: 0 1px 2px rgba(0,0,0,0.1);
        appearance: none;
        -webkit-appearance: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        justify-self: stretch;
        align-self: stretch;
    }
    
    #manage-customers-section .no-data-row td {
        padding: 40px 15px;
        font-size: 16px;
    }
    
    #manage-customers-section .no-data-row td::before {
        font-size: 36px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    #manage-customers-section #customers-table {
        font-size: 10px;
    }
    
    #manage-customers-section #customers-table thead th,
    #manage-customers-section #customers-table tbody td {
        padding: 8px 3px;
        font-size: 10px;
        line-height: 1.2;
        max-width: 0;
        overflow: hidden;
    }
    
    #manage-customers-section #customers-table thead th:nth-child(3),
    #manage-customers-section #customers-table tbody td:nth-child(3) {
        display: none;
    }
    
    #manage-customers-section #customers-table tbody tr td:nth-child(2) {
        max-width: none;
    }
    
    #manage-customers-section .customer-actions-cell::before {
        content: attr(data-phone);
        display: block;
        font-size: 12px;
        color: #666;
        margin-bottom: 10px;
        font-family: 'Courier New', monospace;
    }
    
    #manage-customers-section .customer-action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        width: 100%;
        max-width: none;
        margin: 0;
        justify-content: stretch;
    }
    
    #manage-customers-section .customer-action-buttons button {
        width: 100%;
        padding: 8px 10px;
        font-size: 8px;
        border: none !important;
        outline: none !important;
        appearance: none;
        -webkit-appearance: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        border-radius: 3px;
        justify-self: stretch;
        align-self: stretch;
    }
    
    #manage-customers-section .no-data-row td {
        padding: 30px 10px;
        font-size: 14px;
    }
    
    #manage-customers-section .no-data-row td::before {
        font-size: 28px;
        margin-bottom: 8px;
    }
}

/* Mobile override: ensure active customer row highlights fully (fixes sticky first-column masking violet background) */
@media (max-width: 768px) {
    #manage-customers-section .customer-row-active,
    #manage-customers-section .customer-row-active td {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: #fff !important;
    }

    /* Override the sticky first column background so it doesn't hide the active color */
    #manage-customers-section .customer-row-active td:first-child {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: #fff !important;
    }
}

@media (max-width: 480px) {
    #manage-customers-section .customer-row-active,
    #manage-customers-section .customer-row-active td {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: #fff !important;
    }

    #manage-customers-section .customer-row-active td:first-child {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: #fff !important;
    }
}
