@theme {
    --color-button-bg: #F3F4F6;
    --color-button-bg-hover: #E5E7EB;
    --color-button-bg-active: #D1D5DB;
    --color-button-bg-active-hover: #D1D5DB;
    --color-button-bg-disabled: #F3F4F6;
    --color-button-border: #D1D5DB;
    --color-button-border-hover: #CBD5E1;
    --color-button-border-active: #94A3B8;
    --color-button-border-active-hover: #94A3B8;
    --color-button-border-disabled: #E5E7EB;
    --color-button-text: #111827;
    --color-button-text-hover: #111827;
    --color-button-text-active: #111827;
    --color-button-text-active-hover: #111827;
    --color-button-text-disabled: #9CA3AF;
}

@utility button-root {
    @apply flex items-center justify-center min-h-[42px] px-[var(--spacing-button-padding-x)] py-[var(--spacing-button-padding-y)] rounded-control border-[var(--border-regular)] border-button-border bg-button-bg hover:bg-button-bg-hover hover:border-button-border-hover active:bg-button-bg-active active:border-button-border-active focus:outline-[var(--border-focus-outline)] focus:outline-control-focus-outline disabled:bg-button-bg-disabled disabled:border-button-border-disabled;
}

@utility button-label {
    @apply text-control text-button-text hover:text-button-text-hover active:text-button-text-active disabled:text-button-text-disabled;
}
