
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

h2 {
    color: #3498db;
    margin-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 5px;
}

h3 {
    color: #2c3e50;
    margin: 15px 0 10px;
}

.status-card, .models-card, .test-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.status-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    margin-right: 15px;
}

.badge.online {
    background-color: #2ecc71;
    color: white;
}

.badge.offline {
    background-color: #e74c3c;
    color: white;
}

.badge.unknown {
    background-color: #f39c12;
    color: white;
}

#last-updated {
    font-size: 0.9em;
    color: #7f8c8d;
}

.details-section {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
}

.model-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ecf0f1;
}

.model-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.model-list ul {
    list-style-type: none;
    margin-left: 10px;
}

.model-list li {
    padding: 5px 0;
}

.model-selection {
    display: flex;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.model-selection label {
    margin-right: 10px;
    font-weight: bold;
}

.model-selection select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-right: 10px;
    flex-grow: 1;
    max-width: 300px;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

.test-input {
    margin-bottom: 15px;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    resize: vertical;
}

.response-box {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
    min-height: 150px;
    border: 1px solid #ddd;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .model-selection {
        flex-direction: column;
        align-items: flex-start;
    }

    .model-selection label, .model-selection select {
        margin-bottom: 10px;
        width: 100%;
        max-width: none;
    }
}
