/* first block already sets body margin:0 – keep that */
html,body{height:100%;margin:0}
body{display:flex;flex-direction:column}

/* let main have the breathing room instead */
main{
  flex:1 0 auto;
  max-width:800px;
  margin:20px auto;           /* ← was body’s margin */
  padding:1rem 1.25rem;
}

h1, h2 {
    color: #333;
}

form {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

label {
    display: block;
    width: 180px; /* Adjust as needed */
    margin-bottom: 3px; /* Add a little space below the label */
}

input[type="text"],
input[type="url"] {
    display: block; /* Make inputs block elements too */
    padding: 5px;
    margin-bottom: 10px;
    width: 250px; /* Keep consistent width */
}

/* In style.css */
select {
    display: block;
    /* Try increasing this value */
    font-size: 16px; /* Example using pixels */

    /* Keep other styles like padding, margin, width */
    padding: 5px;
    margin-bottom: 10px;
    width: 250px;
}

button {
    padding: 8px 15px;
    cursor: pointer;
}

hr {
    margin: 30px 0;
}

/* Styles for status messages */
.status-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}
.status-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.status-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
