/* Procedural Background Grid and Light Theme Base */
body {
    background-color: #f4f6f9;
    /* Create the horizontal and vertical grid lines */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    /* Define the scale of the grid squares (adjust these values to make the grid larger or smaller) */
    background-size: 25px 25px; 
    color: #2d3748;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Elevate the central application container above the grid */
#app main {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
}

/* Force dark text for high contrast readability */
h1, h2, h3, h4, p, span, label {
    color: #1a202c !important;
}

/* Stylize input fields for a cleaner aesthetic */
input.input, .input {
    background-color: #edf2f7 !important;
    border: 1px solid #cbd5e0 !important;
    color: #2d3748 !important;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input.input:focus, .input:focus {
    border-color: #3182ce !important;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1) !important;
    outline: none;
}

/* Modernize the primary action buttons */
.button.button--block {
    background-color: #3182ce;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(49, 130, 206, 0.2);
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

/* Add tactile feedback on hover */
.button.button--block:hover {
    background-color: #2b6cb0;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(49, 130, 206, 0.3);
}