.vmgrform__wrapper {
    margin: 0 auto;
    border: 1px solid #000;
    padding: 20px;
}

/* wrapper modal */
.vmgrform__wrapper-modal {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(0, 0, 0, .4);
    transition: background-color .1s;
    overflow-y: auto;
    overflow-x: hidden;
}

.vmgrform__wrapper-inner {
    position: relative;
    width: 32em;
    max-width: 100%;
    padding: 1.25em;
    border: none;
    border-radius: 5px;
    background: #ffffff;
    color: #545454;
    font-family: inherit;
    font-size: 1rem;
}

.vmgrform__wrapper-inner .vmgrform__form {
    padding: 3em 0 0 0;
}

.vmgrform__wrapper-modal-close {
    z-index: 1;
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    border-radius: 50%;
    transition: .3s all ease;
    transform-origin: center;
    cursor: pointer;
    background: transparent;
}

.vmgrform__wrapper-modal-close svg {
    width: 40%;
    height: 40%;
    pointer-events: none;
}

.vmgrform__wrapper-modal-close path {
    pointer-events: none;
}

.vmgrform__wrapper-modal-close:hover {
    transform: rotate(180deg);
    background: #cecece;
}
/* // */

.vmgrform__input-label {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.vmgrform__input-label p {
    margin: 0 0 2px;
}

.vmgrform__input-label input,
.vmgrform__input-label textarea {
    width: 100%;
}

.vmgrform__submit-wrapper {
    padding: 20px;
}

.vmgrform__submit-wrapper button {
    display: block;
    margin: 0 auto;
}

input.vmgrform__input-error, textarea.vmgrform__input-error {
    border-color: #f27474;
}

/* hints error */
.vmgrform__hint-error {
    position: absolute;
    z-index: 1;
    bottom: -26px;
    opacity: 0;
    transition: .3s all ease;
}

.vmgrform__hint-error.active {
    opacity: 1;
}

.vmgrform__hint-inner {
    position: relative;
    z-index: 2;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    color: white;
    background: #353535ed;
}

.vmgrform__hint-error::before {
    content: '';
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 0;
    width: 16px;
    height: 16px;
    background: #353535ed;
    transform: rotate(45deg) translateX(-50%);
}

/* // */

/* message */
.vmgrform-message__container {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(0, 0, 0, .4);
    transition: background-color .1s;
    overflow-y: auto;
    overflow-x: hidden;
}

.vmgrform-message__modal {
    position: relative;
    width: 32em;
    max-width: 100%;
    padding: 1.25em;
    border: none;
    border-radius: 5px;
    background: #ffffff;
    color: #545454;
    font-family: inherit;
    font-size: 1rem;
}

.vmgrform-message__modal-show {
    animation: vmgrform-message__modal-show .3s
}

.vmgrform-message__modal-hide {
    animation: vmgrform-message__modal-hide .15s forwards
}

.vmgrform-message__modal-img {
    position: relative;
    justify-content: center;
    width: 5em;
    height: 5em;
    margin: 2.5em auto .6em;
    border: .25em solid transparent;
    border-radius: 50%;
    font-family: inherit;
    line-height: 5em;
    cursor: default;
    user-select: none;
}

.vmgrform-message__modal-text {
    position: relative;
    display: block;
    max-width: 100%;
    margin: 0;
    padding: .8em 1em;
    font-size: 1.875em;
    font-weight: 600;
    text-align: center;
    text-transform: none;
    word-wrap: break-word;
    color: #595959;
}

.vmgrform-message__modal-close {
    z-index: 1;
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    border-radius: 50%;
    transition: .3s all ease;
    transform-origin: center;
    cursor: pointer;
    background: transparent;
}

.vmgrform-message__modal-close svg {
    width: 40%;
    height: 40%;
    pointer-events: none;
}

.vmgrform-message__modal-close path {
    pointer-events: none;
}

.vmgrform-message__modal-close:hover {
    transform: rotate(180deg);
    background: #cecece;
}

@keyframes vmgrform-message__modal-show {
    0% {
        transform: scale(.7)
    }

    45% {
        transform: scale(1.05)
    }

    80% {
        transform: scale(.95)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes vmgrform-message__modal-hide {
    0% {
        transform: scale(1);
        opacity: 1
    }

    100% {
        transform: scale(.5);
        opacity: 0
    }
}

/* // */