.mdf-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0!important;
}
.mdf-modal:before {
    content: "";
    display: block;
    background: rgba(0,0,0,0.9);
    width: 100vw;
    height: 100vh;
}
.mdf-modal-main {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.mdf-modal-main * {
    color: var(--newspack-primary-color);
}
.mdf-modal-content {
    width: 400px;
    background: var(--wp--preset--color--white);
    padding: 1rem;
    border-radius: 5px;
}
.mdf-modal-header {
    display: flex;
    align-items: center;
}
.mdf-modal-content h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--newspack-theme-color-text-light);
}
.mdf-close-button {
    position: absolute;
    top: 0;
    right: 1rem;
    font-size: 32px;
    cursor: pointer;
}
.mdf-modal input[type="text"], .mdf-modal input[type="password"] {
    border-radius: 5px;
}
.mdf-modal label {
    cursor: pointer;
}
.mdf-modal a:link {
    text-decoration: underline;
}
.mdf-modal .separator {
    display: flex;
    align-items: center;
    text-align: center;
    text-transform: lowercase;
    width: 100%;
    margin: 1.5rem 0;
    font-size: 1rem;
    color: var(--newspack-theme-color-text-light);
    letter-spacing: normal;
    position: relative;
    border-top: 1px solid var(--color-ccc);
}
.separator span {
    color: var(--color-888);
    background: var(--wp--preset--color--white);
    padding: 0 0.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.mdf-rememberme {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mdf-rememberme .mdf-rememberme-checkbox {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.mdf-modal-content button {
    width: 100%;
    padding: 0.7rem 1rem;
}
.reg-here {
    text-align: center;
    margin-top: 1.5rem;
}
@media only screen and (max-width: 599px) {
    .mdf-modal .mdf-modal-main {
        width: 350px!important;
        margin: auto!important;
    }
}