body, html {
    margin: 0;
    padding: 0;
    font-family: Futura,Trebuchet MS,Arial,sans-serif; 
    /* font-family: Courier Prime; */
    line-height: 25px;
    word-spacing: 3px;
    background-color: rgb(239, 239, 239);
    overflow: hidden;
    font-size: 100%;
}

#app_container{
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#header_container{
    height: 10vh;
    width: 100%;
}

#body_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 90vh;
}

#left_container{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    margin: 20px;
    width: 50%;
    height: 85vh;
    box-sizing: border-box;
}

#all_inputs_container{
    width: 100%;
    height: 75%;
    /* height: 70%; */
    display: flex;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
}

#all_buttons_container{
    width: 20%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}
#choose_gpt_button,#add_character_button,#add_purpose_button,#add_medications_button,#add_info_button{
    width: 100%;
    height: 20%;
}

#nav_container{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-left: auto;
    margin-top: 20px;
    box-sizing: border-box;
}

#actions_container{
    width: 100%;
    /* height: 7%; */
    display: flex;
    flex-direction: row;
    justify-content: center;
}
        #submit_button{
            /* display: flex; */
            width: 50%;
            /* text-align: justify;
            box-sizing: border-box; */
        }
        #copy_prompt_button{
            /* display: flex; */
            width: 50%;
            /* text-align: justify;
            box-sizing: border-box; */
        }

#all_textarea_container{
    width: 100%;
    height: 100%;
    margin: 10px;
    margin-left: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}           
            
    #add_character_textarea_container{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
        #add_character_textarea{
            width: 100%;
            min-height: 25%;
            max-height: 50%;
            position: relative;
            top: 20%;
        }

    #add_purpose_textarea_container{
        width: 100%;
        height: 100%;
        display: flex;
        /* flex-direction: column; */
        align-items: center;
    }
        #add_purpose_textarea{
            width: 100%;
            min-height: 20%;
            max-height: 30%;
        }
    #add_info_textarea_container{
        width: 100%;
        height: 100%;
        display: flex;
        /* flex-direction: column; */
        align-items: flex-end;
    }
        #add_info_textarea{
            width: 90%;
            min-height: 20%;
            max-height: 50%;
        }
    
    #add_medications_wrapper{
        height: 100%;
        width: 100%;
        padding-bottom: 10px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
    }
    #add_new_medication_button{
        width: 50%;
        margin-top: 20px;
    }
    #add_medications_container{
        /* display: flex;
        flex-direction: column;
        justify-content: flex-end; */
        width: 100%;
        max-height: 85%;
        min-height: 30%;
        /* max-width: 85%; */
        /* max-height: 100px; */
        /* max-height: calc(100vh - 160px); */
        overflow-y: scroll;
    }
    .medication_main_container{
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .medication_sub_container{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
    }
    .medication_index_container{
        display: flex;
        align-items: center;
        width: 10%;
        height: fit-content;
        justify-content: stretch;
        font-size: 36px;
    }
        .medication_index{
            display: flex;
            width: 100%;
            align-items: center;
        }
    .medication_container{
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
    }
        .medication_styler{
            width: 50%;
        }
        .dosage_container{
            display: flex;
            flex-direction: row;
            width: 50%;
            margin-left: 10px;
            /* margin-right: 10px; */
        }
            .dosage{
                width: 60%;
            }
            .dosage_unit{
                width: 40%;
            }
            .medication_add_info{
                width: 100%;
            }
            #dosage_units {
                -webkit-appearance: none;
                -moz-appearance: none;
            }
.textarea_styler{
    padding: 10px;
    margin-top: 10px;
    font-size: 14px;
    resize: none;
    box-sizing: border-box;
    border: none;
    overflow-y: auto;
    outline: none;
    background-color: #efefef;
}

.inset_shadow_styler{
    box-shadow: inset -2px -2px 6px rgba(255, 255, 255, .7),
      inset -2px -2px 4px rgba(255, 255, 255, .5),
      inset 2px 2px 2px rgba(255, 255, 255, .075),
      inset 2px 2px 4px rgba(0, 0, 0, .3);
}
.outset_shadow_styler{
    box-shadow: -6px -6px 14px rgba(255, 255, 255, .35),
          -6px -6px 10px rgba(255, 255, 255, .25),
          6px 6px 8px rgba(255, 255, 255, .075),
          6px 6px 10px rgba(0, 0, 0, .15);
}
.header_styler{
    width: 100%;
    display: flex;
    flex-direction: row;
    /* background-color: #000000; */
    box-shadow: -6px -6px 14px rgba(255, 255, 255, .35),
          -6px -6px 10px rgba(255, 255, 255, .25),
          6px 6px 8px rgba(255, 255, 255, .075),
          6px 6px 10px rgba(0, 0, 0, .15);
}
.app_name_styler{
    /* color: black; */
    flex: 1;
    font-size: 2em;
    min-width: 20%;
    width: 80%;
    /* height: 20%; */
    padding: 1%;
    display: flex;
    align-items: center;
    background-size: cover;
    /* background-image:url(ratemystack_logo_1.png); */
}

