body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f7fa;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.search-box {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 250px;
}

.refresh-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.refresh-btn:hover {
    background-color: #2980b9;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

th, td {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    text-align: left;
}

th {
    background-color: #3498db;
    color: white;
    position: sticky;
    top: 0;
    font-weight: 500;
}

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

tr:hover {
    background-color: #f1f7fd;
}

.loading-message {
    text-align: center;
    padding: 30px;
    color: #7f8c8d;
    font-style: italic;
}

.error-message {
    text-align: center;
    padding: 30px;
    color: #e74c3c;
    font-weight: bold;
}

.positive {
    color: #27ae60;
}

.negative {
    color: #e74c3c;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
    
    .controls {
        flex-direction: column;
    }
    
    .search-box {
        width: 100%;
        margin-bottom: 10px;
    }
}