.pixa-reporting-page {
    background: #f8fafc;
    /* padding: 20px; */
}

.pixa-report-header {
    /* background: #fff; */
    /* border: 1px solid #e5e7eb; */
    /* border-radius: 14px; */
    /* padding: 24px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.pixa-report-header .title-block{
    margin-bottom:0;
    padding:0;
}
.pixa-report-header h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.pixa-report-header p {
    margin: 0;
    color: #475569;
    font-size: 14px;
}

.pixa-report-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.pixa-report-last-update {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 8px;
    padding: 6px 12px;
    border-radius: 8px;
    /* background: #f1f5f9; */
    /* border: 1px solid #e2e8f0; */
    font-size: 12px;
    color: #475569;
    line-height: 1.3;
}

.pixa-report-last-update-label {
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}

.pixa-report-last-update-value {
    font-variant-numeric: tabular-nums;
}

.pixa-report-info-box {
    border: 1px solid #67e8f9;
    background: linear-gradient(90deg, #ecfeff, #eff6ff);
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    color: #075985;
}

.pixa-report-info-desc {
    font-size: 13px;
    max-width: 100%;
}

.pixa-report-tabs {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    margin-bottom: 24px;
}

.pixa-report-tab {
    flex: 1;
    border: 0;
    background: #fff;
    padding: 12px;
    font-weight: 600;
    color: #111827;
}

.pixa-report-tab i {
    margin-right: 7px;
}

.pixa-report-tab.active {
    background: #f1f5f9;
    color: #2563eb;
}

.pixa-metric-row {
    margin-bottom: 4px;
}

.pixa-metric-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    min-height: 138px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pixa-metric-card p {
    margin: 0 0 8px 0;
    color: #475569;
    font-size: 13px;
}

.pixa-metric-card h2 {
    margin: 0 0 6px 0;
    font-size: 30px;
    font-weight: 700;
    color: #111827;
}

.pixa-metric-change {
    font-size: 13px;
    font-weight: 600;
}

.pixa-metric-change.up {
    color: #16a34a;
}

.pixa-metric-change.down {
    color: #dc2626;
}

.pixa-metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.pixa-metric-icon.blue {
    background: #3b82f6;
}

.pixa-metric-icon.green {
    background: #22c55e;
}

.pixa-metric-icon.purple {
    background: #a855f7;
}

.pixa-metric-icon.orange {
    background: #f97316;
}

.pixa-widget-grid > [class*="col-"] {
    margin-bottom: 20px;
}

.pixa-report-widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    min-height: 380px;
}

.pixa-report-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.pixa-report-widget-header h4 {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 700;
}

.pixa-report-widget-header p {
    margin: 0;
    color: #475569;
    font-size: 13px;
}

.pixa-chart-container {
    min-height: 280px;
    width: 100%;
}

.pixa-widget-insight {
    margin-top: 16px;
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 14px;
}

.pixa-widget-insight-row {
    font-size: 13px;
    color: #334155;
    margin-bottom: 8px;
}

.pixa-widget-insight-row:last-child {
    margin-bottom: 0;
}

.pixa-widget-insight-row strong {
    color: #0f172a;
    margin-right: 6px;
}

.pixa-widget-insight-row.action strong {
    color: #2563eb;
}

.pixa-operation-health-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    min-height: 180px;
    align-items: stretch;
}

.pixa-operation-health-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    background: #fff;
}

.pixa-operation-health-card span {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.pixa-operation-health-card strong {
    display: block;
    font-size: 32px;
    color: #111827;
    margin-bottom: 8px;
}

.pixa-operation-health-card small {
    color: #64748b;
}

.pixa-operation-health-card.danger {
    border-left: 4px solid #dc2626;
}

.pixa-operation-health-card.warning {
    border-left: 4px solid #f97316;
}

.pixa-operation-health-card.success {
    border-left: 4px solid #16a34a;
}

.pixa-operation-health-card.info {
    border-left: 4px solid #2563eb;
}

@media (max-width: 992px) {
    .pixa-operation-health-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pixa-report-header,
    .pixa-report-info-box {
        display: block;
    }

    .pixa-report-actions {
        margin-top: 16px;
        flex-wrap: wrap;
    }

    .pixa-report-tabs {
        overflow-x: auto;
    }

    .pixa-report-tab {
        min-width: 140px;
    }
}

@media (max-width: 576px) {
    .pixa-operation-health-grid {
        grid-template-columns: 1fr;
    }
}
.pixa-filter-dropdown {
    position: relative;
}

.pixa-date-filter-menu {
    min-width: 260px;
    padding: 8px 0;
}

.pixa-platform-filter-menu {
    min-width: 240px;
    padding: 8px 0;
}

.pixa-date-filter-menu > li > a,
.pixa-platform-filter-menu > li > a {
    padding: 8px 14px;
    font-size: 13px;
    color: #334155;
}

.pixa-platform-filter-menu i {
    width: 18px;
    margin-right: 6px;
    color: #2563eb;
}

.pixa-custom-date-area {
    padding: 12px 14px;
}

.pixa-custom-date-area label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
    margin-top: 8px;
}