/* div.image::before {
    content:url(ratemystack_logo_1.png);
}​ */

#username_el{
    display: flex;
    align-items: center;
    margin-right: 10px;
}
.button_styler{
    margin: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    text-align: center;
    border: none;
    border-radius: 5px;
}
.outset_button_shadow_styler{
    box-shadow: -6px -6px 14px rgba(255, 255, 255, .35),
          -6px -6px 10px rgba(255, 255, 255, .25),
          6px 6px 8px rgba(255, 255, 255, .075),
          6px 6px 10px rgba(0, 0, 0, .15);
}
.outset_button_shadow_styler:hover {
    box-shadow: -3px -3px 6px rgba(255, 255, 255, .6),
          -3px -3px 4px rgba(255, 255, 255, .4),
          3px 3px 2px rgba(255, 255, 255, .05),
          3px 3px 4px rgba(0, 0, 0, .1);
    }
.outset_button_shadow_styler:click {
    box-shadow: inset -2px -2px 6px rgba(255, 255, 255, .7),
      inset -2px -2px 4px rgba(255, 255, 255, .5),
      inset 2px 2px 2px rgba(255, 255, 255, .075),
      inset 2px 2px 4px rgba(0, 0, 0, .3);
}


#choose_gpt_container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* #basic_gpt, #basic_claude, #pro_gpt, #pro_claude{
    margin: 10px;
} */

.inputs_button_styler{
    width: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}




.containerStyler{
    display: flex;
    flex-direction: row;
    width: 100%;
    border-radius: 5px;
    padding: 2%;
    box-sizing: border-box;
}

.gptCharTextareaContainer{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#gptCharacterTitle{
    display: flex;
    flex: 25%;
    align-items: center;
    text-align: center;
}

#gptCharacter{
    width: 90%;
    min-height: 5vh;
    max-height: 15vh;
    height: auto;
}


#purposeContainer {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 10px;
    margin-top: 3%;
    box-sizing: border-box;
    padding: 2%;
    border-radius: 5px;
}
#purposeTitle{
    display: flex;
    align-items: center;
    flex: 25%;
    text-align: center;
}
.purposeTextareaContainer{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#purpose{
    display: flex;
    width: 90%;
    height: 5vh;
    resize: none;
}

.addInfoTextareaContainer{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#addInfoTitle{
    display: flex;
    flex: 25%;
    align-items: center;
    text-align: center;
}

#addInfo{
    width: 90%;
    min-height: 5vh;
    max-height: 15vh;
    height: auto;
}



#right_container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    margin: 20px;
    margin-bottom: 0px;
    width: 50%;
    height: 87.75vh;
    box-sizing: border-box;
}

#disclaimer{
    width: 100%;
    text-align: center;
    color: red;
}



#results_wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 80vh;
    max-height: 80vh;
    min-height: 20vh;
    width: 100%;
    margin-bottom: 10px;
    /* padding: 10px; */
    /* margin: 20px; */
    box-sizing: border-box;
}

#results_container{
    /* height: 70vh; */
    max-height: 70vh;
    min-height: 10vh;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 20px;
}
    .scroll_y{
        overflow-y: scroll;
        overflow-x: hidden;
    }

