body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

h1 {
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

h2 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.config-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
}

small {
    display: block;
    margin-top: 0.25rem;
    color: #718096;
    font-size: 0.85rem;
}

input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66,153,225,0.15);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
}

button {
    background-color: #4299e1;
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
    margin-top: 1rem;
}

button:hover {
    background-color: #3182ce;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(66,153,225,0.3);
}

button:disabled {
    background-color: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

.message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 6px;
}

.success {
    background-color: #c6f6d5;
    color: #2f855a;
    border: 1px solid #9ae6b4;
}

.error {
    background-color: #fed7d7;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.loader {
    display: none;
    margin-top: 1rem;
    text-align: center;
}

.loading .loader {
    display: block;
}

.progress {
    margin-top: 1rem;
    display: none;
}

.loading .progress {
    display: block;
}