.epp-protected-pdf {
    display: inline-block;
}

/* =========================
   DOWNLOAD BUTTON
========================= */

.epp-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 0;
    background: transparent;

    padding: 0;

    margin: 0;

    cursor: pointer;

    font: inherit;

    color: inherit;
}

.epp-download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;
}

.epp-download-icon svg {
    display: block;
}


.epp-protected-pdf button.epp-download-button {
    color: #005CA9;
    background-color: transparent;
    margin-top: 12px;
}

/* =========================
   MODAL
========================= */

.epp-modal {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: none;

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

    padding: 20px;
}

.epp-modal.is-open {
    display: flex;
}

.epp-modal-overlay {
    position: absolute;

    inset: 0;

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

    backdrop-filter: blur(3px);
}

/* =========================
   MODAL CONTENT
========================= */

.epp-modal-content {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 430px;

    background: #ffffff;

    border-radius: 12px;

    padding: 32px;

    box-sizing: border-box;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);
}

.epp-modal-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: #f1f1f1;
}

.epp-modal-icon svg {
    display: block;
}

.epp-modal-content h3 {
    margin: 0 0 8px;

    text-align: center;

    font-size: 21px;

    line-height: 1.35;
}

.epp-modal-description {
    margin: 0 0 22px;

    text-align: center;

    font-size: 14px;

    line-height: 1.5;
}

/* =========================
   CLOSE
========================= */

.epp-modal-close {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;

    background: transparent;

    font-size: 27px;

    line-height: 1;

    cursor: pointer;

    color: #555;
}

/* =========================
   FORM
========================= */

.epp-password-form label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;

    font-weight: 600;
}

.epp-password {
    display: block;

    width: 100%;

    height: 48px;

    padding: 0 14px;

    box-sizing: border-box;

    border: 1px solid #d3d3d3;

    border-radius: 6px;

    background: #fff;

    font-size: 16px;

    outline: none;
}

.epp-password:focus {
    border-color: #666;

    box-shadow:
        0 0 0 2px rgba(0, 0, 0, 0.08);
}

/* =========================
   ERROR
========================= */

.epp-error {
    min-height: 20px;

    margin-top: 8px;

    color: #c62828;

    font-size: 14px;

    line-height: 1.4;
}

/* =========================
   SUBMIT
========================= */

.epp-submit {
    display: flex;

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

    width: 100%;

    height: 48px;

    margin-top: 8px;

    border: 0;

    border-radius: 6px;

    background: #111;

    color: #fff;

    cursor: pointer;

    font-size: 15px;

    font-weight: 600;
}

.epp-submit:hover {
    opacity: 0.9;
}

.epp-submit:disabled {
    opacity: 0.65;

    cursor: wait;
}

.epp-loading {
    display: none;
}

/* =========================
   BODY
========================= */

body.epp-modal-open {
    overflow: hidden;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {

    .epp-modal {
        padding: 15px;
    }

    .epp-modal-content {
        padding: 27px 20px 22px;
    }

}