/* =========================
   Reports / Funnel
========================= */

.reports-page {
    width: 100%;
}

.report-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.report-section + .report-section {
    margin-top: 24px;
}

.message-volume-form {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.message-volume-form select,
.message-volume-form input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.message-volume-form input {
    width: 140px;
}

.message-volume-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 8px;
}

.message-volume-source {
    font-weight: 700;
    min-width: 80px;
}

.message-volume-amount {
    color: #2563eb;
    font-weight: 600;
}

.message-volume-meta {
    flex: 1;
    color: #9ca3af;
    font-size: 12px;
    text-align: right;
}

.message-volume-delete {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    flex-shrink: 0;
}

.message-volume-delete:hover {
    background: #fef2f2;
    color: #b42318;
}

.report-section h2 {
    margin-bottom: 20px;
}

.funnel-empty {
    color: #6b7280;
}

.funnel-summary {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.funnel-stat {
    flex: 1;
    background: #f5f7fb;
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.funnel-stat span {
    color: #6b7280;
    font-size: 13px;
}

.funnel-stat b {
    font-size: 26px;
}

.funnel-cascade {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 640px;
    margin: 0 auto;
}

.funnel-segment {
    width: 100%;
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    padding: 8px 20px;
    text-shadow: 0 1px 2px rgba(0,0,0,.15);
    transition: clip-path .3s ease;
}

.funnel-segment-name {
    font-weight: 700;
    font-size: 15px;
}

.funnel-segment-stats {
    font-size: 12px;
    opacity: .9;
}

.funnel-connector {
    font-size: 12px;
    color: #6b7280;
    padding: 4px 0;
}

.funnel-unassigned {
    margin-top: 20px;
    color: #6b7280;
    font-size: 13px;
}
