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

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Config Section Styles */
.config-section {
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fafafa;
}

details summary {
    padding: 12px 15px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    background-color: #f0f0f0;
    border-radius: 6px;
    outline: none;
}

details[open] summary {
    border-bottom: 1px solid #e0e0e0;
    border-radius: 6px 6px 0 0;
}

.config-content {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.config-inputs {
    flex: 1;
    min-width: 250px;
}

.config-info {
    flex: 1;
    min-width: 250px;
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #eee;
    font-size: 14px;
}

.config-info h3 {
    margin-top: 0;
    font-size: 16px;
    color: #2980b9;
}

.config-info ol {
    padding-left: 20px;
    margin-bottom: 10px;
}

.config-info li {
    margin-bottom: 5px;
}

.note {
    font-size: 12px;
    color: #999;
    font-style: italic;
    margin-top: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.form-group {
    position: relative;
}

.icon-btn {
    position: absolute;
    right: 5px;
    top: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    color: #999;
}

.icon-btn:hover {
    color: #666;
    background: none;
}

button.small {
    padding: 8px 15px;
    font-size: 14px;
}

.input-section {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-family: monospace;
    font-size: 14px;
    box-sizing: border-box; /* Important for padding */
}

.controls {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

button {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

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

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

button.secondary {
    background-color: #95a5a6;
}

button.secondary:hover {
    background-color: #7f8c8d;
}

.status-section {
    margin-bottom: 20px;
}

.progress-bar-container {
    height: 6px;
    background-color: #eee;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #2ecc71;
    transition: width 0.3s ease;
}

#statusText {
    font-size: 14px;
    color: #7f8c8d;
    text-align: right;
}

.results-section {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

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

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

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

.success {
    color: #27ae60;
}

.error {
    color: #e74c3c;
}
