/** HCTCLIENT01 BUTTON + CARD BASE V1. */
.hctclient01-ui-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--hctclient01-space-2);
    min-height: 2.75rem;
    padding: 0.7rem 1.25rem;
    border: var(--hctclient01-border-width) solid transparent;
    border-radius: var(--hctclient01-radius-md);
    font: inherit;
    font-size: var(--hctclient01-font-size-md);
    font-weight: var(--hctclient01-font-weight-bold);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform var(--hctclient01-duration-fast) var(--hctclient01-ease),
        box-shadow var(--hctclient01-duration-fast) var(--hctclient01-ease),
        background-color var(--hctclient01-duration-fast) var(--hctclient01-ease),
        border-color var(--hctclient01-duration-fast) var(--hctclient01-ease),
        color var(--hctclient01-duration-fast) var(--hctclient01-ease);
}

.hctclient01-ui-button:hover { transform: translateY(-1px); }
.hctclient01-ui-button:active { transform: translateY(0); }
.hctclient01-ui-button:focus-visible {
    outline: 3px solid var(--hctclient01-color-focus);
    outline-offset: 2px;
}
.hctclient01-ui-button:disabled,
.hctclient01-ui-button[aria-disabled="true"] {
    opacity: var(--hctclient01-opacity-disabled);
    pointer-events: none;
}

.hctclient01-ui-button--primary {
    color: var(--hctclient01-color-surface);
    background: var(--hctclient01-color-primary);
    border-color: var(--hctclient01-color-primary);
    box-shadow: var(--hctclient01-shadow-primary);
}
.hctclient01-ui-button--primary:hover {
    background: var(--hctclient01-color-primary-hover);
    border-color: var(--hctclient01-color-primary-hover);
}
.hctclient01-ui-button--secondary {
    color: var(--hctclient01-color-text);
    background: var(--hctclient01-color-surface);
    border-color: var(--hctclient01-color-border-strong);
    box-shadow: var(--hctclient01-shadow-xs);
}
.hctclient01-ui-button--secondary:hover { background: var(--hctclient01-color-surface-soft); }
.hctclient01-ui-button--outline {
    color: var(--hctclient01-color-primary);
    background: transparent;
    border-color: var(--hctclient01-color-primary);
}
.hctclient01-ui-button--outline:hover {
    color: var(--hctclient01-color-surface);
    background: var(--hctclient01-color-primary);
}
.hctclient01-ui-button--ghost {
    color: var(--hctclient01-color-primary);
    background: transparent;
}
.hctclient01-ui-button--danger {
    color: var(--hctclient01-color-surface);
    background: var(--hctclient01-color-danger);
    border-color: var(--hctclient01-color-danger);
}
.hctclient01-ui-button--pill { border-radius: var(--hctclient01-radius-pill); }
.hctclient01-ui-button--sm { min-height: 2.25rem; padding: 0.5rem 0.9rem; font-size: var(--hctclient01-font-size-sm); }
.hctclient01-ui-button--lg { min-height: 3.25rem; padding: 0.85rem 1.65rem; font-size: var(--hctclient01-font-size-lg); }
.hctclient01-ui-button--block { width: 100%; }
.hctclient01-ui-button--icon { width: 2.75rem; padding-inline: 0; }
.hctclient01-ui-button.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.hctclient01-ui-button.is-loading::after {
    position: absolute;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: var(--hctclient01-radius-circle);
    content: "";
    animation: hctclient01-spin 700ms linear infinite;
}

/*
 * .hctclient01-card lives in core/hctclient01-layout-system.css, not here.
 * This file used to carry a second, conflicting .hctclient01-card definition
 * (BEM __media/__body/__title/__description/__actions + a --interactive
 * modifier) that no live blade template ever referenced — every real card
 * usage (related-items, team-groups, download-list, service-card) uses the
 * plain .hctclient01-card + .hctclient01-card--hover pair from
 * layout-system.css. Removed to avoid two sources of truth for the same
 * class; if a future component needs the BEM sub-parts, add them to
 * layout-system.css next to the base card rule instead of re-splitting here.
 */

@media (max-width: 479px) {
    .hctclient01-ui-button--lg { min-height: 3rem; padding-inline: 1.25rem; }
}
