@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    margin: 0px;
    background-color: #f3f2ef;
}

.content{
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
}

.calc{

    text-align: center;
    width: 100%;
    background-color: #dcdbdb;
    position: relative;
    font-size: 14px;
    padding: 40px 30px 30px 30px;
    box-sizing: border-box;
}

.calc-2{
    font-family: 'Montserrat', sans-serif;
    max-width: 650px;
    width: 100%;
    background-color: #dcdbdb;
    margin-top: 30px;
    position: relative;
    font-size: 14px;
    padding: 30px 30px 30px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.search-bar{
    display: flex;
    width: 100%;
    column-gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.search-group{
    display: flex;
    flex-direction: column;
}
.search-group label{
    padding-bottom: 7px;
    font-weight: 600;
    margin-top: 10px;
}

.calc-field-group label{
    font-weight: 600;
    margin-right: 10px;
}

.calc-field{
    flex-grow: 1;
    outline: none;
    padding: 3px 10px;
    border: 1px solid #dedede;
    font-family: 'Montserrat', sans-serif;
    height: 28px;
    border-radius: 4px;
    min-width: 150px;
    box-sizing: border-box;
    font-size: 14px;
}

.calc-select {
    -webkit-appearance: none!important;
    -moz-appearance: none!important;
    appearance: none!important;
    flex-grow: 1;
    outline: none;
    padding: 3px 20px 3px 10px;
    border: 1px solid #dedede;
    font-family: 'Montserrat', sans-serif;
    height: 28px;
    border-radius: 4px;
    min-width: 150px;
    font-size: 13px;
}

.calc-select:not([multiple]) {
    background-repeat: no-repeat;
    background-position: 98% 45%;
    background-size: 1em auto;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"> <path d="M7.5 12.9L2.6 8 4 6.6l3.5 3.5L11 6.6 12.4 8z"/> </svg>');
}
.calc-button{
    font-family: 'Montserrat', sans-serif;

    appearance: none;
    border: 0px;
    cursor: pointer;
    outline: none;
    padding: 8px 16px;
    border-radius: 4px;
    background-color: rgb(157, 151, 145);
    color: rgb(255, 255, 255);
    font-weight: 400;
    min-width: 120px;
}

.calc-button:hover{
    background-color: #928a80;
}

.ingredient-table{
    width: 100%;
    min-width: 1130px;
}

.ingredient-table-box{
    width: 100%;
    overflow: auto;
    font-family: 'Montserrat';
}

.ingredient-row{
    display: flex;
    width: 100%;
    justify-content: space-between;
    column-gap: 5px;
}
.ingredient-head .ingredient-col{
    background-color: #928a80!important;
    color: white;
    padding: 7px 10px;
    text-align: center;
    border-radius: 10px 10px 0px 0px;
}

.total-row .ingredient-col{
    background-color: #cbc5be !important;
    color: black;
    font-weight: 600;
    padding: 7px 10px;
    text-align: center;
}

.total-pr-row .ingredient-col{
    background-color: #928a80 !important;
    color: white;
    padding: 7px 10px;
    text-align: center;
}



.ingredient-col{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px;
}

.ingredient-row:nth-child(even) .ingredient-col{
    background-color: #e9e6de;
}
.ingredient-row:nth-child(odd) .ingredient-col{
    background-color: #f3f2ef;
}
.ingredient-row:last-child .ingredient-col{
    border-radius: 0px 0px 10px 10px;

}
.ingredient-col:first-child{
    min-width: 250px;
    position: relative;
}


.ingredient-title{
    width: 100%;
    padding: 0px 10px;
    text-align: center;
}
.delete-btn {
    position: absolute;
    left: 0px;
    top: 0px;
    cursor: pointer;
    background-color: #ff000059;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px 0px 50%;
    color: white;
    font-size: 20px;
}

.delete-btn:hover{
    background-color: rgba(255, 0, 0, 0.51);
}


.ingredient-table-2{
    max-width: 800px;
    width: 100%;
    font-family: 'Montserrat';
}

.table-2-row{
    display: flex;
    width: 100%;
    justify-content: space-between;
    column-gap: 5px;
}
.table-2-header{
    background-color: #928a80 !important;
    color: white;
}
.table-2-col{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: 10px;
    text-align: left;
}

.table-2-col:first-child{
    max-width: 50px;
}

.table-2-title{
    min-width: 250px;
}

.table-2-row:nth-child(even){
    background-color: #e9e6de;
}
.table-2-row:nth-child(odd){
    background-color: #f3f2ef;
}

.up-down {
    position: absolute;
    top: 0px;
    right: 7px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 4px;
}

.up-down div {
    width: 11px;
    height: 11px;
    opacity: 0.2;
    cursor: pointer;
    display: flex;
}

.up-down div:hover {
    opacity: 1;
}

.ingredient-field {
    width: 100%;
    border: 0px;
    font-family: 'Montserrat';
    text-align: center;
    border-bottom: 1px solid #d3cdc5;
    background-color: #928a8000;
    font-size: 14px;
    outline: none;
}

.header {
    width: 100%;
    max-width: 1450px;
    display: flex;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
}

.logo img{
    width: 100px;
}
.menu{
    display: flex;
    column-gap: 10px;
}
.menu a{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    color: #827e79;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 7px;
    transition: background-color 0.4s ease;
    background-color: rgba(219, 215, 211, 0.27);
}
.menu a:hover{
    background-color: #dbd7d3;
}


.user-email{
    font-family: 'Montserrat', sans-serif;
    color: #827e79;
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap: 3px;
    margin-right: 15px;
}
.user-email span {
    font-size: 12px;
}


.login-form {
    max-width: 500px;
    padding: 20px;
    background-color: #dcdbdb;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    box-sizing: border-box;
}
.calc-field-group{
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 3px;
}
/*.only-login, .no-login{*/
/*    display: none;*/
/*}*/

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    column-gap: 20px;
}
.calc-h2 {
    width: 100%;
    text-align: center;
    font-size: 20px;
}

.recipe-name{
    width: 100%;
    text-align: center;
    font-size: 30px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 30px;
    margin-top: 20px;
    padding: 0px 40px;
    box-sizing: border-box;
}

.recipe-notes{
    width: 100%;
    text-align: center;
    font-size: 17px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 30px;
    padding: 0px 40px;
    box-sizing: border-box;
}

.pdf-logo{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 120px;
    height: 120px;
    opacity: 0.3;
}