* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fff;
    padding: 20px;
    color: #2c3e50;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.loading {
    text-align: center;
    padding: 60px 20px;
    color: #95a5a6;
}

.error {
    background: #fee;
    color: #c0392b;
    padding: 16px 20px;
    margin: 20px;
    border-radius: 4px;
    border-left: 3px solid #e74c3c;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-transform: uppercase;
}

thead {
    background: #fafafa;
    position: sticky;
    top: 0;
    z-index: 10;
}

th {
    padding: 10px 16px;
    font-weight: 600;
    font-size: 11px;
    color: #7f8c8d;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

th:not(:first-child) {
    text-align: right;
}

tbody tr {
    border-bottom: 1px solid #f5f5f5;
}

tbody tr:hover {
    background-color: #fafafa;
}

tbody tr:nth-child(even) {
    background-color: #fcfcfc;
}

tbody tr.row-highlight {
    background-color: #fff9f0;
}

tbody tr.row-highlight td {
    font-weight: 600;
}

tbody tr.row-alert td {
    color: #e74c3c;
    font-weight: 600;
}

td {
    padding: 8px 16px;
    color: #34495e;
    line-height: 1.2;
}

td:first-child {
    font-weight: 500;
    color: #2c3e50;
}

td:not(:first-child) {
    text-align: right;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    table {
        font-size: 11px;
    }

    th, td {
        padding: 8px 12px;
    }
}