.result_with_chat_styler{
    margin-left: 15px;
    /* margin-right: 50px; */
}
.question_styler{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
}
.answer_styler{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 20px;
    width: 100%;
}
    .chat_bubble_styler{
        padding: 10px;
        border-radius: 5px;
        margin-right: 20px;
        max-width: 70%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
.results {
    background-color: #f0f0f0;
    padding: 20px;
    word-wrap: break-word;
    overflow-y: auto;
    height: 70vh;
    max-height: 100%;
    min-height: 50%;
    width: 100%;
    border-radius: 5px;
    box-sizing: border-box;
}

.welcome{
    text-align: center;
}


#others_container{
    width: 100%;
}
    .chat_styler{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
        #chat_container{
            display: flex;
            flex-direction: row;
            align-items: center;
            margin: 10px;
            padding: 10px;
            width: 90%;
            box-sizing: border-box;
            border-radius: 5px;
        }
            #chat_textarea_container{
                width: 90%;
                height: 10vh;
            }
                #chat_textarea{
                    width: 100%;
                    height: 90%;
                    box-sizing: border-box;
                    border-radius: 5px;
                }
    .feedback_styler{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
        #feedback_container{
            display: flex;
            flex-direction: row;
            align-items: center;
            margin: 10px;
            padding: 10px;
            width: 90%;
            box-sizing: border-box;
            border-radius: 5px;
        }
            #feedback_textarea_container{
                width: 80%;
                height: 10vh;
            }
                #feedback_textarea{
                    width: 100%;
                    height: 90%;
                    box-sizing: border-box;
                    border-radius: 5px;
                }
            #feedback_submit_button{
                width: 20%;
            }
    .buy_credits_styler{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    #buy_credits_container{
        display: flex;
        flex-direction:column;
        align-items: center;
        width: 100%;
    }
    #dollar_container{
        display: flex;
        flex-direction: row;
        align-items: center;
        /* margin: 10px; */
        /* margin-right: 10%; */
        /* padding: 20px; */
        width: 100%;
        box-sizing: border-box;
        border-radius: 5px;
    }
        #dollar_top_container{
            width: 50%;
            display: flex;
            flex-direction: row;
            align-items: center;
        }
            #dollar_5_container{
                width: 50%;
            }
            #dollar_10_container{
                width: 50%;
            }
        #dollar_bottom_container{
            width: 50%;
            display: flex;
            flex-direction: row;
            align-items: center;
        }
            #dollar_15_container{
                width: 50%;
            }
            #dollar_20_container{
                width: 50%;
            }
        .dollar_container_styler{
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 10px;
            padding: 10px;
            width: 25%;
            box-sizing: border-box;
            border-radius: 5px;
            cursor: pointer;
        }
            #buy_credits_title{
                font-size: 18px;
                font-weight: 1000;
                margin: 10px;
            }
            .usd_styler{
                font-size: 32px;
                font-weight: 1000;
                margin: 10px;
            }

        #buy_now_button{
            width: 50%;
        }
    .updates_styler{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    #updates_container{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        margin: 10px;
        padding: 10px;
        border-radius: 5px;
    }
        #updates_title{
            font-weight: 750;
            margin: 10px;
        }
         
#right_buttons_container{
    display: flex;
    flex-direction: row;
    align-items: center;
    /* align-self: flex-end; */
    width: 100%;
}
        #chat_button{
            width: 25%;
        }
        #feedback_button{
            width: 25%;
        }
        #buy_credits_button{
            width: 25%;
        }
        #updates_button{
            width: 25%;
        }


#all_model_container{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 50%;
    width: 100%;
}
        .model_container_styler{
            display: flex;
            flex-direction: row;
            align-items: center;
            height: 20%;
            width: 90%;
            margin: 10px;
        }
            .model_button_styler{
                height: 100%;
                width: 70px;
                box-sizing: border-box;
                /* margin: 0px; */
            }
            .model_counter_styler{
                height: 100%;
                width: 10%;
                /* border: 1px solid black; */
                font-size: 18px;
                font-weight: 1000;
                text-align: center;
                box-sizing: border-box;
                display: flex;
                align-items: center;
                justify-content: center;
            }
                #free_model_counter{
                    font-size: 32px;
                }
                .not_enough_queries{
                    background-color: #D99090;
                }
            .model_list_styler{
                height: 100%;
                width: 175px;
                margin-top: 15px;
                margin-bottom: 10px;
                box-sizing: border-box;
            }
/* #legal_container {
    position: fixed;
    bottom: 5px;
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 100%;
}

#terms, #privacy {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

#terms {
    margin-right: 10px;
}

#privacy {
    margin-left: 10px;
} */
            
#legal_container{
    
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 50dvw;
    /* position: relative;
    top: 25px; */
}
    #terms{
        width: 25dvw;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        margin-right: 15px;
        cursor: pointer;
        box-sizing: border-box;
        font-weight: 750;
    }
    #privacy{
        width: 25dvw;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 15px;
        cursor: pointer;
        
        right: 10px;
        box-sizing: border-box;
        font-weight: 750;
    }


@media (max-width: 768px) {
    body, html {
        overflow-y: auto;
    }
    #free_model_counter{
        font-size: 18px;
    }
    #legal_container{
        width: 100dvw;
    }
        #terms{
            width: 50dvw;
        }
        #privacy{
            width: 50dvw;
        }
    #app_container{
        height: auto;
        width: 100dvw;
        align-items: flex-start;

    }
    #body_container {
        height: auto;
        width: 95%;
        flex-direction: column;
        align-items: flex-start;
    }

    #all_inputs_container{
        width: 100%;
        height: 70dvh;
        /* height: 70%; */
        display: flex;
        flex-direction: row;
        align-items: center;
        box-sizing: border-box;
    }


    #left_container {
        width: 100%;
        height: 90dvh;
        margin: 10px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
    }
    #right_container {
        width: 100%;
        height: 100dvh;
        margin: 10px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    #dollar_container{
        flex-direction: column;
    }
    #dollar_top_container{
        width: 100%;
    }
    #dollar_bottom_container{
        width: 100%;
    }
    #disclaimer{
        line-height: 17px;
        word-spacing: 3px;
    }
    .medication_index_container{
        display: flex;
        align-items: center;
        width: 10%;
        height: fit-content;
        justify-content: stretch;
        font-size: 24px;
        font-weight: 500;
    }
}
