body.dark-mode {
        background-color: #121212;
        color: #ffffff;
    }

    .dark-mode a { color: #80cbc4; }
    .dark-mode button { background-color: #333; color: #fff; border: 1px solid #666; }



        body {
            background: url('https://recipefinderapp.com/images/asfalt-dark.webp');
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            box-sizing: border-box;
            font-family: 'Roboto', sans-serif;
            color: #333;
        }

        .container {
            background-color: #ffffff;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 800px;
            margin-bottom: 30px;
            background: url('https://recipefinderapp.com/images/white-diamond.webp');
            border: 1px solid #e0e0e0;
        }

        .logo {
            display: block;
            margin: 0 auto 20px;
            max-width: 200px;
        }
        
        .image-container {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }
        
        .responsive-image {
            max-width: 100%;
            height: auto;
        }

        h1 {
            font-family: 'Playfair Display', serif;
            font-size: 3.5em;
            text-align: center;
            color: #D4AF37; /* Gold color */
            margin-bottom: 30px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        }

        .form-group label {
            font-family: 'Playfair Display', serif;
            font-size: 1.2em;
            font-weight: 600;
            color: #555;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        }

        .form-control {
            border: 1px solid #ccc;
            border-radius: 8px;
            padding: 12px;
            font-size: 1em;
            transition: border-color 0.3s ease;
            background: url('https://recipefinderapp.com/images/white-leather.webp');
            font-family: 'Roboto', sans-serif;
        }

        .form-control:focus {
            border-color: #D4AF37; /* Gold color */
            outline: none;
            background: #fff;
        }

        .button-container {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: row; /* If you want buttons stacked vertically */
            /* flex-direction: row;  If you want buttons lined up horizontally */
            width: 100%; /* Ensure it takes full width of the container */
            margin-top: 20px; /* Optional: Adjust spacing from top */
        }

        .btn {
            background-color: #2E8B57; /* Deep green color */
            color: #fff;
            font-size: 1.2em;
            border: none;
            border-radius: 8px;
            padding: 12px 24px;
            transition: background-color 0.3s ease, transform 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            background: linear-gradient(to bottom, #2E8B57, #1E6D42);
            font-family: 'Roboto', sans-serif;
            margin: 10px; /* Adds spacing between buttons */
        }

        .btn:hover {
            background-color: #1E6D42; /* Darker green on hover */
            transform: translateY(-2px);
            background: linear-gradient(to bottom, #1E6D42, #145232);
        }

        #results {
            margin-top: 40px;
            text-align: center;
        }

        .recipe {
            border-bottom: 1px solid #e0e0e0;
            padding: 20px 0;
            background: url('https://recipefinderapp.com/images/squairy.webp');
        }

        .recipe:last-child {
            border-bottom: none;
        }

        .recipe h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.8em;
            color: #2E8B57; /* Deep green color */
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        }

        .recipe p {
            font-family: 'Roboto', sans-serif;
            font-size: 1em;
            color: #757575;
        }

        .instructions {
            display: none;
            margin-top: 15px;
            text-align: center;
            font-size: 0.9em;
            color: #757575;
        }

        .highlight {
            background-color: #FFD700; /* Gold color */
            background: url('https://recipefinderapp.com/images/brushed-alum.webp');
        }

        @media (max-width: 768px) {
            body {
                padding: 10px;
            }

            .container {
                padding: 20px;
            }

            h1 {
                font-size: 2.5em;
            }

            .form-group label, .btn {
                font-size: 1em;
            }

            .form-control, .recipe h3, .recipe p {
                font-size: 0.9em;
            }
        }

        @media (max-width: 576px) {
            h1 {
                font-size: 2em;
            }

            .form-group label, .btn {
                font-size: 0.9em;
            }

            .form-control, .recipe h3, .recipe p {
                font-size: 0.8em;
            }
        }

/* DARK MODE OVERRIDES */

body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6,
.dark-mode p,
.dark-mode span,
.dark-mode div,
.dark-mode a,
.dark-mode li,
.dark-mode td,
.dark-mode th {
    color: #ffffff !important;
}

.dark-mode a {
    color: #80cbc4 !important;
}

.dark-mode button {
    background-color: #333 !important;
    color: #ffffff !important;
    border: 1px solid #666;
}


/* MAIN CONTENT DARK MODE FIX */

.dark-mode .main,
.dark-mode .content,
.dark-mode .container,
.dark-mode .card,
.dark-mode article,
.dark-mode section {
    color: #ffffff !important;
}


/* FORM LABEL DARK MODE FIX */

.dark-mode .form-group label {
    color: #ffffff !important;
}
