.modal {
    display:none;
    position:fixed;
    left:0; top:0;
    width:100%; height:100%;
    background:rgba(0,0,0,.35);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modal-content{
    background:white;
    width:420px;
    padding:30px 35px;
    border-radius:18px;
    box-shadow:0 10px 40px rgba(0,0,0,.1);
    animation:fade .25s ease;
    font-family:"sans-serif";
}

@keyframes fade{
    from{opacity:0; transform:translateY(10px);}
    to{opacity:1; transform:translateY(0);}
}

h2{
    margin-top:0;
    font-size:26px;
    font-weight:700;
    margin-bottom:18px;
}

.field{
    display:flex;
    flex-direction:column;
    margin-bottom:16px;
}

.field input{
    border:1px solid #ddd;
    border-radius:12px;
    padding:12px 14px;
    font-size:15px;
}

.btn-submit{
    width:100%;
    border:none;
    border-radius:14px;
    background:black;
    color:white;
    padding:14px;
    font-size:16px;
    cursor:pointer;
}

.modal-close{
    position:absolute;
    right:20px;
    top:14px;
    font-size:24px;
    cursor:pointer;
}
