body {
    font-family: Arial, sans-serif;
    background-color: #f3f4f6;
    margin: 0;
    padding: 16px;
}

/* Keep the sign-in page narrow without shrinking the other pages. */
.login-page {
    background-color: white;
    max-width: 400px;
    padding: 30px;
    margin: 60px auto;
    border-radius: 12px;
    box-sizing: border-box;
}

/* Give the dashboard, form, and records page the same content width. */
.app-main {
    max-width: 1100px;
    margin: 30px auto;
    padding: 24px;
    background-color: white;
    border-radius: 10px;
    box-sizing: border-box;
}

nav a {
    display: inline-block;
    padding: 12px;
    text-decoration: none;
}

/* Align the loan columns and separate rows for easier reading. */
table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

/* Highlight each dashboard number. */
.stat-card {
    background-color: #f3f4f6;
    padding: 20px;
    border-radius: 8px;
    margin: 16px 0;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}

input,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: darkblue;
    color: white;
    padding: 10px 20px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    min-height: 44px;
}


/* Show keyboard users which control currently has focus. */
input:focus-visible,
select:focus-visible,
button:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}
