/* Load defaults from `<userDir>/node_modules/node-red-contrib-uibuilder/front-end/uib-brand.min.css`
 * This is optional but reasonably complete and allows for light/dark mode switching.
 */
//@import url("../uibuilder/uib-brand.min.css");

/* index.css */

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f7f7f9;
    margin: 0;
    padding: 1rem;
}

#app {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
}

fieldset {
    border: 1px solid #ccc;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    background-color: #fafafa;
}

legend {
    font-weight: bold;
    padding: 0 0.5rem;
    color: #34495e;
}

label {
    display: block;
    margin-bottom: 0.75rem;
    color: #333;
}

input[type="text"],
select {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.25rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.checkbox-group label {
    display: block;
    margin-left: 1rem;
    font-weight: normal;
}

button[type="submit"] {
    background-color: #2980b9;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    display: block;
    margin: 2rem auto 0 auto;
}

button:hover {
    background-color: #1f6391;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
}