html, body {
    background-color: #FFF8E1 !important;
    color: #0b0b0b;
    font-family: "Poppins", sans-serif;
}
html {
    height: 100vh;
}
body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.container-lg {
    height: 100vh;
    max-width: 1140px;
}

#footer, .copyright {
    background-color: #FFF8E1;
    color: #737f8a;
}
.laptop-info {
    display: none;
}
h1, h2 {
    font-family: "Poppins", sans-serif;
    color: #ffc107;
}
a {
    color: #ffc107 !important;
}
a.btn-primary, a.btn-danger {
    color: #fff !important;
}
h1.logo-title {
    display: block;
    width: 160px;
    height: 100px;
    background-image: url(../images/transparent_logo_yellow.png);
    background-size: contain;
    margin: 10px auto;
    text-indent: -9999px;
    overflow: hidden;
}

form {
    background-color: #F5F5F5;
    border-radius: 10px;
    -webkit-box-shadow: 7px 8px 25px -2px rgba(0,0,0,0.54);
    box-shadow: 7px 8px 25px -2px rgba(0,0,0,0.54);
    margin: 60px auto;
    max-width: 330px;
    padding: 15px;
}
form h2, .register-title {
    color: #0b0b0b;
    display: block;
    text-align: center;
    font-size: 1.5em;
    font-family: "Poppins", sans-serif;
}
form button[type=submit] {
    border-radius: 10px;
}
form label[for=registration_form_agreeTerms], form label[for=registration_form_agreeNewsletter] {
    display: contents;
}

#detail-performance .bi {
    padding-right: 5px;
}

#detail-performance .badge {
    margin-left: 5px;
}

/* connected platform */

#logged-in form {
    margin: 20px auto;
    max-width: 90%;
}

#logged-in .btn-primary {
    background-color: #ffc107;
    border-color: #ffc107;
}

#logged-in div.col.py-3 {
    background-color: #FFF8E1;
    padding-bottom: 75px !important;
    min-height: 100vh;
}
#logged-in #menu-wrapper {
    display: block;
    position: fixed;
    bottom: 0%;
    width: 100%;
    height: 75px;
    z-index: 10000;
}
#logged-in #menu-wrapper div.d-flex {
    padding-top: 0% !important;
    display: inline !important;
}

#logged-in #menu-wrapper div.d-flex > a:first-child {
    display:none !important;
    padding: 0 !important;
}
#logged-in #menu-wrapper hr {
    display: none;
}
#logged-in #menu-wrapper ul.nav {
    display: inline-block;
    width: 75%;
    margin: 0;
    padding: 0;
}
#logged-in #menu-wrapper div.dropdown {
    display: inline-block;
}
#logged-in #menu-wrapper div.dropdown a {
    color: #ffc107 !important;
}
#logged-in #menu-wrapper ul.nav li {
    display: inline-block;
    width: 30%;
    text-align: center;
    font-size: 1.5em;
    color: #737f8a;
}
#logged-in #menu-wrapper ul.nav li .nav-link {
    padding-top: 0;
    color: #ffc107;
    font-size: 1.5em !important;
}

#logged-in .card {
    border: none;
    -webkit-box-shadow: 2px 5px 11px -1px rgba(0,0,0,0.54);
    box-shadow: 2px 5px 11px -1px rgba(0,0,0,0.54);
}
#logged-in .card.small-home-card {
    display: inline-block;
    width: 45%;
    margin: 2%;
    max-width: 170px;
}
#logged-in .card.small-home-card h5 {
    font-size: 2.5em;
    text-align: center;
    font-family: "Poppins", sans-serif;
}
#logged-in .card.large-home-card {
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    margin-top: 0 !important;
    max-width: 370px;
}
#logged-in .card.large-home-card .home-daily-calories {
    font-size: 1.5em;
    text-align: center;
    font-family: "Poppins", sans-serif;
    display: inline-block;
    width: 30%;
    border-radius: 50%;
    border: 1px dashed #ffc107;
    height: 0;
    padding-bottom: 30%;
    vertical-align: text-bottom;
}
#logged-in .card.large-home-card .home-daily-calories .bi-plus {
    font-size: 2em;
    color: #ffc107;
}
#logged-in .card.large-home-card, #logged-in .card.small-home-card {
    background-color: #F5F5F5;

}
#logged-in .card.large-home-card .card-header, #logged-in .card.small-home-card .card-header {
    display: none;
}
#logged-in .card.large-home-card .home-daily-detail {
    display: inline-block;
    width: 65%;
    margin-left: 3%;
}
#logged-in .card.large-home-card .home-daily-calories > div {
    margin-top: 19%;
}
#logged-in .card.large-home-card .home-daily-calories > div > span {
    font-size: 0.7em;
    display: block;
}
#logged-in .card-header {
    border: none;
    text-align: center;
    font-size: 1.5em;
    font-family: "Poppins", sans-serif;
}

