/* Preload important fonts */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJfedw.woff2') format('woff2');
    font-display: swap;
}

/* Body and general text styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    /* Bootstrap light gray */
    color: #212529;
    /* Bootstrap dark */
}

/* Main header (h1) styling */
h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 20px;
    color: #343a40;
    /* Bootstrap darker text */
    text-align: center;
}

/* Header spacing */
header {
    background-color: #ffffff;
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
}

/* Root container - set minimum height */
#root {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensure buttons are styled for the critical load */
button {
    padding: 10px 20px;
    background-color: #0d6efd;
    /* Bootstrap primary */
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    background-color: #0b5ed7;
}