/* General Styles */
body {
    margin: 0;
    padding: 0;
}

.page-content {
    padding: 16px;
    padding-bottom: 72px;
}

/* Authentication Screen */
.auth-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 16px;
}

.auth-screen .mdl-card {
    width: 100%;
    max-width: 400px;
}

.auth-screen .mdl-textfield {
    width: 100%;
    margin-bottom: 16px;
}

/* Food Grid */
.food-categories {
    margin-bottom: 24px;
}

.category-buttons {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.food-card {
    width: 100%;
}

.food-card .mdl-card__title {
    height: 176px;
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 0 0 4px rgba(0,0,0,0.5);
}

/* Search */
.search-container {
    margin-bottom: 24px;
}

.search-container .mdl-textfield {
    width: 100%;
}

/* Orders */
.order-item {
    margin-bottom: 16px;
}

.order-status {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-pending {
    background-color: #4CAF50;
}

.status-completed {
    background-color: #F44336;
}

/* Profile */
.profile-card {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.bottom-nav .mdl-navigation__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(0,0,0,0.54);
    text-decoration: none;
    padding: 8px;
}

.bottom-nav .mdl-navigation__link.active {
    color: rgb(63,81,181);
}

.bottom-nav .material-icons {
    font-size: 24px;
}

.bottom-nav span {
    font-size: 12px;
    margin-top: 4px;
}

/* Dialog */
.mdl-dialog {
    width: 100%;
    max-width: 400px;
}

.mdl-dialog .mdl-textfield {
    width: 100%;
    margin-bottom: 16px;
}
