/* table-styles.css */

body {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.table-container {
    max-width: 900px;
    width: 100%;
    overflow-x: auto;
    background: #fff;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 800px;
}

thead {
    background-color: #4a90e2;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
}

thead th {
    padding: 10px;
    text-align: left;
    font-size: 14px;
}

tbody tr:nth-child(even) {
    background-color: #f2f7fd;
}

tbody tr:nth-child(odd) {
    background-color: #e6eef9;
}

tbody td {
    padding: 8px;
    font-size: 12px;
}

tfoot {
    background-color: #d9e6f5;
    font-weight: bold;
}

tfoot th, tfoot td {
    padding: 10px;
    font-size: 13px;
}

/* Дополнительно: цвета для .positive и .neutral */
.positive {
    color: green;
    font-weight: bold;
}

.neutral {
    color: #888;
}

.page-header {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    padding: 10px 20px;
    background-color: #4a90e2;
    color: white;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-header h1 {
    margin: 0;
    font-size: 24px;
}
