/* app/static/css/styles.css */
body {
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #f8f9fa;
}

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

h1, h2, h3, h4, h5 {
    color: #333;
}

/* NOTE: Do not override Bootstrap's `.btn` globally. */

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #1e7e34;
}

.btn-outline {
    background: transparent;
    border: 1px solid #007bff;
    color: #007bff;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
}

.status {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.success {
    color: #28a745;
}

.error {
    color: #dc3545;
}

.log-content {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    white-space: pre-wrap;
    background: #f1f1f1;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    max-height: 500px;
    overflow-y: auto;
}

.log-box {
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    height: 500px;
    overflow-y: auto;
    white-space: pre-wrap;
}

.footer {
    margin-top: 50px;
    text-align: center;
    color: #6c757d;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    /* Keep Bootstrap button behavior on mobile as well */

    .input-group {
        flex-direction: column;
    }

    .input-group .form-control,
    .input-group .btn {
        width: 100%;
        margin: 0 0 5px 0;
    }

    .col-md-6 {
        width: 100%;
        margin-bottom: 10px;
    }
}
