/* ─── FDP PDF Viewer · Frontend Styles ─── */

.fdp-pdf-viewer-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Tabs */
.fdp-tabs {
    display: flex;
    gap: 2px;
    background: #0c0c0c;
}

.fdp-tab {
    padding: 12px 30px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: #1c1c1c;
    color: #fff;
    transition: background 0.25s, color 0.25s;
    font-family: inherit;
    outline: none;
}

.fdp-tab:hover:not(.fdp-active) {
    background: #2a2a2a;
}

.fdp-tab.fdp-active {
    background: #E8660A;
    color: #fff;
}

/* Iframe wrapper */
.fdp-frame-wrap {
    position: relative;
    width: 100%;
}

/* Loading spinner */
.fdp-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #141414;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.fdp-loading.fdp-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.fdp-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(232, 102, 10, 0.18);
    border-top-color: #E8660A;
    border-radius: 50%;
    animation: fdp-spin 0.75s linear infinite;
}

@keyframes fdp-spin {
    to { transform: rotate(360deg); }
}

/* Iframe */
.fdp-iframe {
    display: block;
    width: 100%;
    border: none;
    background: #fff;
}

/* Footer / Download */
.fdp-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
    background: #141414;
}

.fdp-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 36px;
    background: #E8660A;
    color: #fff;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.25s;
    cursor: pointer;
}

.fdp-download-btn:hover {
    background: #c55508;
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 480px) {
    .fdp-tab { padding: 11px 18px; font-size: 10px; }
    .fdp-download-btn { padding: 12px 24px; font-size: 11px; }
}