.transparent-text { color: rgb(44, 51, 68) }
body.night .transparent-text { color: rgba(255, 255, 255, 0.6); }

.hide { display: none; }
.open { opacity: 1 !important; }

.popover-wrapper {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    min-width: 320px;
    height: 100vh;

    background: rgba(0, 0, 0, 0.8);

    -webkit-transition:  0.25s ease-out opacity;
    -moz-transition:  0.25s ease-out opacity;
    -o-transition:  0.25s ease-out opacity;
    transition:  0.25s ease-out opacity;

    opacity: 0;

    z-index: 11;
}

.popover {
    min-width: 320px;
    max-width: 800px;

    width: 90%;
    padding: 8px 15px 20px 15px;

    height: -moz-fit-content;
    height: fit-content;
    background-color: var(--primary);
    font-size: 1.5em;

    z-index: 12;
}

.popover .popover-head {
    position: relative;

    padding: 10px 30px 15px 0;
    border-bottom: 1px solid var(--secondary-transparent);
}

.popover .popover-head h1 {
    font-size: 1.8em;
    font-weight: 600;
}

.popover .close-button {
    position: absolute;
    right: 0;
    top: 30%;
}

.popover .close-button:hover {
    cursor: pointer;
}


.popover .popover-body {
    margin: 30px 0 45px 0;
    padding: 0 15px;
} 

.popover .form-group {
    width: auto;
    margin: 25px 0;
}

.popover .form-group label {
    display: block;
    margin-bottom: 5px;

    font-weight: 500;
    font-size: 1.4em;
}  

.popover .form-group input {
    width: 100%;
    padding: 10px 0 10px 10px;

    font-size: 1.5em;
    font-weight: 500;

    background: none;
    border: 0;
    border-style: 0;
    
    border-bottom: 2px solid var(--secondary);
}

.popover .form-group input:focus {
    outline: 1px solid var(--secondary);
}

.popover .form-group .input-alert {
    margin: 5px 0;
    color: rgb(202, 93, 93);
}

.popover .popover-footer {
    display: flex;

    justify-content: space-between;
    align-items: center;

    font-size: 1.4em;
}

.popover .popover-footer  small{
    margin-right: 20px;
    font-weight: 500;
}

.popover .popover-footer .submit-btn-label {
    width: 100px;
    padding: 10px;
    text-align: center;
    
    border-radius: 25px;
    border: 1px solid;

    background: none;
    
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.popover .popover-footer .submit-btn-label:hover {
    cursor: pointer;
}

.popover .popover-footer .submit-btn-label.disabled {
    border-color: rgb(120, 120, 120);
    color: rgb(120, 120, 120);
}

.popover .popover-footer .submit-btn-label.disabled:hover {
    -webkit-filter: none;
    filter: none;
}

@media screen and (max-width: 500px){
    .popover .popover-footer {
        flex-direction: column-reverse;
    }

    .popover .popover-footer .submit-btn-label {
        width: 40%;
        margin-bottom: 40px;
    }

    .popover .popover-footer small {
        margin-right: 0;
    }
}