/* Loaded only on templates that include this file; styles field labels and controls whether or not they sit inside <form>. */

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
    width: 100%;
    max-width: 28rem;
    box-sizing: border-box;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border, #ccc);
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    background: var(--surface-1, #0f1115);
    color: #e5e7eb;
}

select {
    cursor: pointer;
}

input[type="file"] {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

ul.form-errors {
    color: #b91c1c;
    font-size: 0.875rem;
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}