.x-report-page {
    width: 100%;
}

.x-report-panel {
    background: linear-gradient(180deg, rgba(10, 16, 30, .96) 0%, rgba(8, 13, 24, .98) 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .20);
}

.x-report-head {
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
}

.x-report-title {
    margin: 0;
    color: #f5f9ff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.x-report-title i {
    color: #79a8ff;
}

.x-report-subtitle {
    margin: 6px 0 0;
    color: rgba(230, 238, 255, .68);
    font-size: .94rem;
}

.x-report-body {
    padding: 28px 24px 26px;
}

.x-report-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin: 0 auto 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    color: #dbe8ff;
    font-size: .92rem;
}

.x-label {
    display: block;
    margin-bottom: 9px;
    color: #dce8ff;
    font-weight: 600;
    font-size: .92rem;
}

.x-input-group {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .07);
    transition: .2s ease;
    overflow: hidden;
}

.x-input-group:focus-within {
    border-color: rgba(85, 142, 255, .65);
    box-shadow: 0 0 0 4px rgba(58, 123, 255, .12);
    background: rgba(255, 255, 255, .05);
}

.x-input-icon {
    width: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8db5ff;
    font-size: 1rem;
}

.x-input {
    width: 100%;
    height: 56px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f4f8ff;
    padding: 0 16px 0 0;
    font-size: .96rem;
}

.x-input::placeholder {
    color: rgba(220, 232, 255, .42);
}

.x-report-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 18px;
}

.x-btn-report {
    min-width: 220px;
    height: 52px;
    border: 0;
    border-radius: 14px;
    font-weight: 700;
    font-size: .93rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    color: #fff;
}

.x-btn-report:hover {
    transform: translateY(-1px);
}

.x-btn-report--pdf {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 10px 24px rgba(220, 38, 38, .22);
}

.x-btn-report--excel {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 10px 24px rgba(21, 128, 61, .20);
}

@media (max-width: 768px) {

    .x-report-head,
    .x-report-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .x-report-title {
        font-size: 1rem;
    }

    .x-report-subtitle {
        font-size: .88rem;
    }

    .x-btn-report {
        width: 100%;
        min-width: 100%;
    }
}

.xp-pdf-wrap {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

.xp-pdf-loader {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(8, 18, 40, 0.92);
    z-index: 99999;
    backdrop-filter: blur(4px);
}

.xp-loader-box {
    width: 320px;
    max-width: 86%;
    text-align: center;
    color: #fff;
}

.xp-loader-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f8fafc;
}

.xp-loader-percent {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
    color: #ffffff;
}

.xp-loader-progress {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, .14);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
}

.xp-loader-progress__bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #60a5fa, #22c55e);
    border-radius: 999px;
    transition: width .25s ease;
}

.xp-loader-subtext {
    margin-top: 12px;
    font-size: 13px;
    color: #cbd5e1;
}

.x-pdf-iframe {
    width: 100%;
    height: 520px;
    position: relative;
    z-index: 1;
}

.x-rpt-pdf-loader {
    position: absolute;
    inset: 18px 22px 22px;
    border-radius: 18px;
    background: rgba(8, 18, 40, .92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.x-rpt-pdf-loader__box {
    width: 330px;
    max-width: 86%;
    text-align: center;
    color: #fff;
}

.x-rpt-pdf-loader__title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #f8fafc;
}

.x-rpt-pdf-loader__percent {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 14px;
    color: #ffffff;
}

.x-rpt-pdf-loader__progress {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, .14);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
}

.x-rpt-pdf-loader__bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #60a5fa, #22c55e);
    border-radius: 999px;
    transition: width .25s ease;
}

.x-rpt-pdf-loader__subtext {
    margin-top: 12px;
    font-size: 13px;
    color: #cbd5e1;
}