/* Scoped to this add-on; inherit Apibara's active palette and the theme font. */
body a.apibara-ws-button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--apibara-border, #dbe2ea);
    border-radius: var(--apibara-button-radius, 14px);
    background: var(--apibara-card-bg, #fff);
    color: var(--apibara-text, #0f172a);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    overflow-wrap: anywhere;
    box-shadow: none;
}

body .apibara-vehicle-actions > a.apibara-ws-button {
    flex: 1 0 100%;
    order: 1;
}

body a.apibara-ws-button::before,
body a.apibara-ws-button::after {
    display: none;
}

body a.apibara-ws-button:hover {
    border-color: var(--apibara-primary, #c71925);
    background: var(--apibara-card-bg, #fff);
    color: var(--apibara-text, #0f172a);
    text-decoration: none;
}

body a.apibara-ws-button:focus-visible {
    outline: 2px solid var(--apibara-primary, #c71925);
    outline-offset: 3px;
}

.apibara-ws-button svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.apibara-ws-standalone {
    width: 100%;
    min-width: 0;
    margin: 14px 0;
}
