.jb-suite-billing-card {
    border: 1px solid #e5e1d9;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}

.jb-suite-billing-card h3 {
    margin: 0 0 12px;
    font-size: 16px;
}


.jb-suite-billing-alert {
    margin-top: 12px;
    color: #b91c1c;
    font-size: 13px;
}

.jb-suite-billing-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}


.jb-suite-order-history.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.jb-suite-billing-table th,
.jb-suite-billing-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid #eef0f2;
    vertical-align: middle;
}

.jb-suite-billing-table th {
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #6b7280;
    background: #f8fafc;
}

.jb-suite-billing-table table tr:hover td {
    background: #fbfbfd;
}

.jb-suite-billing-table th:first-child,
.jb-suite-billing-table td:first-child {
    padding-left: 16px;
}

.jb-suite-billing-table th:last-child,
.jb-suite-billing-table td:last-child {
    text-align: right;
    padding-right: 16px;
}

.jb-suite-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #1b5e20;
}

.jb-suite-status-pill .jb-suite-status-icon {
    width: 16px;
    height: 16px;
}

.jb-suite-status-pill.jb-suite-status-pending {
    color: #b45309;
}

.jb-suite-status-pill.jb-suite-status-failed,
.jb-suite-status-pill.jb-suite-status-rejected {
    color: #b91c1c;
}

.jb-suite-status-pill.jb-suite-status-refunded {
    color: #1d4ed8;
}

.jb-suite-billing-link {
    color: #1d4ed8;
    text-decoration: none;
}

.jb-suite-billing-row-toggle {
    align-items: center;
}

.jb-suite-billing-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.jb-suite-billing-switch input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.jb-suite-billing-switch-state {
    color: #4b5563;
    font-size: 13px;
    min-width: 24px;
    text-align: right;
}

.jb-suite-billing-switch-slider {
    position: relative;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #d1d5db;
    display: inline-block;
    transition: background-color .2s ease;
}

.jb-suite-billing-switch-slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
    transition: transform .2s ease;
}

.jb-suite-billing-switch input[type="checkbox"]:checked + .jb-suite-billing-switch-slider {
    background: #1d4ed8;
}

.jb-suite-billing-switch input[type="checkbox"]:checked + .jb-suite-billing-switch-slider::before {
    transform: translateX(18px);
}

.jb-suite-billing-switch input[type="checkbox"]:disabled + .jb-suite-billing-switch-slider {
    opacity: .6;
}

.jb-suite-order-history-filter,
.jb-suite-billing-card select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 34px;
    font-size: 14px;
    line-height: 1.35;
}
