/* /css/style.css */

/* Simple CSS Loading Spinner */
.loader {
    border: 5px solid #f3f3f3;
    /* Light grey */
    border-top: 5px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* A simple class to hide our "views" */
.hidden {
    display: none;
}

/* Add sufficient padding to main content areas to avoid overlap with BOTH bars */
#home-tab,
#orders-tab,
#profile-tab {
    padding-bottom: 140px;
    /* Adjust this value as needed (summary bar + nav bar height + buffer) */
}

/* Add sufficient padding when bottom nav is visible */
.with-bottom-nav {
    padding-bottom: 80px;
    /* Adjust as needed */
}

/* Adjust padding for other tabs too */
#orders-tab.with-bottom-nav,
#profile-tab.with-bottom-nav {
    padding-bottom: 80px;
    /* Adjust as needed */
}