
/* Email Modal */
.email-sent-modal, .email-loader, .email-failed-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 200;
    background: rgba(255, 255, 255, .95);  
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.75s, visibility 0.75s;
}

.email-sent-modal-hidden, .email-failed-modal-hidden {
    opacity: 0;
    visibility: hidden;
}

.email-modal-card, .email-failed-modal-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    width: 40%;
    height: 450px;
    border-radius: 8px;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, .1);
}
.email-modal-body, .email-failed-modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.email-modal-title {
    font-size: 25px;
    color: #0fc674;
    text-align: center;
    margin-bottom: 10px;
}

.email-failed-modal-title {
    font-size: 25px;
    color: #f65556;
    text-align: center;
    margin-bottom: 10px;
}

.email-modal-message {
    max-width: 60%;
    text-align: center;
    margin-bottom: 40px;
}

.email-failed-modal-message {
    max-width: 60%;
    text-align: center;
    margin-bottom: 40px;
}

.email-modal-button-title {
    margin: 0;
}

.email-modal-button {
    width: 60%;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0fc674;
    color: #fff;
    cursor: pointer;
}
.email-failed-modal-button {
    width: 60%;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f65556;
    color: #fff;
    cursor: pointer;
}

.email-loader::after {
    content: '';
    width: 75px;
    height: 75px;
    border-radius: 100%;
    border: 10px solid #dfe2e5;
    border-top-color: #e34202;
    animation: spinner 0.75s ease infinite;

} 

.email-loader-hidden {
    opacity: 0;
    visibility: hidden;
  }

@keyframes spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

@media screen and (max-width: 768px) {
    .email-modal-card, .email-failed-modal-card {
        width: 80%;
    }
}

@media screen and (min-width: 769px) {
    .email-modal-card, .email-failed-modal-card {
        width: 60%;
    }
}

@media screen and (min-width: 992px) {
    .email-modal-card, .email-failed-modal-card {
        width: 40%;
    }
}

