body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f5f5f5;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.selectors {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
select {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
    flex-grow: 1;
    min-width: 150px;
}
.card-display {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    background-color: #fafafa;
}
.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.card-type {
    font-size: 28px;
}
.card-name {
    font-size: 24px;
    font-weight: bold;
}
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.stats-table th, .stats-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.stats-table th {
    color: #666;
    font-weight: normal;
    width: 30%;
}
.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}
.total-row {
    font-weight: bold;
    background-color: #f0f0f0;
}
.error {
    color: #d32f2f;
    text-align: center;
    padding: 20px;
    font-weight: bold;
}
// Добавляем стили для строк с мощностью в CSS
.power-row {
    background-color: #f8f9fa;
    font-weight: 500;
}
.total-power-row {
    background-color: #e9ecef;
    font-weight: bold;
}
.disclaimer {
    font-size: 12px;
    color: #d32f2f;
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    border-top: 1px solid #eee;
    font-style: italic;
    line-height: 1.4;
}
