﻿.vue-modal {
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    position: absolute;
}

.vue-modal__layout {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient( 0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

.vue-modal__content-outer {
    min-width: 440px;
    min-height: 20vh;
    border-radius: 8px;
    box-sizing: border-box;
    max-width: max-content;
    padding: 3rem;
    background: white;
}

.vue-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.vue-modal__title {
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 600;
}

.vue-modal__close {
    cursor: pointer;
    width: 30px;
    height: 30px;
    transition: 0.5s;
    transform: rotate(0);
}
.vue-modal__close:hover {
    transform: rotate(90deg);
}

.vue-modal__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    justify-content: center;
}

.vue-modal__form label {
    box-sizing: border-box;
    text-transform: uppercase;
    font-weight: 500;
}

.vue-modal__form input {
    box-sizing: border-box;
    outline: none;
    border: 1px solid #e9e9ef;
    border-radius: 5px;
    background: #F9F9FC;
    width: 100%;
    font-size: 1.7rem;
    padding: 1.1rem 1.5rem;
}

.vue-modal__form input:focus {
    border: 1px solid #28a745;
    transition: .5s;
}

.vue-modal__form button {
    outline: none;
    border: none !important;
    border-radius: 5px;
    background:  #28a745;
    width: 100%;
    font-size: 1.8rem;
    color: white;
    font-weight: 500;
    box-sizing: border-box;
    padding: 1.1rem 1.5rem;
    cursor: pointer;
    margin-top: 12px;
}

.vue-modal__form button:hover {
    opacity: 80%;
    transition: .5s;
}