* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f6f8;
    color: #1f2937;
}

.container {
    width: min(1100px, calc(100% - 40px));
    margin: 40px auto;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.page-header h1 {
    margin: 0 0 6px;
}

.page-header p {
    margin: 0;
    color: #6b7280;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card h2 {
    margin-top: 0;
}

.bus-form {
    display: flex;
    align-items: end;
    gap: 12px;
}

.bus-form label {
    display: block;
}

.bus-form input {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    background: #111827;
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.button-secondary {
    background: #e5e7eb;
    color: #111827;
}

.button-danger {
    background: #dc2626;
    color: white;
}

.alert {
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header p {
    margin: 0;
    color: #6b7280;
}

.bus-list {
    display: flex;
    flex-direction: column;
}

.bus-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.bus-row:last-child {
    border-bottom: 0;
}

.bus-actions {
    display: flex;
    gap: 8px;
}

.bus-actions form {
    margin: 0;
}

.empty-state {
    padding: 30px 0;
    text-align: center;
    color: #6b7280;
}

.fuel-form {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr) auto;
    gap: 16px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group input,
.form-group select {
    height: 40px;
    padding: 0 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
}

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

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid #e5e7eb;
}

th {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

td {
    font-size: 14px;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 350px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions form {
    margin: 0;
}