.report-page {
    padding: 40px 0;
}

.report-hero {
    position: relative;
    padding: 64px 40px;
    margin-bottom: 48px;
    text-align: center;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background:
        linear-gradient(
            180deg,
            rgba(133, 102, 255, 0.04) 0%,
            rgba(255, 255, 255, 0.01) 100%
        );
    box-shadow: var(--shadow);
    overflow: visible;
    z-index: 20;
}

.report-hero h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.report-hero p {
    margin: 0 auto 32px;
    max-width: 640px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.alert {
    max-width: 620px;
    margin: 0 auto 22px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.alert a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.alert-success {
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.18);
    background: rgba(16, 185, 129, 0.06);
}

.alert-danger {
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.18);
    background: rgba(239, 68, 68, 0.06);
}

.quick-report-form {
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 640px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.input-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 54px;
}

.iti {
    width: 100%;
    height: 100%;
}

.iti--container {
    z-index: 999999 !important;
}

.iti__selected-flag {
    background: transparent !important;
    padding-left: 18px !important;
}

.iti__arrow {
    border-top: 4px solid #ffffff !important;
}

#phoneInput {
    width: 100%;
    height: 100%;
    padding-left: 105px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 500;
}

#phoneInput::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#phoneInput:focus-visible {
    outline: 2px solid rgba(139, 92, 246, 0.4) !important;
    outline-offset: 2px;
    border-radius: 10px;
}

.iti__country-list {
    background: #0a0a0a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 999999 !important;
}

.iti__country {
    color: #d1d5db !important;
    background: #0a0a0a !important;
}

.iti__country:hover,
.iti__highlight {
    background: rgba(124, 92, 255, 0.22) !important;
    color: #ffffff !important;
}

.iti__dial-code {
    color: #9ca3af !important;
}

.iti__country-list::-webkit-scrollbar {
    width: 10px;
}

.iti__country-list::-webkit-scrollbar-track {
    background: #050505;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: #3b3b3b;
    border-radius: 999px;
}

.iti__country-list::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}

.btn-report {
    flex-shrink: 0;
    min-height: 48px;
    padding: 14px 24px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(180deg, #ff7070 0%, #ef4444 100%);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-report:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.btn-report:active {
    transform: translateY(0);
}

.btn-report:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 3px;
}

.charts-section {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.chart-container-box {
    position: relative;
    min-height: 360px;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.015) 0%,
            rgba(255, 255, 255, 0.005) 100%
        );
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.chart-container-box:hover {
    transform: translateY(-2px);
    border-color: rgba(133, 102, 255, 0.2);
}

.chart-container-box h3 {
    margin: 0 0 24px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.chart-container-box canvas {
    width: 100% !important;
    height: 280px !important;
}

.table-section {
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.01) 0%,
            rgba(255, 255, 255, 0.002) 100%
        );
    box-shadow: var(--shadow);
}

.table-section h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(22px, 4vw, 26px);
    font-weight: 800;
    line-height: 1.2;
}

.table-subtitle {
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 14px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.18);
}

.spam-table {
    width: 100%;
    border-collapse: collapse;
}

.spam-table th,
.spam-table td {
    vertical-align: middle;
}

.spam-table th:nth-child(1),
.spam-table td:nth-child(1),
.spam-table th:nth-child(3),
.spam-table td:nth-child(3),
.spam-table th:nth-child(4),
.spam-table td:nth-child(4) {
    width: 1%;
    white-space: nowrap;
}

.spam-table th:nth-child(4),
.spam-table td:nth-child(4) {
    text-align: right;
}

.spam-table th {
    padding: 16px 22px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.015);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.spam-table td {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.spam-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.015);
    color: #ffffff;
}

.spam-table tbody tr:last-child td {
    border-bottom: none;
}

.phone-num-td {
    color: #ffffff;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    vertical-align: middle;
}

.phone-num-td .phone-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
    line-height: 1;
}

.phone-num-td img,
.phone-num-td svg,
.phone-num-td .flag,
.phone-num-td [class*="flag"] {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 15px;
    object-fit: cover;
}

.report-badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #ff6b6b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    vertical-align: middle;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-view:hover {
    transform: translateY(-1px);
    background: rgba(133, 102, 255, 0.08);
    border-color: rgba(133, 102, 255, 0.2);
    color: #a78bfa;
}

.btn-view:focus-visible {
    outline: 2px solid rgba(167, 139, 250, 0.45);
    outline-offset: 2px;
}

.no-data {
    padding: 48px 0;
    text-align: center;
    color: var(--muted2);
    font-style: italic;
}

@media (max-width: 1200px) {
    .charts-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .report-hero {
        padding: 48px 24px;
    }

    .table-section {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .report-page {
        padding: 24px 0;
    }

    .charts-section {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .chart-container-box {
        min-height: 320px;
    }

    .chart-container-box canvas {
        height: 240px !important;
    }

    .quick-report-form {
        flex-direction: column;
        border-radius: 24px;
    }

    .input-wrapper {
        width: 100%;
    }

    .btn-report {
        width: 100%;
    }

    .spam-table th,
    .spam-table td {
        padding: 14px 12px;
    }

    .table-section h3 {
        font-size: 22px;
    }

    .phone-num-td .phone-inline {
        gap: 6px;
        font-size: 13px;
    }

    .phone-num-td img,
    .phone-num-td svg {
        width: 18px;
        height: 13px;
    }

    .report-badge-count {
        font-size: 11px;
        padding: 5px 10px;
    }

    .btn-view {
        padding: 8px 12px;
        font-size: 12px;
    }

    .iti__country-list {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100% !important;
        max-height: 60vh !important;
        margin: 0 !important;
        border-radius: 22px 22px 0 0 !important;
        background: #000000 !important;
        overflow-y: auto !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.85) !important;
        z-index: 99999999 !important;
        animation: slideUpCountryPicker 0.28s ease-out;
    }

    .iti__country {
        padding: 16px 20px !important;
    }

    .iti__country-name,
    .iti__dial-code {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .report-hero {
        padding: 36px 16px;
    }

    .report-hero h2 {
        font-size: 28px;
    }

    .table-section {
        padding: 18px 14px;
    }

    .spam-table th,
    .spam-table td {
        padding: 12px 10px;
    }

    .spam-table th {
        font-size: 11px;
    }

    .spam-table td {
        font-size: 13px;
    }
}

@keyframes slideUpCountryPicker {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .chart-container-box:hover,
    .btn-report:hover,
    .btn-view:hover {
        transform: none;
    }
}

.report-meta {
    font-size: 14px;
    color: #888;
    margin: 0 0 1rem;
}

.report-meta__label {
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.report-meta__sep {
    margin: 0 0.35em;
    color: #444;
}

.report-meta strong {
    color: #e0e0e0;
}

.report-meta a {
    color: #00ff9d;
    text-decoration: none;
}

.report-meta a:hover {
    text-decoration: underline;
}