/* ---------- Refund & Chargeback (start here) ---------- */

select#rt-mode {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(224, 224, 224, 1);
    background: #fff;
    color: rgba(94, 94, 94, 1);
}

/* ---------- top summary row (left total + right pill indicators) ---------- */
.rt-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.rt-summary {
    flex: 1 1 60%;
}

.rt-summary__label {
    color: rgba(119, 119, 119, 1);
    font-size: 16px;
    margin-bottom: 8px;
}

.rt-summary__amount {
    font-size: 24px;
    font-weight: 400;
    margin: 0;
}

.rt-indicators {
    flex: 0 0 36%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

/* ---------- pill indicator markup styles ---------- */
.rt-indicator-block {
    width: 195px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.rt-pills-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rt-pill-track {
    width: 90px;
    height: 25px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    /* border: 1px solid rgba(0, 0, 0, 0.04); */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    /* box-shadow: inset 0 -6px 10px rgba(255, 255, 255, 0.08); */
    flex-shrink: 0;
}

.rt-pill-track::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0.02));
    pointer-events: none;
}

.rt-pill-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0%;
    transition: width 480ms cubic-bezier(.2, .9, .2, 1);
    box-shadow: inset 0 -8px 18px rgba(255, 255, 255, 0.12);
}

.rt-pill-fill--left {
    right: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    transform-origin: right center;
    background: linear-gradient(90deg, rgba(104, 236, 175, 1) 0%, rgba(5, 194, 142, 1) 100%);
}

.rt-pill-fill--right {
    left: 0;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background: linear-gradient(90deg, rgba(255, 170, 170, 1) 0%, rgba(235, 87, 87, 1) 100%);
}

.rt-pill-fill.full {
    border-radius: 20px;
}

.rt-pill-sep {
    width: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rt-pill-sep .bar {
    width: 90px;
    height: 22px;
    background: rgba(217, 217, 217, 1);
    border-radius: 4px;
}

.rt-meta {
    display: flex;
    gap: 18px;
    /* margin-top: 3px; */
    align-items: flex-start;
    justify-content: flex-end;
}

.rt-meta .col {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 100px;
    align-items: flex-end;
}

.rt-meta .title {
    color: rgba(119, 119, 119, 1);
    font-size: 14px;
}

.rt-meta .amt {
    font-weight: 400;
    font-size: 14px;
}

.rt-meta .amt--success {
    margin-right: 12px;
    color: rgba(42, 181, 0, 1);
}

.rt-meta .amt--failure {
    color: rgba(255, 42, 42, 1);
}

.rt-chart-wrap {
    position: relative;
    height: 250px;
    margin-bottom: 20px;
    padding: 28px;
    /* margin-top: 18px; */
}

.rt-chart-title {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: rgba(119, 119, 119, 1);
    margin-bottom: 12px;
    /* margin-top: 12px; */
}

    
/* ---------- compact tooltip (matches your sample) ---------- */
.rt-tooltip {
    position: absolute;
    pointer-events: none;
    display: none;
    transform: translate(-50%, -110%);
    background: #fff;
    border-radius: 10px;
    padding: 6px;
    width: auto;
    box-shadow: 0px 15px 24px 0px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: left;
}

.rt-tooltip .count {
    font-size: .875rem;
    font-weight: 300;
    color: rgba(119, 119, 119, 1);
    margin-bottom: 6px;
}

.rt-tooltip .amount {
    font-size: .875rem;
    font-weight: 400;
    color: rgba(45, 45, 45, 1);
}

/* ---------- Refund & Chargeback (ends here) ---------- */

