@import url('https://fonts.googleapis.com/css2?family=Inclusive+Sans:ital,wght@0,300..700;1,300..700&family=Instrument+Serif:ital@0;1&display=swap');

body {
    margin: 0;
    margin-top: -36px;
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center;     /* Vertical center */
    min-height: 100vh;
    background-color: #f9f9f9; /* Light background to make the form pop */
    
    font-family: "Inclusive Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 18px;
    font-style: normal;
}

#access-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 350px; /* Keeps the form from getting too wide on desktop */
    padding: 20px;
    text-align: center;
}

#MeasurelyLogo {
    max-width: 120px;
    margin-bottom: 8px;
}

#status {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
}

#auth-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds space between inputs and buttons */
}

input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: "Inclusive Sans", sans-serif;
    font-size: 1rem;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #EE3569; /* Change to your brand color */
    color: white;
    font-family: "Inclusive Sans", sans-serif;
    font-weight: bold;
    cursor: pointer;
}

button.secondary {
    background-color: transparent;
    color: #F4823A;
    border: 1px solid #F4823A;
}

/* Simple CSS Spinner */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #333; /* Match your brand color */
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden { display: none !important; }

@media screen and (max-width: 700px) {

    body {
        font-size: 16px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin-top: 32px;
        
    }

    /* .recipe-image {
        aspect-ratio: 1/1;     
    } */
    
}