body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 20px;
    background-color: #f4f4f4;
}

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

h1, h2 {
    color: #333;
}

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

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"] {
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

#processing-status,
#results-area {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

#status-log {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    padding: 10px;
    min-height: 100px;
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap; /* Allows wrapping */
    word-wrap: break-word; /* Breaks long words */
    font-family: monospace;
    font-size: 0.9em;
    color: #495057;
}

#results-content {
    margin-top: 10px;
}

/* Style for results display (adjust as needed) */
#results-content div {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ccc;
}

#results-content h3 {
    margin-bottom: 5px;
    color: #0056b3;
}

#results-content p, 
#results-content ul {
    margin: 0 0 5px 0;
}

#results-content ul {
    padding-left: 20px;
}

#results-content li {
    margin-bottom: 3px;
}

.error-message {
    color: red;
    font-weight: bold;
}

.success-message {
    color: green;
    font-weight: bold;
}

/* Database Management Styles */
.stats-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.stats-actions button {
    flex: none;
}

.btn-warning {
    background-color: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
} 