body {
    background: #1a1a1a;
    color: #e0e0e0;
}

.main-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.card {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

.file-upload-card {
    text-align: center;
    padding: 30px;
    border: 2px dashed #555;
    border-radius: 4px;
    margin-bottom: 20px;
}

#status {
    margin-top: 10px;
    color: #b0b0b0;
}

.filter-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #444;
    text-align: left;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group-label {
    font-size: 14px;
    font-weight: 500;
    color: #b0b0b0;
    margin-bottom: 10px;
    display: block;
    text-align: left;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-group label {
    margin: 0;
    color: #e0e0e0;
}

.switch label {
    color: #e0e0e0;
}

.switch {
    text-align: left;
}

.search-wrapper {
    position: relative;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2d2d2d;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

input[type="text"],
input[type="text"]:focus {
    color: #e0e0e0 !important;
    border-bottom: 1px solid #555 !important;
    box-shadow: none !important;
}

input[type="text"]:focus {
    border-bottom: 1px solid #66bb6a !important;
}

.input-field label {
    color: #b0b0b0 !important;
}

.input-field label.active {
    color: #66bb6a !important;
}

.input-field .prefix {
    color: #b0b0b0;
}

.input-field .prefix.active {
    color: #66bb6a;
}

#autocompleteList1 {
    border: 2px solid #ff5722;
}

#autocompleteList2 {
    border: 2px solid #2196f3;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

#autocompleteList1 .autocomplete-item:hover {
    background: rgba(255, 87, 34, 0.2);
}

#autocompleteList2 .autocomplete-item:hover {
    background: rgba(33, 150, 243, 0.2);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item-name {
    font-weight: 500;
    color: #e0e0e0;
}

.autocomplete-item-race {
    font-size: 11px;
    color: #b0b0b0;
}

.athlete-search-box {
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.athlete1-box {
    border: 2px solid #ff5722;
}

.athlete2-box {
    border: 2px solid #2196f3;
}

.chart-wrapper {
    margin-bottom: 20px;
}

.chart-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #e0e0e0;
}

.chart-stats {
    font-size: 12px;
    color: #b0b0b0;
    margin-bottom: 5px;
}

.athlete-info {
    font-size: 12px;
    margin-bottom: 10px;
}

.athlete-info div {
    margin-bottom: 3px;
}

.athlete1-info {
    color: #ff6e40;
    font-weight: 500;
}

.athlete2-info {
    color: #42a5f5;
    font-weight: 500;
}

h4 {
    color: #e0e0e0;
}

canvas {
    max-width: 100%;
    height: 300px;
    background: #1a1a1a;
}

@media only screen and (max-width: 600px) {
    canvas {
        height: 250px;
    }
}