.favorite-widget .card-body {
    padding: 0;
}
.favorite-widget .card-body > a {
    margin: 0;
}

.star-dashboard {
    display: block;
    font-size: 3em;
}
.card-subtitle {
    font-size: 0.8em;
    display: block;
    text-align: center;
}
.card-title .unit {
    font-size: 0.5em;
}
.card-title .bi-plus {
    color: #ffc107;
}

#logged-in .card form {
    transition-duration: 500ms;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin: 30px auto;
}

/*#logged-in .card form:focus-within {*/
/*    transition-duration: 500ms;*/
/*    -webkit-box-shadow: 7px 8px 25px -2px rgba(0,0,0,0.54);*/
/*    box-shadow: 7px 8px 25px -2px rgba(0,0,0,0.54);*/
/*}*/
#generate_recipe > div:first-child::after {
    content: " -- and/or --";
    font-size: 14px;
    display: block;
    clear: both;
    color: grey;
}

/* subscription page */
/*.pricing-card {*/
/*    width: 75%;*/
/*    margin: 20px auto;*/
/*}*/
/*.price {*/
/*    font-family: "Poppins", sans-serif;*/
/*    font-size: 2em;*/
/*    text-align: center;*/
/*    margin-bottom: 0;*/
/*}*/
/*.price-frequency {*/
/*    font-size: 0.4em;*/
/*}*/
/*.price-duration {*/
/*    text-align: center;*/
/*    font-size: 0.8em;*/
/*}*/
/*.price-header {*/
/*    text-align: center;*/
/*    margin-bottom: 0;*/
/*    font-weight: bold;*/
/*}*/

.pricing-card {
    background-color: #F5F5F5;
    border-radius: 10px;
    -webkit-box-shadow: 7px 8px 25px -2px rgba(0,0,0,0.54);
    box-shadow: 7px 8px 25px -2px rgba(0,0,0,0.54);
    margin: 60px auto;
    max-width: 400px;
    padding: 15px;
}
.pricing-card.pricing-suggested {
    border: 2px solid #ffc107;
}
.pricing-card.pricing-suggested h2 {
    background-color: #FFF8E1;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.pricing-card h2 {
    color: #ffc107;
    display: block;
    text-align: center;
    font-size: 1.5em;
    font-family: "Poppins", sans-serif;
}
.pricing-card .pricing-card-price {
    font-size: 3em;
    color: #ffc107;
    text-align: center;
}
.pricing-card .pricing-card-price span.sub-price {
    display: block;
    font-size: 0.3em;
    color: #737f8a;
}
.pricing-card .pricing-card-price span.price-instead {
    text-decoration: line-through;
}
.pricing-card .pricing-card-price .duration {
    font-size: 0.5em;
}

/** weight tracker **/
.weight-chart {
    margin: 10px auto;
    background-color: #F5F5F5;
    border-radius: 10px;
    -webkit-box-shadow: 7px 8px 25px -2px rgba(0,0,0,0.54);
    box-shadow: 7px 8px 25px -2px rgba(0,0,0,0.54);
    padding: 5px;
}

