/* Assets: trwctotals-admin.css */

.woocommerce-totals-report {
    max-width: 1200px;
    margin: 20px 0 20px 0;
    background-color: #f8f9fb;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.woocommerce-totals-report h1 {
    color: #3c434a;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.export-buttons {
    margin-top: 30px;
    margin-bottom: 20px;
}

.export-buttons h2 {
    color: #3c434a;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.export-buttons .button {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 20px;
    background-color: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.export-buttons .button:hover {
    background-color: #005a8c;
}

.report-sections {
    background-color: white;
    border-radius: 6px;
    border: 1px solid #e0e4e8;
}

.report-section {
    padding: 20px;
    border-bottom: 1px solid #e0e4e8;
}

.report-section:last-child {
    border-bottom: none;
}

.report-section h2 {
    color: #3c434a;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    border-bottom: 1px solid #e0e4e8;
    padding-bottom: 10px;
}

.wp-list-table {
    width: 100%;
    border-collapse: collapse;
}

.wp-list-table th {
    background-color: #f1f1f1;
    font-weight: 600;
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e0e4e8;
}

.wp-list-table td {
    padding: 10px;
    border-bottom: 1px solid #f1f1f1;
}

.wp-list-table tr:last-child td {
    border-bottom: none;
}

/* Pagination styles */
.tablenav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1em 0;
}

.tablenav-pages {
    margin-left: auto;
}

.tablenav-pages .pagination-links {
    display: inline-block;
    margin-left: 10px;
}

.tablenav-pages .pagination-links a,
.tablenav-pages .pagination-links span {
    display: inline-block;
    min-width: 28px;
    text-align: center;
    padding: 3px 5px;
    margin: 0 2px;
    border: 1px solid #ddd;
    background: #f7f7f7;
    text-decoration: none;
    border-radius: 3px;
}

.tablenav-pages .pagination-links span.current {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.tablenav-pages .pagination-links a:hover {
    background: #e5e5e5;
}

.alignleft.actions {
    display: flex;
    align-items: center;
}

.alignleft.actions select {
    margin-right: 5px;
}

/* Responsive Design */
@media screen and (max-width: 782px) {
    .woocommerce-totals-report {
        width: 100%;
        margin: 0;
        padding: 10px;
        box-shadow: none;
    }

    .export-buttons .button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .tablenav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tablenav-pages {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
    
    .alignleft.actions {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .alignleft.actions select,
    .alignleft.actions input {
        margin-bottom: 5px;
    }
}