/* General Styles */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
}

/* Navigation Bar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
}

.navbar .logo {
    flex: 1;
}

.logo-img {
    width: 100px;
    border-radius: 4px;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 2;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: .4em;
    font-size: 1em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffac03;
}

.login-btn {
    background-color: #ffac03;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
    flex: 1;
    text-align: center;
    max-width: 5em;
}

.login-btn:hover {
    background-color: #e69900;
}

/* Hero Section Styles */
.hero-section {
    background-image: url('/assets/img/hero.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.primary-btn {
    background-color: #ffac03;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    max-width: 26em;
}

.primary-btn:hover {
    background-color: #e69900;
}

/* Meal Grid Section */
.meal-grid-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.meal-grid-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.meal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.meal-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s;
}

.meal-item:hover {
    transform: translateY(-5px);
}

.meal-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.meal-item p {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

/* API Status Section */
.status-container {
    display: none;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.status-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.status-container p {
    font-size: 16px;
    margin: 10px 0;
}

#status, #database {
    font-weight: bold;
}

/* Authentication Section Styles */
.auth-section {
    max-width: 600px;
    margin: 40px auto;
}

.auth-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.auth-container h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #ffac03;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #e69900;
}

.auth-toggle {
    margin-top: 15px;
    text-align: center;
}

.auth-toggle a {
    color: #ffac03;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-toggle a:hover {
    color: #e69900;
}

/* Logged In Content Styles */
.logged-in-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dashboard-container h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.subscription-setup, .subscription-details, .meal-selection {
    margin-bottom: 30px;
}

.subscription-details {
    text-align: center;
}

#subscriptionInfo {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

#activeMealsSection h3 {
    margin-top: 0;
}

.meal-templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.meal-template-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.meal-template-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.save-selections {
    background-color: #4caf50;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.save-selections:hover {
    background-color: #45a049;
}

/* Responsive Styles */
/* @media (max-width: 768px) { */
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
        margin-top: 10px;
    }

    .nav-links a {
        padding: .5em;
    }

    .meal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .meal-grid-section h2 {
        font-size: 24px;
    }
/* } */