/* FADO PDF Popup */

.fado-box {
    display: flex;
    flex-direction: column;
    background: #B855A8;
    padding: 20px 25px;
    border-radius: 25px;
    text-align: center;
    color: #fff;
    font-family: inherit;
    max-width: 800px;
    margin: auto;
    min-height: 240px;
}

.fado-box h2 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: white;
}

.fado-box p {
    font-size: 0.9em;
    color: white;
}

.fado-btn {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: auto auto 0 auto;
}

.fado-btn-icon {
    background: #1D84AB;
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.fado-btn-icon svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.fado-btn-text {
    background: #fff;
    padding: 10px 20px;
    border-radius: 0 20px 0 0;
    font-size: 0.9em;
    color: #505050;
    margin-left: -15px;
}

.fado-btn:hover .fado-btn-text {
    background: #1D84AB;
    color: white;
}

.pdf-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(3px);
}

.pdf-modal-content {
    background: #fff;
    margin: 3% auto;
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    animation: fadoPdfFadeIn 0.3s ease;
}

@keyframes fadoPdfFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pdf-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 38px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 2000;
}

.pdf-close:hover {
    color: #d62839;
}