.billing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.billing-header h1 {
    margin: 0 0 4px;
}

.billing-section {
    padding: 24px 0;
    border-top: 1px solid #dfe3ea;
}

.billing-section h2 {
    margin: 0 0 18px;
    font-size: 20px;
}

.payment-method-list {
    overflow: hidden;
    border: 1px solid #dfe3ea;
    border-radius: 8px;
}

.payment-method-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px;
}

.payment-method-row + .payment-method-row {
    border-top: 1px solid #dfe3ea;
}

.billing-action {
    width: auto;
    padding: 9px 16px;
    border-radius: 6px;
}

.credit-balance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.credit-balance span,
.owned-number span,
.number-row span {
    color: #667085;
    font-size: 14px;
}

.credit-balance strong {
    font-size: 28px;
}

.owned-number {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
}

.owned-number strong {
    font-size: 24px;
}

.number-search {
    max-width: 420px;
}

.number-search > div,
.credit-packs {
    display: flex;
    gap: 10px;
}

.number-search input {
    min-width: 0;
}

.number-search button,
.credit-packs button,
.number-row button {
    width: auto;
    white-space: nowrap;
}

.number-results {
    margin-top: 20px;
    border: 1px solid #dfe3ea;
    border-radius: 8px;
    overflow: hidden;
}

.number-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
}

.number-row + .number-row {
    border-top: 1px solid #dfe3ea;
}

.number-row > div {
    display: flex;
    flex-direction: column;
}

.credit-positive {
    color: #16794b;
}

@media (max-width: 560px) {
    .billing-header,
    .payment-method-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .payment-method-row form,
    .payment-method-row .billing-action {
        width: 100%;
    }

    .credit-balance {
        align-items: flex-start;
    }

    .number-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .number-row form,
    .number-row button {
        width: 100%;
    }
}
