/* csv-data-table.css */

.csv-data-table-frontend {
    margin-top: 20px;
    margin-bottom: 20px;
}

#csv-data-input {
    width: 100%;
    max-width: 800px;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 100px;
}

.csv-data-table-admin-controls button {
    margin-right: 10px;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.csv-data-table-admin-controls button.button-primary {
    background-color: #0073aa;
    color: white;
}

.csv-data-table-admin-controls button {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
}

#csv-data-message {
    margin-top: 10px;
    font-weight: bold;
}

#csv-data-search {
    width: 100%;
    max-width: 300px;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

#csv-data-display table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#csv-data-display th,
#csv-data-display td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#csv-data-display th {
    background-color: #f2f2f2;
    font-weight: bold;
}

#csv-data-display tr:nth-child(even) {
    background-color: #f9f9f9;
}

#csv-data-display tr:hover {
    background-color: #f1f1f1;
}

#csv-data-display p {
    color: #555;
}
.csv-input-container {
    /* Removed width: 40%; as it was causing issues */
}