/* Base styling for the body */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f7f9fc;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

/* Centering form and content */
.container {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

/* Label styling */
label {
    font-size: 1em;
    color: #333;
    text-align: left;
}

/* Input fields */
input[type="text"], input[type="password"] {
    padding: 0.8em;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

/* Button styling */
input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.8em;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Flash message styling */
ul {
    list-style: none;
    padding: 0;
    color: #d9534f; /* Error message color */
}

ul li {
    margin-top: 1em;
    font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .container {
        width: 90%;
    }
}

/* Inline styles for simplicity; you can move these to styles.css */
.loading {
    display: none;
    margin-top: 20px;
    font-weight: bold;
}
.logs {
    margin-top: 20px;
    background-color: #f7f9fc;
    padding: 10px;
    max-height: 400px;
    overflow-y: auto;
    font-family: monospace;
    white-space: pre-wrap;
    border: 1px solid #ccc;
    text-align: left;
}

.btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.8em;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.hidden {
    display: none;
}
