﻿/* =========================================================
   PDF PAGE SMARTXRAY
========================================================= */

.sx-pdf-hero {
    padding: 30px 20px 45px;
    background: linear-gradient( 135deg, #07152b 0%, #16395f 100% );
    text-align: center;
}

    .sx-pdf-hero::before {
        /*content: "";*/
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at top right, rgba(255,255,255,0.12), transparent 42% );
    }

    .sx-pdf-hero .container {
        position: relative;
        z-index: 2;
    }

.sx-pdf-label {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.10);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.88);
    text-transform: uppercase;
}

.sx-pdf-hero h1 {
/*    max-width: 1150px;*/
    margin: 0px;
    font-size: 68px;
    line-height: 1.02;
/*    letter-spacing: -3px;*/
    color: #fff;
    font-weight: 800;
}

.sx-pdf-hero p {
    max-width: 940px;
    margin: 0 auto;
    font-size: 21px;
    line-height: 1.9;
    color: rgba(255,255,255,0.90);
}

/* =========================================================
   AUDIO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
/*    margin-top: 38px;*/
}

    .hero-buttons .btn-secondary {
        min-width: 150px;
        min-height: 54px;
        border-radius: 999px;
        border: none;
        background: #fff;
        color: #111827;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.25s ease;
        padding: 12px 24px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    }

        .hero-buttons .btn-secondary:hover {
            background: #eef2ff;
            transform: translateY(-2px);
        }

/* =========================================================
   SINGLE PDF SECTION
========================================================= */

.sx-pdf-section {
    padding: 80px 24px 110px;
    background: #f4f7fb;
}

    .sx-pdf-section .container {
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
    }

/* =========================================================
   PDF BOX
========================================================= */

.sx-pdf-box {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    padding: 18px;
    border: 1px solid #dbe4f0;
    box-shadow: 0 25px 70px rgba(15,23,42,0.12);
}

.sx-pdf-frame {
    width: 100%;
    height: 1180px;
    border: none;
    display: block;
    background: #ffffff;
    border-radius: 20px;
}

/* =========================================================
   MULTI PDF SECTION
========================================================= */

.sx-multi-pdf-section {
    padding: 90px 24px 120px;
    background: #f4f7fb;
}

    .sx-multi-pdf-section .container {
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
    }

.sx-pdf-item {
    margin-bottom: 90px;
}

    .sx-pdf-item:last-child {
        margin-bottom: 0;
    }

    .sx-pdf-item h2 {
        margin: 0 0 26px;
        font-size: 42px;
        line-height: 1.2;
        color: #163c8f;
        font-weight: 900;
        /*letter-spacing: -1px;*/
    }

.sx-doc-type {
    display: inline-block;
    margin-bottom: 14px;
    color: #2152ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .sx-pdf-hero {
        padding: 90px 20px 75px;
    }

        .sx-pdf-hero h1 {
            font-size: 48px;
            line-height: 1.08;
        /*    letter-spacing: -2px;*/
        }

        .sx-pdf-hero p {
            font-size: 18px;
        }

    .sx-pdf-item h2 {
        font-size: 34px;
    }

    .sx-pdf-box {
        padding: 12px;
        border-radius: 22px;
    }

    .sx-pdf-frame {
        height: 88vh;
        border-radius: 14px;
    }
}

@media (max-width: 768px) {

    .sx-pdf-hero {
        padding: 35px 18px 35px;
    }

    .sx-pdf-label {
        font-size: 10px;
        letter-spacing: 1.5px;
        padding: 8px 14px;
    }

    .sx-pdf-hero h1 {
        font-size: 36px;
        line-height: 1.12;
      /*  letter-spacing: -1px;*/
    }

    .sx-pdf-hero p {
        font-size: 15px;
        line-height: 1.85;
    }

    .hero-buttons {
        gap: 10px;
    }

        .hero-buttons .btn-secondary {
            min-width: 122px;
            min-height: 48px;
            font-size: 13px;
            padding: 10px 18px;
        }

    .sx-pdf-section,
    .sx-multi-pdf-section {
        padding: 50px 12px 80px;
    }

    .sx-pdf-item {
        margin-bottom: 70px;
    }

        .sx-pdf-item h2 {
            font-size: 28px;
            margin-bottom: 18px;
        }

    .sx-pdf-box {
        padding: 10px;
        border-radius: 18px;
    }

    .sx-pdf-frame {
        height: 78vh;
        border-radius: 12px;
    }
}
/* =========================================
   PDF LOADER
========================================= */

.sx-loader {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 6px solid #dbeafe;
    border-top-color: #2563eb;
    animation: sxSpin 1s linear infinite;
}

@keyframes sxSpin {

    to {
        transform: rotate(360deg);
    }
}

.sx-loading-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.sx-hidden {
    display: none;
}

.sx-pdf-icon {
    font-size: 72px;
    margin-bottom: 24px;
    text-align: center;
}

.sx-pdf-title {
    text-align: center;
    margin-bottom: 18px;
}

.sx-pdf-description {
    max-width: 760px;
    margin: auto;
    text-align: center;
}

.sx-pdf-actions {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {

    .sx-loader {
        animation: none;
    }
}

.report-page {
    width: 100%;
/*    margin-bottom: 30px;*/
 /*   border-radius: 18px;*/
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}


/*button style */

/* =========================================
   HERO BUTTON FIX
========================================= */

/*.sx-pdf-hero .hero-buttons {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}*/

.sx-pdf-hero .btn-secondary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 54px;
    padding: 14px 24px;
    border: none !important;
    border-radius: 999px;
    background: #ffffff !important;
    color: #102a43 !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: all 0.25s ease;
}

    .sx-pdf-hero .btn-secondary:hover,
    .sx-pdf-hero .btn-secondary:focus-visible {
        background: #0f62fe !important;
        color: #ffffff !important;
        transform: translateY(-2px);
    }

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .sx-pdf-hero .hero-buttons {
        flex-direction: column;
    }

    .sx-pdf-hero .btn-secondary {
        width: 100%;
        max-width: 320px;
    }
}