body, html {
    font-family: 'Roboto Mono', monospace;
    font-weight: 300;
    line-height: 1.4;
    color: #003c28;
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #ffffff;
    font-size: 14px;
}

.container {
    display: flex;
    height: 100vh;
}

.left-panel, .right-panel {
    width: 50%;
    box-sizing: border-box;
    overflow-y: auto;
}

.left-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 32px;
    position: relative;
}

.ui-container {
    width: 100%;
    max-width: 300px;
    padding-top: 160px; /* Adjust this value to move the UI up or down */
}

.right-panel {
    background-color: #003c28;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    text-decoration: none;
    color: inherit;
}

.logo-main {
    font-size: 18px;
    font-weight: 500;
}

.logo-sub {
    font-size: 14px;
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 0.8rem;
    margin-bottom: 4px;
}

select, input, button {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.9rem;
    border: 1px solid #003c28;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
    font-weight: 300;
    box-sizing: border-box;
    background-color: white;
    color: #003c28;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23003c28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
}

.generate-button {
    background-color: #003c28;
    color: white;
    font-weight: 300;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 24px;
}

.generate-button:hover {
    background-color: #003c28;
}

#recipeResults {
    padding: 80px; /* Adjust this value to change the recipe padding */
}

.recipe {
    color: white;
    border: none;
    padding: 0;
    max-width: 400px;
    margin: 0 auto;
}

.recipe h2 {
    margin-top: 0;
    font-weight: 300;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.recipe h3 {
    font-weight: 300;
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.recipe p {
    margin-bottom: 8px;
}

.recipe ul, .recipe ol {
    padding-left: 20px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.recipe li {
    margin-bottom: 4px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.share-buttons button {
    flex: 1;
    padding: 8px 12px;
    background-color: white;
    color: #003c28;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader-content {
    background-color: #003c28;
    color: white;
    padding: 16px 24px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.email-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.email-button:hover {
    transform: scale(1.1);
}

.envelope-icon {
    width: 30px;
    height: 30px;
    stroke: #003c28;
}

.welcome-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 1.2rem;
    width: 80%;
    max-width: 400px;
}

#recipeResults:not(:empty) + .welcome-message {
    display: none;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-panel, .right-panel {
        width: 100%;
        height: auto;
    }

    .ui-container {
        padding-top: 120px;
    }

    .generate-button {
        margin-top: 16px;
    }

    .logo {
        position: static;
        margin-bottom: 20px;
    }

    .email-button {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
    }

    .envelope-icon {
        width: 25px;
        height: 25px;
    }
}
