﻿/* MODALS */
.modal {
    height: 100vh;
    width: 100%;
    background: #00000080;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.modal.waiting {
    display: none;
}

.modal-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    background: #ffffff;
    max-width: 425px;
    width: 100%;
    position: relative;
    font-family: Helvetica, Arial;
    animation: MoveUpDown .5s;
    margin-top: 5vh;
}

@keyframes MoveUpDown {
    0% {
        opacity: .5;
        transform: translateY(-100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.ativo {
    display: none;
}

.headerbtn {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    padding: 7px 14px 0 0;
}

    .headerbtn span {
        color: grey;
        font-size: 19px;
        font-weight: bolder;
        cursor: pointer;
    }

.middle {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.center-icon i {
    font-size: 6em;
}

.center-text {
    text-align: center;
    margin: 20px 30px;
    font-weight: bold;
}

.message-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 20px 10px;
    border-end-end-radius: 8px;
    border-end-start-radius: 8px;
    color: white;
    outline: none;
    border: none;
}

.success {
    color: #059249;
}

.success-bg {
    background: #059249;
}

.error {
    color: #ff0016;
}

.error-bg {
    background: #ff0016;
}

.primary {
    color: #1b759c;
}

.danger {
    color: #ff6a00;
}

@media (max-width: 500px) {
    .modal-in {
        border-radius: 8px;
        justify-content: space-between;
        height: fit-content;
        margin: 15px;
    }
}