/** AI diet page **/
ul.link-list, ul.link-list > li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.link-list > .list-item {
    display: block;
    margin: 10px auto;
    background-color: #F5F5F5;
    border-radius: 10px;
    -webkit-box-shadow: 7px 8px 25px -2px rgba(0,0,0,0.54);
    box-shadow: 7px 8px 25px -2px rgba(0,0,0,0.54);
    padding: 5px;
    height: max-content;
}
.list-item a{
    text-decoration: none;
}
.list-item .title {
    font-size: 1.2em;
    font-family: "Poppins", sans-serif;
    display: block;
    color: #0b0b0b;
}
.list-item .subtitle {
    font-size: 0.8em;
    display: block;
    color: #0b0b0b;
}

/** security changes (password change) */
#update_password_form label{
    display: block;
}
#update_password_form input, #update_password_form button {
    display: block;
    width: 100%;
}
#update_password_form div {
    margin: 10px auto;
}

/** chat style **/
.assistant-container {
    position: absolute;
    bottom:75px;
    top: 120px;
    left: 0;
    right: 0;
    background-color: #F5F5F5;
    display: flex;
    flex-direction: column;
}
.assistant-chat {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}
.assistant-chat ul.chat-thread {
    list-style: none;
    padding: 0;
    margin: 0;
}
.assistant-chat ul.chat-thread > li {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9em;
    line-height: 1.5;
    max-width: 80%;
    word-wrap: break-word;
    width: fit-content;
    position: relative;
}
.info.time-info {
    text-align: center;
}
.time-info {
    font-size: 0.8em;
    color: #737f8a;
    display: block;
    margin-bottom: 5px;
}
.assistant-chat ul.chat-thread > li p {
    margin: 0;
}
.assistant-chat ul.chat-thread > li li {
    margin: 0;
    padding: 0;
}
.assistant-chat ul.chat-thread li.user {
    text-align: right;
    background-color: #cccccc;
    display: block;
    margin-left: auto;
    margin-right: 50px;
}
.assistant-chat ul.chat-thread li.nommy {
    text-align: left;
    background-color: #f8d570;
    display: block;
    margin-left: 50px;
    margin-right: auto;
}
.assistant-chat ul.chat-thread li.nommy a {
    color: #fff !important;
    text-decoration: none;
}
.assistant-input-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
}
.assistant-input-form input {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.assistant-input-form input[disabled] {
    background-color: #cccccc;
}
.assistant-input-form button {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: #ffc107;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.avatar {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffc107;
    display: inline-block;
    top: 0;
    left: -50px;
    background-image: url(../images/assistant/nommy_avatar.png);
    background-size: cover;
}
.loading .avatar {
    background-image: url(../images/assistant/nommy_thinking.png);
}
.message-avatar {
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: -5px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #f8d570;
}
.user .message-avatar {
    width: 0;
    height: 0;
    left: initial;
    right: -5px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #cccccc;
    border-right: initial;
}
.user .avatar {
    left: initial;
    right: -50px;
    background-color: #cccccc;
    background-image: none;
}

/* short action in the chat styling */
.shortActionLinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}
.shortActionLinks ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.short_action {
    display: inline-block;
    margin: 5px;
    padding: 5px 10px;
    background-color: #ffc107;
    color: white !important;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8em;
    text-decoration: none;
}


@media (min-width: 768px) {
    .laptop-info {
        display: block;
    }
    .dashboard{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: space-between;
    }
    .favorite-widget .card-body, .favorite-widget .card-body a {
        height: 100%;
    }
    /** laptop */
    #logged-in #menu-wrapper {
        position: initial;
        height: initial;
        flex-basis: min-content;
    }
    #logged-in #menu-wrapper ul.nav li {
        display: initial;
        width: initial;
        text-align: initial;
        font-size: initial;
    }
    #logged-in #menu-wrapper ul.nav li .nav-link {
        font-size: initial !important;
    }
    html, body, .container-lg, div.row {
        min-height: 100% !important;
    }
    /*#chat-container {*/
    /*    width: 700%;*/
    /*}*/
    #logged-in form {
        max-width: 75%;
    }
}