
:root {
    --primary-color: #4a90e2;
    --secondary-color: #f5a623;
    --background-color: #f0f2f5;
    --text-color: #333;
    --container-bg: #fff;
}

body.dark-mode {
    --primary-color: #58a6ff;
    --secondary-color: #f5a623;
    --background-color: #0d1117;
    --text-color: #c9d1d9;
    --container-bg: #161b22;
}


body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    text-align: center;
    background-color: var(--container-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 2rem;
}

#generator-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#generator-btn:hover {
    filter: brightness(1.2);
}

#menu-recommendation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    min-height: 60px;
}

.menu-item {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Theme Switcher Styles */
.theme-switch-wrapper {
    position: fixed;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
    }

    .menu-item {
        font-size: 1.2rem;
    }
}
