
:root {
    /* brand */
        --color-green: #69C054;
    
        --color-orange: #F9AA62;
        --color-orange30: rgba(249, 170, 98, 0.30);;
        --color-orange20: rgba(249, 170, 98, 0.20);;
        --color-orange10: rgba(249, 170, 98, 0.10);;
    
    
        --color-black: #2D2D2D;
        --color-black50: rgba(57, 63, 46, 0.50);
        --color-black30: rgba(57, 63, 46, 0.30);
        --color-black10: rgba(57, 63, 46, 0.10);
        --color-black05: rgba(57, 63, 46, 0.05);;
    
    
        --color-red: #F34242;
        --color-brown: #A67700;
       
        
        /* neutral */
        --color-charcoal: #545454;
        --color-cream: #FCFBF9;
        --color-white: #FCFBF9;
        
        
        /* state */
        --color-info: #2F80ED;
        --color-success: #27AE60;
        --color-warning: #E2B93B;
        --color-warning: #EB5757;
    
        --gold-color: #B38E44;
        font-size:  14px   
    }
    html{
        font-size:  14px   
    }
    body{
        margin: 0;
        padding: 0;
    
    }
    h1{
        font-size: 3rem;
        margin: 0;
        line-height: 1;
    }
    h3{
        font-size: 1.8rem;
        line-height: 1;
    }
    h4{
        font-size: 1.3rem;
    }

.form-control-lg,textarea.form-control{
    background: var(--color-black10);
}
#newRecipes .timePreparation{
    /* outline: 1px solid red; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
#newRecipes .timePreparation .info {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* outline: 1px solid red; */
}
#newRecipes .timePreparation .info svg{
    /* outline: 1px solid --blue; */
    width:2.4rem;
    
}
#newRecipes .timePreparation .info label{
    width: 6rem;
    margin-left: 1rem;
    font-weight: bold;
    line-height: 1;
}

#newRecipes .timePreparation .inputsTime{
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 1rem;
    padding-left: 1rem;
} 
#newRecipes .timePreparation .inputsTime .contInfoTime {
    display: flex;
    flex-direction: column;
    width: 40%;
    justify-content: center;
    align-items: center;
}
#newRecipes .timePreparation .inputsTime .contInfoTime input{
    text-align: center;
    padding: 0;
    background: var(--color-black10);
}
#newRecipes .timePreparation .inputsTime .contInfoTime span{
    font-size: .8rem;
    line-height: 1;
    font-weight: normal;
    color: var(--color-black50);
    margin: 0;
    margin-top: .5rem;
}
#newRecipes .timePreparation .inputsTime  span{
    font-size: 1.5rem;
    line-height: 1;
    font-weight: bold;
    margin-right: 1rem;
    margin-left: 1rem;
    margin-bottom: 1.5rem;
}

#newRecipes .inputDinamic{
    margin-top: 1rem;
    margin-bottom: 1rem;
}
#newRecipes .contInputAux{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}
#newRecipes .contInputAux input{
    width: 80%;
}
#newRecipes .contInputAux button{
    width: 12%;
    
}
#newRecipes .contInputAux textarea {
    width: 80%;   
}
#newRecipes #agregarInputIngredients,
#newRecipes #agregarInputSteps{
    background: var(--color-orange);
    border-radius: 32px;
    padding: 1rem 2rem;
    flex-basis: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    border: none;
}
#newRecipes .btn-danger{
    background: var(--color-red);
    border-radius: 32px;
    padding: 1rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border: none;
    line-height: 1; 
}
#newRecipes .containerSend{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 5rem;
}
#newRecipes .buttonPrimary{
    background: var(--color-green);
    color: white;
    border-radius: 32px;
    text-align: center;
    padding: 1rem 2.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Estilización del contenedor de vista previa */
.preview-container {
    width: 100%;
    height: 13rem;
    border: 4px dashed var(--color-black10);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background:url(/static/img/imgUpload.png), var(--color-black10);
    background-repeat: no-repeat;
    background-position: center;
}

.preview-container img {
    max-width: 100%;
    max-height: 100%;
}

/* Estilización del botón para seleccionar archivo */
.custom-file-upload {
    margin-top: 10px;
    cursor: pointer;
    display: inline-block;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    background-color: var(--color-orange);;
    border-color: var(--color-orange);;
    color: #fff;
    border-radius: 32px;
    padding: 1rem 2rem;
    flex-basis: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    width: max-content;
}
.successNewRecipe{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.successNewRecipe h2{
    margin-bottom: 2rem;
    margin-top: 5rem;
}
.successNewRecipe svg{
    width: 15rem;
}
.successNewRecipe p{
    line-height: 1;
    margin: 3rem 0;
    width: 16rem;
    margin: 2rem 0 3rem;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.3;
}
.successNewRecipe a.buttonPrimary{
    font-size: 1.3rem;
    background: var(--color-green);
    color: white;
    border-radius: 32px;
    text-align: center;
    padding: 1rem 2.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}