/* Custom Customer Insights Styles */

.cci-table-container {
    margin-bottom: 30px;
    font-family: Arial, sans-serif;
}

.cci-table-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.cci-table-wrapper {
    /* Styles for the div that might be scrollable */
}

.cci-customer-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    background-color: #fff;
}

.cci-customer-table th,
.cci-customer-table td {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    text-align: left;
    vertical-align: middle;
}

.cci-customer-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #555;
    text-transform: uppercase;
    font-size: 0.9em;
}

.cci-customer-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.cci-customer-table tbody tr:hover {
    background-color: #f0f0f0;
}

.cci-badge {
    width: 32px; 
    height: 32px; 
    vertical-align: middle;
    margin-right: 5px;
    border-radius: 50%; 
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.cci-badge-none { /* Style for "no badge" if needed, e.g., transparent or hidden */
    /* opacity: 0.5; */
}

.cci-scrollable-table {
    max-height: 400px; 
    overflow-y: auto;
    border: 1px solid #ddd; 
}

.cci-scrollable-table .cci-customer-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #f5f5f5; 
}

.cci-no-data, .cci-no-data-row {
    padding: 15px;
    text-align: center;
    color: #777;
}


@media screen and (max-width: 768px) {
    .cci-customer-table th,
    .cci-customer-table td {
        padding: 8px 10px;
        font-size: 0.9em;
    }
    .cci-table-title {
        font-size: 1.3em;
    }
    .cci-table-container { /* Changed from cci-table-wrapper for this rule */
        overflow-x: auto; 
    }
}