﻿.iti {
    width: 100%;
    display: block;
    height: auto;
    height: 38px;
}

.iti__flag-container {
    height: 100% !important;
    display: flex;
    align-items: center;
}

.message-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 550px;
    max-height: 280px;
    width: 80vw;
    height: 70vh;
    background: #f8f9fa;
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: 5px;
    padding: 24px 32px;
    text-align: center;
    z-index: 9999;
    opacity: 0.4;
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1);
}

.success-color {
    color: #28a745;
}

.fail-color {
    color: #DD2E44;
}

.icon {
    width: 56px;
    height: 56px;
    margin-bottom: 25px;
}

.icon-circle {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: draw-shape 0.8s cubic-bezier(.65,.05,.36,1) forwards;
}

.icon-tick {
    fill: none;
    stroke: #28a745;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw-shape 0.8s 0.6s cubic-bezier(.65,.05,.36,1) forwards;
}

.icon-cross {
    fill: none;
    stroke: #e74c3c;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw-shape 0.8s 0.4s cubic-bezier(.65,.05,.36,1) forwards;
}

@keyframes draw-shape {
    to {
        stroke-dashoffset: 0;
    }
}


