.lp-account-api__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.lp-account-api__tab-btn {
    cursor: pointer;
}

.lp-account-api__tab-panel {
    display: none;
}

.lp-account-api__tab-panel.is-active {
    display: block;
}

.lp-account-api-tasks__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.lp-account-api-tasks__status {
    min-height: 24px;
    margin-bottom: 8px;
}

.lp-account-api-tasks__status.is-error {
    color: #c0392b;
}

.lp-account-api-tasks__table-wrap {
    overflow-x: auto;
}

.lp-account-api-tasks__loading {
    padding: 16px 0;
    color: #6b7075;
    font-size: 14px;
}

.mr-placeholder {
    margin-top: 12px;
    color: #6b7075;
    font-size: 14px;
}

.mr-placeholder--error {
    color: #c0392b;
}

.rt-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.rt-filter-label {
    font-size: 13px;
    font-weight: 500;
    color: #6b7075;
    white-space: nowrap;
}

.rt-filter-select {
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #1d2022;
    background: #fff;
    cursor: pointer;
    min-width: 170px;
}

.rt-filter-select:focus {
    outline: none;
    border-color: #23a455;
}

.rg-date-input {
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #1d2022;
    background: #fff;
}

.rg-date-input:focus {
    outline: none;
    border-color: #23a455;
}

.rg-filters {
    margin-bottom: 12px;
}

.rg-toolbar-pagination {
    margin-top: 8px;
    border-top: 1px solid #e5e7eb;
    padding-top: 8px;
}

.rg-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.rg-page-btn {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #1d2022;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.rg-page-btn:hover:not(:disabled) {
    background: #e1e5e9;
    border-color: #23a455;
}

.rg-page-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.rg-page-info {
    font-size: 13px;
    color: #6b7075;
    white-space: nowrap;
}

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

.rt-table thead tr {
    background-color: #e1e5e9;
}

.rt-table th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: #6b7075;
    border-bottom: 2px solid #23a455;
    white-space: nowrap;
}

.rt-table td {
    padding: 9px 12px;
    color: #1d2022;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.rt-table tbody tr:nth-child(odd) td {
    background-color: #fafafa;
}

.rt-table tbody tr:hover td {
    background-color: #e4ffe8;
}

.rt-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
}

.rt-badge--progress {
    background-color: #fff3cd;
    color: #856404;
}

.rt-badge--done {
    background-color: #e4ffe8;
    color: #1a7a3f;
}

.rt-badge--failed,
.rt-badge--error {
    background-color: #fee2e2;
    color: #991b1b;
}

.rt-badge--unknown {
    background-color: #f3f4f6;
    color: #6b7280;
}

.rt-badge--payload {
    background-color: #eef2ff;
    color: #3730a3;
    text-decoration: none;
}

.rt-badge--payload:hover {
    background-color: #e0e7ff;
}

#lp-at-payload-modal .rg-modal-title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
}

#lp-at-payload-modal .rg-modal-payload {
    max-height: 70vh;
    overflow: auto;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.jwt-token__notice {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 6px;
}

.jwt-token__notice--error {
    background: #fbeaea;
    color: #a11f1f;
    border: 1px solid #f1c6c6;
}

.jwt-token__notice--success {
    background: #ebf9ef;
    color: #1d6b33;
    border: 1px solid #bfe8cb;
}
