body {
    margin: 0;
    padding: 0;
    overflow: auto;
    min-width: 100vw;
    min-height: 100vh;
    background-color: #ebebeb;
}

.pic_medicine_symbol {
    max-width: 200px;
}

.sticky_top {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow-y: auto;
}

.sticky_bottom {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    bottom: 0;
    z-index: 1001;
    overflow-y: auto;
}

.h1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: rgb(3, 118, 163); 
    font-family: 'Times New Roman', Times, serif;
    width: auto;
    white-space: pre-line;
}

.h1_alt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: rgb(255, 255, 255); 
    font-family: 'Times New Roman', Times, serif;
    width: auto;
    white-space: pre-line;
}

.h2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: rgb(3, 118, 163); 
    font-family: 'Times New Roman', Times, serif;
    width: auto;
    margin-left: 20px;
    white-space: pre-line;
}

.h4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 10px;
    white-space: pre-line;
}

.button {
    display: inline-block;
    width: 300px;
    height: auto;
    line-height: 45px;
    margin: 10px;
    padding: 0 56px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: 400;
    outline: 0;
    cursor: pointer;
    border: none;
    border-radius: 7px;
    background: #fff;
    color: #696969;
    box-shadow: 0 4px 14px 0 rgb(0 0 0 / 10%);
    transition: background 0.2s ease,color 0.2s ease,box-shadow 0.2s ease;
}

.button:hover{
    background: rgb(255, 255, 255);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.336);
}

.button:active {
    box-shadow: none;
}

.button_action {
    display: inline-block;
    min-width: 300px;
    height: 45px;
    line-height: 45px;
    margin: 10px;
    padding: 0 56px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: 400;
    outline: 0;
    cursor: pointer;
    border: none;
    border-radius: 7px;
    background:  rgb(3, 118, 163);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgb(0 0 0 / 10%);
    transition: background 0.2s ease,color 0.2s ease,box-shadow 0.2s ease;
}

.button_action:hover{
    background: rgb(3, 118, 163);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.336);
}

.button_action:active {
    box-shadow: none;
}

.button_import {
    display: inline-block;
    min-width: 300px;
    height: 45px;
    line-height: 45px;
    margin: 10px;
    padding: 0 56px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: 400;
    outline: 0;
    cursor: pointer;
    border:rgba(0, 0, 0, 0.4);
    border-style: solid;
    border-width: 2px;
    border-radius: 7px;
    background:  rgb(246, 178, 68);
    color: #262323;
    box-shadow: 0 4px 14px 0 rgb(0 0 0 / 10%);
    transition: background 0.2s ease,color 0.2s ease,box-shadow 0.2s ease;
}

.button_import:hover{
    background: rgb(246, 178, 68);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.336);
}

.button_import:active {
    box-shadow: none;
}

.button_export {
    display: inline-block;
    min-width: 300px;
    height: 45px;
    line-height: 45px;
    margin: 10px;
    padding: 0 56px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: 400;
    outline: 0;
    cursor: pointer;
    border:rgba(0, 0, 0, 0.4);
    border-style: solid;
    border-width: 2px;
    border-radius: 7px;
    background:  rgb(246, 178, 68);
    color: #262323;
    box-shadow: 0 4px 14px 0 rgb(0 0 0 / 10%);
    transition: background 0.2s ease,color 0.2s ease,box-shadow 0.2s ease;
}

.button_export:hover{
    background: rgb(246, 178, 68);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.336);
}

.button_export:active {
    box-shadow: none;
}

.login_input_container {
    transform: scale(1.2);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.login_input_label {
    font-family: 'Times New Roman', Times, serif;
}

.login_input {
    margin: 10px;
    padding: 10px;
    width: 250px;
}

.root_page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.root_page_header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.root_page_footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.settings_page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.settings_page_body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.settings_checkbox_container {
    border: 1px solid rgb(3, 118, 163);
    border-radius: 7px;
    padding: 10px;
    margin: 10px;
}

.settings_checkbox {
    transform: scale(1.5);
    margin: 10px;
}

.settings_checkbox_label {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
}

.settings_input_container {
    border: 1px solid rgb(3, 118, 163);
    border-radius: 7px;
    padding: 10px;
    margin: 10px;
}

.settings_input {
    transform: scale(1.2);
    width: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 20px;
}

.settings_input_label {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
}

.settings_page_footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    margin-bottom: 50px;
}

.category_page {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.category_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 33.33%;
}

.question_page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: auto;
    margin-top: 20px;
    margin-left: 20px;
}

.questions_page_header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: auto;
    height: auto;
    background-color: white;
    border: 1px solid rgb(240, 240, 49);
    border-radius: 7px;
    margin: 20px;
}

.questions_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    border: 1px solid rgb(3, 118, 163);
    border-radius: 7px;
    padding: 10px;
    margin: 20px;
}

.question_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.question_checkbox_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid rgb(3, 118, 163);
    border-radius: 7px;
    padding: 10px;
    margin: 10px;
}

.results_page_header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 30px;
    margin-left: 30px;
}

/* Ajustare pentru a face loc footer-ului fix de jos, daca e cazul, 
   sau pur si simplu stilizare pentru elementele noi */

#main_app_wrapper {
    min-height: calc(100vh - 80px); /* Scadem inaltimea aproximativa a footerului */
    width: 100%;
}

/* Stiluri pentru pagina legala sa arate bine pe mobil */
@media only screen and (max-width: 600px) {
    #legal_page_netopia {
        padding: 20px;
        margin: 10px;
    }
}