body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 20px;
    background-color: #f4f4f4;
    color: #333;
}

h1, h2 {
    color: #0056b3;
}

#config-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group input:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.form-group .description {
    font-size: 0.9em;
    color: #666;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

.tag-btn {
    padding: 5px 10px;
    border: 1px solid #007bff;
    background-color: #fff;
    color: #007bff;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.tag-btn.selected {
    background-color: #007bff;
    color: #fff;
}

#actions button {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    background-color: #28a745;
    color: white;
}

#actions button#save-config {
    background-color: #ffc107;
    color: #212529;
}

#progress-log {
    margin-top: 20px;
    background: #222;
    color: #eee;
    padding: 15px;
    border-radius: 8px;
    height: 300px;
    overflow-y: scroll;
    font-family: "Courier New", Courier, monospace;
    white-space: pre-wrap;
}