.trial-past-panel {
    margin: 24px 0;
    background: #fff;
    border: 1px solid #bac9db;
    border-radius: 7px;
    padding: 30px;
    color: #172b4d;
}
.trial-past-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}
.trial-past-head h2 {
    font-size: 1.35rem;
    margin: 0;
}
.trial-past-head > span,
.trial-past-row small {
    color: #53647c;
    font-size: 0.9rem;
}
.trial-past-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.trial-past-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 90px 130px 120px;
    align-items: start;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid #bac9db;
}
.trial-past-row:last-child {
    border-bottom: 0;
}
.trial-past-row[hidden] {
    display: none !important;
}
.trial-past-row strong {
    font-size: 1rem;
}
.trial-past-row small {
    display: block;
    margin-top: 4px;
}
.trial-past-price,
.trial-past-link {
    text-align: right;
}
.trial-past-link a {
    color: #245880;
    font-weight: 600;
    text-decoration: none;
}
.trial-past-status {
    justify-self: start;
    border-radius: 999px;
    padding: 5px 15px;
    font-size: 0.85rem;
    background: #e6ebf2;
    color: #53647c;
}
.trial-past-status.is-active {
    background: #dcf5e6;
    color: #1c7a44;
}
.trial-past-status.is-rejected,
.trial-past-status.is-disabled {
    background: #fbe4e4;
    color: #b3373b;
}
.trial-past-status.is-cancelled {
    background: #fff0df;
    color: #a94d00;
}
.trial-past-status.is-pending {
    background: #fdf0cf;
    color: #92600a;
}
.trial-past-toggle {
    margin-top: 18px;
    width: 100%;
    border: 1px solid #bac9db;
    border-radius: 10px;
    padding: 12px;
    background: #e6ebf2;
    color: #245880;
    font-weight: 600;
    cursor: pointer;
}
.trial-past-toggle:focus-visible {
    outline: 3px solid #172b4d;
    outline-offset: 3px;
}
@media (max-width: 650px) {
    .trial-past-panel {
        padding: 20px;
    }
    .trial-past-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }
    .trial-past-price {
        grid-column: 2;
    }
    .trial-past-link {
        grid-column: 2;
    }
    .trial-past-head {
        align-items: start;
    }
    .trial-past-row strong {
        overflow-wrap: anywhere;
    }
}

.trial-past-head > span {
    color: rgb(24, 47, 82);
}