.pixa-custom-date-area label:first-child {
    margin-top: 0;
}

.pixa-custom-date-area input {
    margin-bottom: 8px;
}

.pixa-platform-filter-actions {
    padding: 10px 14px 6px 14px;
}
.pixa-weekday-chart-inner {
    width: 100%;
    height: 280px;
}

.pixa-weekday-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.pixa-weekday-stat-card {
    border-radius: 10px;
    padding: 16px;
    border: 1px solid #dbeafe;
    background: #f8fafc;
}

.pixa-weekday-stat-card span {
    display: block;
    font-size: 12px;
    color: #475569;
    margin-bottom: 8px;
}

.pixa-weekday-stat-card strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.pixa-weekday-stat-card small {
    color: #64748b;
    font-size: 12px;
}

.pixa-weekday-stat-card.cyan {
    background: #ecfeff;
    border-color: #67e8f9;
}

.pixa-weekday-stat-card.cyan strong {
    color: #0891b2;
}

.pixa-weekday-stat-card.green {
    background: #ecfdf5;
    border-color: #6ee7b7;
}

.pixa-weekday-stat-card.green strong {
    color: #059669;
}

.pixa-weekday-stat-card.blue {
    background: #eff6ff;
    border-color: #93c5fd;
}

.pixa-weekday-stat-card.blue strong {
    color: #2563eb;
}

.pixa-weekday-stat-card.purple {
    background: #eef2ff;
    border-color: #a5b4fc;
}

.pixa-weekday-stat-card.purple strong {
    color: #4f46e5;
}

.pixa-weekday-suggestion {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    border: 1px solid #facc15;
    background: #fffbeb;
    border-radius: 10px;
    padding: 16px;
    color: #92400e;
}

.pixa-weekday-suggestion-icon {
    font-size: 20px;
    line-height: 20px;
}

.pixa-weekday-suggestion strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.pixa-weekday-suggestion p {
    margin: 0;
    font-size: 13px;
    color: #b45309;
}

@media (max-width: 992px) {
    .pixa-weekday-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .pixa-weekday-stat-grid {
        grid-template-columns: 1fr;
    }
}
.pixa-metric-change.neutral {
    color: #334155;
}
.pixa-metric-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.pixa-reporting-page {
    position: relative;
}

.pixa-report-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background: rgba(248, 250, 252, 0.72);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    border-radius: 14px;
}

.pixa-report-loading-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    padding: 18px 22px;
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 340px;
}

.pixa-report-loading-card strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 4px;
}

.pixa-report-loading-card span {
    display: block;
    font-size: 12px;
    color: #64748b;
}

.pixa-report-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: pixaReportSpin 0.75s linear infinite;
}

@keyframes pixaReportSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.pixa-report-loading-card small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #94a3b8;
}
.pixa-platform-filter-menu {
    width: 320px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}

.pixa-platform-filter-header {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pixa-platform-filter-header strong {
    font-size: 14px;
    color: #0f172a;
}

.pixa-platform-filter-header small {
    color: #64748b;
    font-size: 12px;
}

.pixa-platform-search {
    position: relative;
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
}

.pixa-platform-search i {
    position: absolute;
    left: 24px;
    top: 21px;
    color: #94a3b8;
    font-size: 12px;
}

.pixa-platform-search input {
    padding-left: 28px;
}

.pixa-platform-list {
    max-height: 280px;
    overflow-y: auto;
    padding: 8px;
}

.pixa-platform-option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    margin: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #334155;
}

.pixa-platform-option:hover {
    background: #f1f5f9;
}

.pixa-platform-option input {
    margin: 0;
}

.pixa-platform-filter-footer {
    padding: 12px 14px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.pixa-platform-filter-footer .btn {
    min-width: 86px;
}
.pixa-date-filter-menu {
    width: 320px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}

.pixa-date-filter-header {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pixa-date-filter-header strong {
    font-size: 14px;
    color: #0f172a;
}

.pixa-date-filter-header small {
    font-size: 12px;
    color: #64748b;
}

.pixa-date-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.pixa-date-quick-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-align: center;
}

.pixa-date-quick-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.pixa-date-quick-btn.active {
    background: #eef2ff;
    color: #3730a3;
    border-color: #818cf8;
}

.pixa-date-custom-box {
    padding: 14px;
}

.pixa-date-input-group {
    margin-bottom: 12px;
}

.pixa-date-input-group:last-child {
    margin-bottom: 0;
}

.pixa-date-input-group label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.pixa-date-input-wrap {
    position: relative;
}

.pixa-date-input-wrap i {
    position: absolute;
    left: 12px;
    top: 10px;
    color: #94a3b8;
    font-size: 13px;
}

.pixa-date-input-wrap input {
    padding-left: 34px;
    height: 38px;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
}

.pixa-date-filter-footer {
    padding: 12px 14px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.pixa-date-filter-footer .btn {
    min-width: 86px;
}
.google-visualization-axis text {
    font-size: 12px !important;
}
.pixa-trend-badge {
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pixa-trend-badge.up {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #6ee7b7;
}

.pixa-trend-badge.down {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.pixa-trend-badge.neutral {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e5e7eb;
}