body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f9;
    color: #333;
}

input, button {
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
}

input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

#url-form, #login-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 500px; /* Limit width to maintain form structure */
    margin: auto; /* Centering the form */
}

#login-form .form-group {
    margin-bottom: 15px; /* Added margin to space out form fields */
}

#login-form label {
    display: block; /* Ensure labels take full width */
    margin-bottom: 5px; /* Add some space below the labels */
}

#login-form input {
    display: block;
    width: calc(100% - 20px); /* Adjust width to include padding */
    margin-bottom: 10px; /* Add some space below the input fields */
}

#login-form button {
    width: 100%;
}

#options-form button {
    margin: 5px;
    background-color: #4CAF50; /* Standard button color */
    color: white;
    border: 2px solid transparent;
}

#options-form button.special-button {
    background-color: #ff6347; /* Stand-out color for special actions */
    font-weight: bold;
    border-color: #d53a35;
}

#options-form button:hover,
#options-form button.special-button:hover {
    background-color: #45a049;
    border-color: #2a702e;
}

.fieldset {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.input-group {
    display: flex;
    align-items: center;
    width: 100%;
}

.input-group input {
    flex-grow: 1;
    margin-right: 10px;
}

.input-group button {
    flex-shrink: 0;
}

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

iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: none; /* Hidden by default, shown when needed */
    margin-bottom: 20px;
}

#loading {
    display: none; /* Hide loading initially */
    text-align: center;
    margin-top: 20px;
}

#data-container, #log-messages {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 20px;
    margin-bottom: 20px;
}

#log-messages {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 20px;
}

#log-messages div {
    margin-bottom: 5px;
}