﻿.modal-overlay {
    position: fixed;
    z-index: 1200; 
    padding-top: 20px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgb(0 0 0 / 61%);
 
}

.modal-content {
    position: relative;
    background-color: var(--dark-green);
    margin: auto;
    padding: 0;
    border: 0;
    top:100px;
    width: 60%;
    border-radius: 8px;
    background: var(--Verde-Dark-Verde-Dark, #062925);
    box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.50);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

.modal-header {
    padding: 12px 16px;
    border-top: 10px solid var(--secondary-green);
    background-color: var(--dark-green);
    color: white;
    display: flex;
    justify-content: end;
}

.close {
    cursor:pointer;
}

    .close:hover {
        filter: brightness(0) saturate(100%) invert(24%) sepia(94%) saturate(6719%) hue-rotate(357deg) brightness(117%) contrast(121%);
    }

.modal-body {
    height: auto;
    max-height: 517px;
    padding:0px 20px;
}

    .modal-body h2 {
        text-align: center;
        color: var(--white);
        font-family: Ubuntu;
        font-size: 28px;
        font-style: normal;
        margin-bottom:2rem;
        font-weight: 400;
        line-height: normal;
    }

    .modal-body h4 {
        color:var(--secondary-green);
        text-align: center;
        font-family: Ubuntu;
        font-size: 22px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

/* Só utilizar a classe modal-footer caso o modal tenha dois botões para "Confimar" e "Cancelar" */
.modal-footer {
    display: flex;
    justify-content: space-between;
}

.modal-footer button {
    width:200px;
    height:40px;
    border-radius:20px;
    border:0px;
    font-size:16px;
    font-weight:500;
    color:var(--white);
    cursor:pointer;
}

.confirmar {
    background-color:var(--secondary-green); 

}

.cancelar {
    background-color: var(--purple);
}

.modal-content.modal-cad {
    top: 0px;
    -webkit-animation-name: blur;
    -webkit-animation-duration: 0.4s;
    animation-name: blur;
    animation-duration: 0.4s;
}

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 100px;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 100px;
        opacity: 1
    }
}

@-webkit-keyframes blur {
    from {
       bottom: -1000px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes blur {
    from {
        bottom: -1000px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@media screen and (max-device-width: 480px) and (orientation:portrait) {

    .modal-content {
        width:80%;
    }

    .modal-body h2 {
        font-size:16px;
        margin-bottom:1rem;
    }

    .modal-body h4 {
        font-size: 12px;
    }

    .modal-footer {
        padding:20px 10px;
        gap:40px;
    }
        .modal-footer button {
            width: 130px;
            font-size:14px;
        }

 }

@media screen and (min-width: 481px) and (max-width: 780px) {
    .modal-content {
        width: 80%;
    }

    .modal-body h2 {
        font-size: 22px;
        margin-bottom: 1rem;
    }

    .modal-body h4 {
        font-size: 18px;
    }

    .modal-footer {
        padding: 20px;
        gap: 40px;
    }

    .modal-footer button{
        width:130px;
    }

}

@media screen and (min-width: 781px) and (max-width: 1280px) {
    .modal-content {
        width: 80%;
    }

    .modal-body h2 {
        font-size: 24px;
        margin-bottom: 1rem;
    }

    .modal-body h4 {
        font-size: 18px;
    }

    .modal-footer {
        padding: 20px;
        gap: 40px;
    }
}



.modal-wrapper .modal-body h2 {
    font-size: 22px;
}

.modal-wrapper .modal-body .form-title-green {
    font-size: 26px;
}

.modal-wrapper .modal-body h2 {
    padding-bottom: 40px;
    margin: 0;
}

.modal-wrapper .d-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding-top:5px;
}


.d-flex.login {
    margin-bottom:40px;
}

.modal-wrapper .form-title-green {
    color: var(--secondary-green);
    text-align: center;
    font-size: 22px;
    font-weight: 400;
}

.modal-wrapper .form-main-div {
    border-radius: 0;
    background-color: none;
    background: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

.modal-wrapper .div-input {
    max-width: 264px;
    position:relative;
}

    .modal-wrapper .div-input label {
        color:#FFF;
    }

    .modal-wrapper .div-input .form-input {
        padding-right: 2.5rem;
    }

    .show-pass {
        position: absolute;
        top: 33px;
        right: 10px;
    }

        .show-pass img {
            filter: brightness(0) saturate(100%) invert(12%) sepia(99%) saturate(5876%) hue-rotate(267deg) brightness(75%) contrast(99%);
            width: 20px;
        }

.modal-wrapper button.button-default {
    width: 200px;
    height: 40px;
    border-radius: 20px;
    border: 0px;
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
}

.modal-wrapper .form-title-green {
    color: var(--secondary-green);
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 32px;
}

.modal-wrapper hr {
    background: radial-gradient(50% 50% at 50% 50%, #48D335 0%, rgba(72, 211, 53, 0.00) 83.85%);
    height: 3px;
    border: 0;
    margin: 0 0 25px;
}

.modal-wrapper .link-white {
    color: var(--Branco-e-Cinza-Branco, #FFF);
    text-align: center;
    font-family: Ubuntu;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-bottom: 5px;
    cursor:pointer;
    transition: all .2s ease-in-out;
}

    .modal-wrapper .link-white:hover {
        color:var(--secondary-green);
    }

    .modal-wrapper .mb36 {
        margin-bottom: 36px;
    }

.modal-wrapper .input-group-flex {
    gap: 2rem;
}

.modal-wrapper .modal-body {
    max-height: inherit;
}

.modal-wrapper .text-center {
    text-align: center;
}

.d-flex.modal-footer div {
    margin-top: 20px;
}

.modal-footer.d-flex.cadastro {
    padding-top: 40px;
}

.div-star {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative;
}

.img-reverse {
    position: absolute;
    bottom: 8px;
}

@media screen and (max-width: 768px) {
    .modal-wrapper .modal-content .modal-footer button {
        width: 200px;
    }

        .modal-wrapper .modal-content .modal-footer button.confirmar.mb36.btn-cadastro {
            margin-top: 36px;
        }

    .modal-wrapper .form-main-div {
        padding: 0;
    }

    .modal-wrapper .d-flex {
        flex-direction: column;
    }

    .modal-wrapper .modal-body .form-title-green {
        font-size: 22px;
    }

    .modal-wrapper .modal-body h2 {
        font-size: 16px;
    }
}

.msg-erro {
   color:red;
   font-weight:600;
   text-align:center;
   margin-top:30px;
}