/* --- User Required Rules --- */

/* Set full height and width, remove default margins */
body, html {
    height: 100%;
    width: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Added default font */
    line-height: 1.6; /* Added default line height */
}

/* Use flexbox to enable easy centering */
body {
    display: flex;
}

/* Center the form horizontally and vertically */
form {
    margin: auto; /* This centers the form block due to flex on body */
    text-align: center; /* Center inline/text elements *within* the form */
    padding: 20px; /* Added padding inside the form */
    border: 1px solid #ccc; /* Added basic border */
    border-radius: 5px; /* Added rounded corners */
    background-color: #f9f9f9; /* Added light background */
    min-width: 300px; /* Ensure form isn't too narrow */
    max-width: 600px; /* Prevent form from becoming too wide */
}

/* --- Additional Styling for Form Elements (Incorporating Polished Look) --- */

h1 {
    margin-top: 0; /* Adjust heading margin if needed */
    margin-bottom: 20px;
}

label {
    display: block; /* Makes labels appear on their own line */
    margin-bottom: 5px; /* Space below labels */
    font-weight: bold;
    text-align: left; /* Align labels left for readability */
}

input[type="url"],
input[type="submit"] {
    width: 100%; /* Make inputs take full width */
    padding: 10px;
    margin-bottom: 15px; /* Space below inputs */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in width */
    font-size: 1em;
}

input[type="checkbox"] {
    margin-right: 5px;
    vertical-align: middle;
    margin-bottom: 15px; /* Align spacing with other inputs */
}

.checkbox-label {
     display: inline-block; /* Keep label next to checkbox */
     margin-bottom: 15px;
     font-weight: normal;
     text-align: left; /* Align checkbox label left */
}

input[type="submit"] {
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    font-weight: bold;
}

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